From c1c9fd761c8220bffe0fb801f34966aab80e68aa Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 5 Dec 2019 17:43:10 +0000 Subject: change to windows seps --- setup.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'setup.py') 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) -- cgit v1.2.3