Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python3.exe symlink on windows builds. #917

Merged
merged 6 commits into from Nov 14, 2021
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions cibuildwheel/windows.py
Expand Up @@ -97,6 +97,9 @@ def install_cpython(version: str, arch: str, nuget: Path) -> Path:
nuget_args = get_nuget_args(version, arch)
installation_path = Path(nuget_args[-1]) / (nuget_args[0] + "." + version) / "tools"
call([nuget, "install", *nuget_args])
if not (installation_path / "python3.exe").exists():
# create python3.exe symlink, if not exists
sbrodehl marked this conversation as resolved.
Show resolved Hide resolved
(installation_path / "python3.exe").symlink_to(installation_path / "python.exe")
return installation_path


Expand Down