Skip to content

Commit

Permalink
Revert "patch also python 3.5"
Browse files Browse the repository at this point in the history
This reverts commit 0980d5d.
  • Loading branch information
Czaki committed Oct 9, 2020
1 parent 8a69686 commit 5be9658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cibuildwheel/macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def install_cpython(version: str, url: str) -> Path:
open_ssl_patch_url = f'https://github.com/mayeut/patch-macos-python-openssl/releases/download/v1.0.2u/patch-macos-python-{version}-openssl-v1.0.2u.tar.gz'
download(open_ssl_patch_url, Path('/tmp/python-patch.tar.gz'))
call(['sudo', 'tar', '-C', f'/Library/Frameworks/Python.framework/Versions/{version}/', '-xmf', '/tmp/python-patch.tar.gz'])

call(["sudo", str(installation_bin_path/python_executable), str(install_certifi_script)])
else:
call(["sudo", str(installation_bin_path/python_executable), str(install_certifi_script)])

pip_executable = 'pip3' if version[0] == '3' else 'pip'
make_symlinks(installation_bin_path, python_executable, pip_executable)
Expand Down

0 comments on commit 5be9658

Please sign in to comment.