Skip to content

Commit

Permalink
linux arm64: use pep600 architecture name for platform tag
Browse files Browse the repository at this point in the history
  • Loading branch information
aoirint committed Oct 23, 2023
1 parent 4b82661 commit c8912c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c8912c5

Please sign in to comment.