Coverage for /home/martinb/.local/share/virtualenvs/camcops/lib/python3.6/site-packages/scipy/__config__.py : 50%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# This file is generated by numpy's setup.py
2# It contains system_info results at the time of building this package.
3__all__ = ["get_info","show"]
6import os
7import sys
9extra_dll_dir = os.path.join(os.path.dirname(__file__), '.libs')
10if sys.platform == 'win32' and os.path.isdir(extra_dll_dir):
11 os.environ.setdefault('PATH', '')
12 os.environ['PATH'] += os.pathsep + extra_dll_dir
13lapack_mkl_info={}
14openblas_lapack_info={'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/local/lib'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}
15lapack_opt_info={'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/local/lib'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}
16blas_mkl_info={}
17blis_info={}
18openblas_info={'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/local/lib'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}
19blas_opt_info={'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/local/lib'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}
21def get_info(name):
22 g = globals()
23 return g.get(name, g.get(name + "_info", {}))
25def show():
26 for name,info_dict in globals().items():
27 if name[0] == "_" or type(info_dict) is not type({}): continue
28 print(name + ":")
29 if not info_dict:
30 print(" NOT AVAILABLE")
31 for k,v in info_dict.items():
32 v = str(v)
33 if k == "sources" and len(v) > 200:
34 v = v[:60] + " ...\n... " + v[-60:]
35 print(" %s = %s" % (k,v))