From b3ffb04a2c8dac3deae41bdfda466214f206abdc Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Tue, 16 Jun 2020 15:18:32 +0200 Subject: [PATCH] Fix order of pathlib.Path.symlink_to arguments in windows.py --- cibuildwheel/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 1f87bfa1..c81566d1 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -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