diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2021-07-14 22:09:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-14 22:09:17 -0400 |
| commit | 9487d9c473d1838c2f688919a7bb55eb8b79be4a (patch) | |
| tree | fce0c6aceb2030532ce7adff21191a154df95e8f | |
| parent | 38974172d0ff7ead2a2b212c92f303438bcdf1a2 (diff) | |
| parent | c79a038c235ea2376043ab4a70dfb18e58332c23 (diff) | |
| download | python-setuptools-git-9487d9c473d1838c2f688919a7bb55eb8b79be4a.tar.gz | |
Merge pull request #2725 from zooba/arm64
Fixes #2724 Adds detection of Windows ARM64 build environments
| -rw-r--r-- | changelog.d/2724.change.rst | 1 | ||||
| -rw-r--r-- | setuptools/_distutils/util.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/2724.change.rst b/changelog.d/2724.change.rst new file mode 100644 index 00000000..edbd2886 --- /dev/null +++ b/changelog.d/2724.change.rst @@ -0,0 +1 @@ +Added detection of Windows ARM64 build environments using the ``VSCMD_ARG_TGT_ARCH`` environment variable.
\ No newline at end of file diff --git a/setuptools/_distutils/util.py b/setuptools/_distutils/util.py index 76657d2e..4232fd21 100644 --- a/setuptools/_distutils/util.py +++ b/setuptools/_distutils/util.py @@ -103,6 +103,7 @@ def get_platform(): 'x86' : 'win32', 'x64' : 'win-amd64', 'arm' : 'win-arm32', + 'arm64': 'win-arm64', } return TARGET_TO_PLAT.get(os.environ.get('VSCMD_ARG_TGT_ARCH')) or get_host_platform() else: |
