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

Method get_paths

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

Source from the content-addressed store, hash-verified

2663 notfounderror = BlasSrcNotFoundError
2664
2665 def get_paths(self, section, key):
2666 pre_dirs = system_info.get_paths(self, section, key)
2667 dirs = []
2668 for d in pre_dirs:
2669 dirs.extend([d] + self.combine_paths(d, ['blas']))
2670 return [d for d in dirs if os.path.isdir(d)]
2671
2672 def calc_info(self):
2673 src_dirs = self.get_src_dirs()

Callers

nothing calls this directly

Calls 2

combine_pathsMethod · 0.80
get_pathsMethod · 0.45

Tested by

no test coverage detected