aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-06 22:45:05 -0500
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-06 22:45:05 -0500
commitf57e6f8a95597b5ef00b1d09522811cf19ca50e7 (patch)
tree9a69f23e741fef914059e261af17085107a9aacd /setup.py
parentRemove SciPy dependency (diff)
downloadpygensvm-f57e6f8a95597b5ef00b1d09522811cf19ca50e7.tar.gz
pygensvm-f57e6f8a95597b5ef00b1d09522811cf19ca50e7.zip
Throw a warning on detecting lapack dependency
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 407cf24..e82cfdb 100644
--- a/setup.py
+++ b/setup.py
@@ -101,7 +101,8 @@ def get_lapack_info():
lapack_info = get_info("lapack_opt", 0)
if (not lapack_info) or atlas_not_found(lapack_info):
- lapack_libs = ["lapacke"]
+ print("Warning: Found no lapack info, using 'lapack' guess")
+ lapack_libs = ["lapack"]
lapack_info.pop("libraries", None)
else:
lapack_libs = lapack_info.pop("libraries", [])
@@ -120,7 +121,7 @@ def configuration():
lapack_libs, lapack_info = get_lapack_info()
if os.name == "posix":
- lapack_libs.append("m") # unsure if necessary
+ lapack_libs.append("m") # unsure if necessary
# Wrapper code in Cython uses the .pyx extension if we want to USE_CYTHON,
# otherwise it ends in .c.