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

Method get_paths

numpy/distutils/system_info.py:1228–1233  ·  view source on GitHub ↗
(self, section, key)

Source from the content-addressed store, hash-verified

1226 notfounderror = DJBFFTNotFoundError
1227
1228 def get_paths(self, section, key):
1229 pre_dirs = system_info.get_paths(self, section, key)
1230 dirs = []
1231 for d in pre_dirs:
1232 dirs.extend(self.combine_paths(d, ['djbfft']) + [d])
1233 return [d for d in dirs if os.path.isdir(d)]
1234
1235 def calc_info(self):
1236 lib_dirs = self.get_lib_dirs()

Callers

nothing calls this directly

Calls 2

combine_pathsMethod · 0.80
get_pathsMethod · 0.45

Tested by

no test coverage detected