Skip to content

Commit

Permalink
Using C:\cibw as base folder for PyPy installation (cfr. pypa#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickJadoul committed Feb 15, 2020
1 parent 129cf60 commit 743051a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cibuildwheel/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -104,7 +104,7 @@ def shell(args, env=None, cwd=None):
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))
Expand Down

0 comments on commit 743051a

Please sign in to comment.