Skip to content

Commit 16b70b8

Browse files
authored
Copy the Python 3.13t executable to the canonical name instead of renaming (#406)
1 parent a53a38b commit 16b70b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-windows/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ def build_cpython(
15331533
# free-threading is enabled the name is `python3.13t.exe`.
15341534
canonical_python_exe = install_dir / "python.exe"
15351535
if not canonical_python_exe.exists():
1536-
os.rename(
1536+
shutil.copy2(
15371537
install_dir / python_exe,
15381538
canonical_python_exe,
15391539
)

0 commit comments

Comments
 (0)