aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-12-05 17:43:10 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-12-05 17:43:10 +0000
commitc1c9fd761c8220bffe0fb801f34966aab80e68aa (patch)
treed26db5f41d749c10f304a253daa0f264562170a5 /setup.py
parentmove the library to a .lib file (diff)
downloadpygensvm-c1c9fd761c8220bffe0fb801f34966aab80e68aa.tar.gz
pygensvm-c1c9fd761c8220bffe0fb801f34966aab80e68aa.zip
change to windows seps
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 9a83c0c..5014570 100644
--- a/setup.py
+++ b/setup.py
@@ -325,17 +325,19 @@ def cibuildwheel_windows():
bits = 64 if sys.maxsize > 2 ** 32 else 32
bitprefix = "x64" if bits == 64 else "win32"
- basepath = "/c/cibw/openblas/OpenBLAS.0.2.14.1/lib/native"
- dllpath = basepath + "/lib/" + bitprefix + "/libopenblas.dll.a"
+ basepath = "C:\\cibw\\openblas\\OpenBLAS.0.2.14.1\\lib\\native"
+ dllpath = basepath + "\\lib\\" + bitprefix + "\\libopenblas.dll.a"
+ print("dllpath: %s" % dllpath)
if os.path.exists(dllpath):
- shutil.move(dllpath, basepath + "/lib/libopenblas.lib")
+ shutil.move(dllpath, basepath + "\\lib\\libopenblas.lib")
+ print(os.listdir(basepath + "\\lib"))
os.environ[
"OPENBLAS"
- ] = "/c/cibw/openblas/OpenBLAS.0.2.14.1/lib/native/lib"
+ ] = "C:\\cibw\\openblas\\OpenBLAS.0.2.14.1\\lib\\native\\lib"
print(os.environ.get("OPENBLAS", "none"))
- for path, dirs, files in os.walk("/c/cibw/openblas"):
+ for path, dirs, files in os.walk("C:\\cibw\\openblas"):
print(path, file=sys.stderr)
for f in files:
print("\t" + f, file=sys.stderr)