From c8912c5c134878b76012e66714040b1b101c08dc Mon Sep 17 00:00:00 2001 From: aoirint Date: Mon, 23 Oct 2023 11:51:12 +0900 Subject: [PATCH] linux arm64: use pep600 architecture name for platform tag --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9cdcf42..acac4ef 100644 --- a/setup.py +++ b/setup.py @@ -79,7 +79,12 @@ def get_tag(self): oses = 'win_amd64' elif platform == 'linux': # using the centos:7 runner with glibc2.17: - oses = 'manylinux_2_17_{}'.format(architecture0) + if architecture0 == 'arm64': + pep600_architecture = 'aarch64' + else: + pep600_architecture = architecture0 + + oses = 'manylinux_2_17_{}'.format(pep600_architecture) else: pythons = 'py2.py3' oses = 'any'