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

Method get_config_output

numpy/distutils/system_info.py:2971–2979  ·  view source on GitHub ↗
(self, config_exe, option)

Source from the content-addressed store, hash-verified

2969 return self.default_config_exe
2970
2971 def get_config_output(self, config_exe, option):
2972 cmd = config_exe + ' ' + self.append_config_exe + ' ' + option
2973 try:
2974 o = subprocess.check_output(cmd)
2975 except (OSError, subprocess.CalledProcessError):
2976 pass
2977 else:
2978 o = filepath_from_subprocess_output(o)
2979 return o
2980
2981 def calc_info(self):
2982 config_exe = find_executable(self.get_config_exe())

Callers 1

calc_infoMethod · 0.95

Calls 2

check_outputMethod · 0.45

Tested by

no test coverage detected