diff options
author | Niyas Sait <niyas.sait@linaro.org> | 2021-08-26 16:31:25 +0100 |
---|---|---|
committer | Niyas Sait <niyas.sait@linaro.org> | 2021-08-26 16:31:28 +0100 |
commit | 07cd207d2ddf6be23eb0deecfd890aefe8cb3f10 (patch) | |
tree | a5c9c5af4e62ff732853eb9fb113fbb135ffa726 /setuptools/command/easy_install.py | |
parent | 1f338739b86d1cc09de05e24679b60796177398a (diff) | |
download | python-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.py | 2 |
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.") |