diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2021-10-01 22:18:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-01 22:18:58 -0400 |
| commit | 8519d4e5cee54885761200a4b90204944d3ef729 (patch) | |
| tree | b732118327315197a47164fa6ce075654ddc6f9d /setuptools/command | |
| parent | baaf8cdac81aa19db922c06a8f43bedf2c23c8d0 (diff) | |
| parent | cbbdb86c35e011ef46da6a45535683905aa857be (diff) | |
| download | python-setuptools-git-8519d4e5cee54885761200a4b90204944d3ef729.tar.gz | |
Merge pull request #2758 from nsait-linaro/win_arm64_launchers
Fixes 2757: Add win/arm64 launchers to create arm64 executables
Diffstat (limited to 'setuptools/command')
| -rw-r--r-- | setuptools/command/easy_install.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 5e0f97cf..b88c3e9a 100644 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -2263,7 +2263,10 @@ def get_win_launcher(type): """ launcher_fn = '%s.exe' % type if is_64bit(): - launcher_fn = launcher_fn.replace(".", "-64.") + if get_platform() == "win-arm64": + launcher_fn = launcher_fn.replace(".", "-arm64.") + else: + launcher_fn = launcher_fn.replace(".", "-64.") else: launcher_fn = launcher_fn.replace(".", "-32.") return resource_string('setuptools', launcher_fn) |
