aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-12-04 16:49:21 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-12-04 16:49:21 +0000
commitab2b483bf080519dc599b7fa1655aa1fca77d1da (patch)
tree31f16de3efea26aa663355fde663329602082b5d
parentDebugging numpy get info (diff)
downloadpygensvm-ab2b483bf080519dc599b7fa1655aa1fca77d1da.tar.gz
pygensvm-ab2b483bf080519dc599b7fa1655aa1fca77d1da.zip
Debug if environment variables are present
-rw-r--r--setup.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 3b28068..d31adba 100644
--- a/setup.py
+++ b/setup.py
@@ -113,6 +113,10 @@ def _skl_get_blas_info():
blas_info = get_info("blas_opt", 0)
print("\n\n*** blas_info: \n%r\n\n ***\n\n" % blas_info)
+ print(
+ "\n\n*** os.environ.get('BLAS') = %r ***\n\n"
+ % (os.environ.get("BLAS", None))
+ )
if (not blas_info) or atlas_not_found(blas_info):
cblas_libs = ["cblas"]
blas_info.pop("libraries", None)
@@ -145,6 +149,10 @@ def get_lapack_info():
lapack_info = get_info("lapack_opt", 0)
print("\n\n*** lapack_info: \n%r\n\n ***\n\n" % lapack_info)
+ print(
+ "\n\n*** os.environ.get('LAPACK') = %r ***\n\n"
+ % (os.environ.get("LAPACK", None))
+ )
if (not lapack_info) or atlas_not_found(lapack_info):
# This is a guess, but seems to work in practice. Need more systems to
# test this fully.