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

Function configuration

setup.py:111–126  ·  view source on GitHub ↗
(parent_package='', top_path=None)

Source from the content-addressed store, hash-verified

109"""
110
111def configuration(parent_package='', top_path=None):
112 from numpy.distutils.misc_util import Configuration
113
114 config = Configuration(None, parent_package, top_path)
115 config.set_options(ignore_setup_xxx_py=True,
116 assume_default_configuration=True,
117 delegate_options_to_subpackages=True,
118 quiet=True)
119
120 config.add_subpackage('numpy')
121 config.add_data_files(('numpy', 'LICENSE.txt'))
122 config.add_data_files(('numpy', 'numpy/*.pxd'))
123
124 config.get_version('numpy/version.py') # sets config.version
125
126 return config
127
128
129def check_submodules():

Callers

nothing calls this directly

Calls 5

set_optionsMethod · 0.95
add_subpackageMethod · 0.95
add_data_filesMethod · 0.95
get_versionMethod · 0.95
ConfigurationClass · 0.90

Tested by

no test coverage detected