Skip to content

Commit 9487d9c

Browse files
authored
Merge pull request #2725 from zooba/arm64
Fixes #2724 Adds detection of Windows ARM64 build environments
2 parents 3897417 + c79a038 commit 9487d9c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.d/2724.change.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added detection of Windows ARM64 build environments using the ``VSCMD_ARG_TGT_ARCH`` environment variable.

setuptools/_distutils/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def get_platform():
103103
'x86' : 'win32',
104104
'x64' : 'win-amd64',
105105
'arm' : 'win-arm32',
106+
'arm64': 'win-arm64',
106107
}
107108
return TARGET_TO_PLAT.get(os.environ.get('VSCMD_ARG_TGT_ARCH')) or get_host_platform()
108109
else:

0 commit comments

Comments
 (0)