MCPcopy Create free account
hub / github.com/numpy/numpy / set_options

Method set_options

numpy/distutils/misc_util.py:892–907  ·  view source on GitHub ↗

Configure Configuration instance. The following options are available: - ignore_setup_xxx_py - assume_default_configuration - delegate_options_to_subpackages - quiet

(self, **options)

Source from the content-addressed store, hash-verified

890 sys.stderr.write('Warning: %s\n' % (message,))
891
892 def set_options(self, **options):
893 """
894 Configure Configuration instance.
895
896 The following options are available:
897 - ignore_setup_xxx_py
898 - assume_default_configuration
899 - delegate_options_to_subpackages
900 - quiet
901
902 """
903 for key, value in options.items():
904 if key in self.options:
905 self.options[key] = value
906 else:
907 raise ValueError('Unknown option: '+key)
908
909 def get_distribution(self):
910 """Return the distutils distribution object for self."""

Callers 2

configurationFunction · 0.95
__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected