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

Method get_libs

numpy/distutils/system_info.py:950–959  ·  view source on GitHub ↗
(self, key, default)

Source from the content-addressed store, hash-verified

948 return self.get_paths(self.section, key)
949
950 def get_libs(self, key, default):
951 try:
952 libs = self.cp.get(self.section, key)
953 except NoOptionError:
954 if not default:
955 return []
956 if is_string(default):
957 return [default]
958 return default
959 return [b for b in [a.strip() for a in libs.split(',')] if b]
960
961 def get_libraries(self, key='libraries'):
962 if hasattr(self, '_lib_names'):

Callers 15

get_librariesMethod · 0.95
calc_ver_infoMethod · 0.80
calc_infoMethod · 0.80
calc_infoMethod · 0.80
calc_infoMethod · 0.80
calc_infoMethod · 0.80
calc_infoMethod · 0.80
calc_infoMethod · 0.80
calc_infoMethod · 0.80
calc_infoMethod · 0.80
_calc_infoMethod · 0.80
calc_infoMethod · 0.80

Calls 4

is_stringFunction · 0.90
stripMethod · 0.80
getMethod · 0.45
splitMethod · 0.45

Tested by 1