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

Method get_paths

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

Source from the content-addressed store, hash-verified

2916 dir_env_var = 'AGG2'
2917
2918 def get_paths(self, section, key):
2919 pre_dirs = system_info.get_paths(self, section, key)
2920 dirs = []
2921 for d in pre_dirs:
2922 dirs.extend([d] + self.combine_paths(d, ['agg2*']))
2923 return [d for d in dirs if os.path.isdir(d)]
2924
2925 def calc_info(self):
2926 src_dirs = self.get_src_dirs()

Callers 5

get_pathsMethod · 0.45
get_pathsMethod · 0.45
get_pathsMethod · 0.45
get_pathsMethod · 0.45
get_pathsMethod · 0.45

Calls 1

combine_pathsMethod · 0.80

Tested by

no test coverage detected