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

Method get_paths

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

Source from the content-addressed store, hash-verified

1653 notfounderror = LapackSrcNotFoundError
1654
1655 def get_paths(self, section, key):
1656 pre_dirs = system_info.get_paths(self, section, key)
1657 dirs = []
1658 for d in pre_dirs:
1659 dirs.extend([d] + self.combine_paths(d, ['LAPACK*/SRC', 'SRC']))
1660 return [d for d in dirs if os.path.isdir(d)]
1661
1662 def calc_info(self):
1663 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