summaryrefslogtreecommitdiffstats
path: root/Lib/sysconfig.py
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-04-25 18:36:45 (GMT)
committerSteve Dower <steve.dower@python.org>2019-04-25 18:36:45 (GMT)
commit62dfd7d6fe11bfa0cd1d7376382c8e7b1275e38c (patch)
treef59fcebb25702acbde504865f1a483ab7ac80954 /Lib/sysconfig.py
parent8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b (diff)
downloadcpython-62dfd7d6fe11bfa0cd1d7376382c8e7b1275e38c.zip
cpython-62dfd7d6fe11bfa0cd1d7376382c8e7b1275e38c.tar.gz
cpython-62dfd7d6fe11bfa0cd1d7376382c8e7b1275e38c.tar.bz2
bpo-35920: Windows 10 ARM32 platform support (GH-11774)
Diffstat (limited to 'Lib/sysconfig.py')
-rw-r--r--Lib/sysconfig.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index cc8c796..8446c8d 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -626,6 +626,8 @@ def get_platform():
if os.name == 'nt':
if 'amd64' in sys.version.lower():
return 'win-amd64'
+ if '(arm)' in sys.version.lower():
+ return 'win-arm32'
return sys.platform
if os.name != "posix" or not hasattr(os, 'uname'):