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

Method check_libs2

numpy/distutils/system_info.py:1003–1015  ·  view source on GitHub ↗

If static or shared libraries are available then return their info dictionary. Checks each library for shared or static.

(self, lib_dirs, libs, opt_libs=[])

Source from the content-addressed store, hash-verified

1001 return info
1002
1003 def check_libs2(self, lib_dirs, libs, opt_libs=[]):
1004 """If static or shared libraries are available then return
1005 their info dictionary.
1006
1007 Checks each library for shared or static.
1008 """
1009 exts = self.library_extensions()
1010 info = self._check_libs(lib_dirs, libs, opt_libs, exts)
1011 if not info:
1012 log.info(' libraries %s not found in %s', ','.join(libs),
1013 lib_dirs)
1014
1015 return info
1016
1017 def _find_lib(self, lib_dir, lib, exts):
1018 assert is_string(lib_dir)

Callers 8

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

library_extensionsMethod · 0.95
_check_libsMethod · 0.95
infoMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected