From 743051a4530f4c414c2e497937877c5fc021653b Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Sun, 10 Nov 2019 21:56:34 +0100 Subject: [PATCH] Using C:\cibw as base folder for PyPy installation (cfr. #197) --- cibuildwheel/windows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 01e1a8a2..d1f90281 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -24,7 +24,7 @@ def get_python_path(config): elif config.identifier.startswith('pp'): # Inside the PyPy zip file is a directory with the same name filename = config.url.rsplit('/', 1)[-1] - return os.path.join("C:\\PyPy", os.path.splitext(filename)[0]) + return os.path.join("C:\\cibw", os.path.splitext(filename)[0]) def get_nuget_args(configuration): @@ -104,7 +104,7 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef if config.identifier.startswith('cp'): simple_shell([nuget, "install"] + get_nuget_args(config)) elif config.identifier.startswith('pp') and not os.path.exists(config_python_path): - pypy_zip = config.url.rsplit('/', 1)[-1] + pypy_zip = os.path.join("C:\\cibw", config.url.rsplit('/', 1)[-1]) download(config.url, pypy_zip) # Extract to the parent of config_python_path because the zip file still contains a directory extract_zip(pypy_zip, os.path.dirname(config_python_path))