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

Method get_config_cmd

numpy/distutils/misc_util.py:1809–1821  ·  view source on GitHub ↗

Returns the numpy.distutils config command instance.

(self)

Source from the content-addressed store, hash-verified

1807 return s
1808
1809 def get_config_cmd(self):
1810 """
1811 Returns the numpy.distutils config command instance.
1812 """
1813 cmd = get_cmd('config')
1814 cmd.ensure_finalized()
1815 cmd.dump_source = 0
1816 cmd.noisy = 0
1817 old_path = os.environ.get('PATH')
1818 if old_path:
1819 path = os.pathsep.join(['.', old_path])
1820 os.environ['PATH'] = path
1821 return cmd
1822
1823 def get_build_temp_dir(self):
1824 """

Callers 6

have_f77cMethod · 0.95
have_f90cMethod · 0.95
generate_librariesFunction · 0.80
generate_config_hFunction · 0.80
generate_numpyconfig_hFunction · 0.80
get_mathlib_infoFunction · 0.80

Calls 3

get_cmdFunction · 0.85
getMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected