We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4345aa4 commit 64c10b9Copy full SHA for 64c10b9
1 file changed
setuptools/command/easy_install.py
@@ -27,6 +27,7 @@
27
import shutil
28
import tempfile
29
import zipfile
30
+import platform
31
import re
32
import stat
33
import random
@@ -2236,7 +2237,9 @@ def get_win_launcher(type):
2236
2237
Returns the executable as a byte string.
2238
"""
2239
launcher_fn = '%s.exe' % type
- if is_64bit():
2240
+ if platform.machine().lower() == 'arm64':
2241
+ launcher_fn = launcher_fn.replace(".", "-arm64.")
2242
+ elif is_64bit():
2243
launcher_fn = launcher_fn.replace(".", "-64.")
2244
else:
2245
launcher_fn = launcher_fn.replace(".", "-32.")
0 commit comments