Skip to content

Commit 64c10b9

Browse files
committed
Create arm x64 binaries
1 parent 4345aa4 commit 64c10b9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

setuptools/command/easy_install.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import shutil
2828
import tempfile
2929
import zipfile
30+
import platform
3031
import re
3132
import stat
3233
import random
@@ -2236,7 +2237,9 @@ def get_win_launcher(type):
22362237
Returns the executable as a byte string.
22372238
"""
22382239
launcher_fn = '%s.exe' % type
2239-
if is_64bit():
2240+
if platform.machine().lower() == 'arm64':
2241+
launcher_fn = launcher_fn.replace(".", "-arm64.")
2242+
elif is_64bit():
22402243
launcher_fn = launcher_fn.replace(".", "-64.")
22412244
else:
22422245
launcher_fn = launcher_fn.replace(".", "-32.")

0 commit comments

Comments
 (0)