__config__.py 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. # This file is generated by C:\projects\scipy-wheels\scipy\setup.py
  2. # It contains system_info results at the time of building this package.
  3. __all__ = ["get_info","show"]
  4. import os
  5. extra_dll_dir = os.path.join(os.path.dirname(__file__), 'extra-dll')
  6. if os.path.isdir(extra_dll_dir):
  7. os.environ["PATH"] += os.pathsep + extra_dll_dir
  8. lapack_opt_info={'libraries': ['openblas'], 'library_dirs': ['C:\\projects\\scipy-wheels\\scipy\\build\\openblas'], 'language': 'f77', 'define_macros': [('HAVE_CBLAS', None)]}
  9. blas_opt_info={'libraries': ['openblas'], 'library_dirs': ['C:\\projects\\scipy-wheels\\scipy\\build\\openblas'], 'language': 'f77', 'define_macros': [('HAVE_CBLAS', None)]}
  10. blis_info={}
  11. openblas_info={'libraries': ['openblas'], 'library_dirs': ['C:\\projects\\scipy-wheels\\scipy\\build\\openblas'], 'language': 'f77', 'define_macros': [('HAVE_CBLAS', None)]}
  12. openblas_lapack_info={'libraries': ['openblas'], 'library_dirs': ['C:\\projects\\scipy-wheels\\scipy\\build\\openblas'], 'language': 'f77', 'define_macros': [('HAVE_CBLAS', None)]}
  13. lapack_mkl_info={}
  14. blas_mkl_info={}
  15. def get_info(name):
  16. g = globals()
  17. return g.get(name, g.get(name + "_info", {}))
  18. def show():
  19. for name,info_dict in globals().items():
  20. if name[0] == "_" or type(info_dict) is not type({}): continue
  21. print(name + ":")
  22. if not info_dict:
  23. print(" NOT AVAILABLE")
  24. for k,v in info_dict.items():
  25. v = str(v)
  26. if k == "sources" and len(v) > 200:
  27. v = v[:60] + " ...\n... " + v[-60:]
  28. print(" %s = %s" % (k,v))