diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-12-05 17:43:10 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-12-05 17:43:10 +0000 |
| commit | c1c9fd761c8220bffe0fb801f34966aab80e68aa (patch) | |
| tree | d26db5f41d749c10f304a253daa0f264562170a5 /setup.py | |
| parent | move the library to a .lib file (diff) | |
| download | pygensvm-c1c9fd761c8220bffe0fb801f34966aab80e68aa.tar.gz pygensvm-c1c9fd761c8220bffe0fb801f34966aab80e68aa.zip | |
change to windows seps
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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) |
