summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/util.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-12 17:44:29 (GMT)
committerGitHub <noreply@github.com>2019-06-12 17:44:29 (GMT)
commitbb3e8a68b2554b2bd94cf0cd9a0311f4561c1a25 (patch)
tree2bba58c0f52c6fa279307666c5cbd7dac4113907 /Lib/distutils/util.py
parentc9ca96dd968176580a011e852066c95a48aab7e0 (diff)
downloadcpython-bb3e8a68b2554b2bd94cf0cd9a0311f4561c1a25.zip
cpython-bb3e8a68b2554b2bd94cf0cd9a0311f4561c1a25.tar.gz
cpython-bb3e8a68b2554b2bd94cf0cd9a0311f4561c1a25.tar.bz2
bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)
(cherry picked from commit daf62627518ad97ce66a48c49496aa0573cf0731) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r--Lib/distutils/util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index 50550e1..17a94bc 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -40,6 +40,8 @@ def get_host_platform():
return 'win-amd64'
if '(arm)' in sys.version.lower():
return 'win-arm32'
+ if '(arm64)' in sys.version.lower():
+ return 'win-arm64'
return sys.platform
# Set for cross builds explicitly