summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorNiyas Sait <niyas.sait@linaro.org>2021-08-26 16:31:25 +0100
committerNiyas Sait <niyas.sait@linaro.org>2021-08-26 16:31:28 +0100
commit07cd207d2ddf6be23eb0deecfd890aefe8cb3f10 (patch)
treea5c9c5af4e62ff732853eb9fb113fbb135ffa726 /setuptools/command/easy_install.py
parent1f338739b86d1cc09de05e24679b60796177398a (diff)
downloadpython-setuptools-git-07cd207d2ddf6be23eb0deecfd890aefe8cb3f10.tar.gz
use distutils.util.get_platform to find the target platform
This will be required to support cross compilation
Diffstat (limited to 'setuptools/command/easy_install.py')
-rw-r--r--setuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index bd2f6235..8333e94a 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -2264,7 +2264,7 @@ def get_win_launcher(type):
"""
launcher_fn = '%s.exe' % type
if is_64bit():
- if platform.machine() == "ARM64":
+ if get_platform() == "win-arm64":
launcher_fn = launcher_fn.replace(".", "-arm64.")
else:
launcher_fn = launcher_fn.replace(".", "-64.")