Skip to content

Commit

Permalink
Merge pull request #506 from Czaki/macos_patch_fix
Browse files Browse the repository at this point in the history
Macos patch fix
  • Loading branch information
joerick authored Jan 2, 2021
2 parents 5c69559 + 122a0e6 commit 0b5ac86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cibuildwheel/macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def install_pypy(version: str, url: str) -> Path:
# Patch PyPy to make sure headers get installed into a venv
patch_version = '_27' if version == '2.7' else ''
patch_path = Path(__file__).absolute().parent / 'resources' / f'pypy_venv{patch_version}.patch'
call(['patch', '--force', '-d', installation_path, patch_path])
call(['patch', '--force', '-p1', '-d', installation_path, '-i', patch_path])

installation_bin_path = installation_path / 'bin'
python_executable = 'pypy3' if version[0] == '3' else 'pypy'
Expand Down

0 comments on commit 0b5ac86

Please sign in to comment.