Fix order of pathlib.Path.symlink_to arguments in windows.py

This commit is contained in:
Yannick Jadoul
2020-06-18 00:23:25 +02:00
parent c53e7824a7
commit b3ffb04a2c
+1 -1
View File
@@ -96,7 +96,7 @@ def install_pypy(version: str, arch: str, url: str) -> Path:
# Extract to the parent directory because the zip file still contains a directory
extract_zip(pypy_zip, installation_path.parent)
pypy_exe = 'pypy3.exe' if version[0] == '3' else 'pypy.exe'
(installation_path / pypy_exe).symlink_to(installation_path / 'python.exe')
(installation_path / 'python.exe').symlink_to(installation_path / pypy_exe)
return installation_path