aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatej Urbas <matej.urbas@gmail.com>2021-03-07 13:52:57 +0000
committerGitHub <noreply@github.com>2021-03-07 21:52:57 +0800
commit310e37330c3acf1184847df6892612216f3300b2 (patch)
treee1a91bf36cdccb870a210c199fa13f466accf404
parent8984920722733400e93f695a0c37a80158341103 (diff)
downloadcapstone-310e37330c3acf1184847df6892612216f3300b2.tar.gz
add support for aarch64 distributions (#1720)
-rwxr-xr-xbindings/python/setup.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bindings/python/setup.py b/bindings/python/setup.py
index 103e4637..9d0b06af 100755
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -199,10 +199,11 @@ if 'bdist_wheel' in sys.argv and '--plat-name' not in sys.argv:
name = get_platform()
if 'linux' in name:
# linux_* platform tags are disallowed because the python ecosystem is fubar
- # linux builds should be built in the centos 5 vm for maximum compatibility
+ # linux builds should be built in the centos 6 vm for maximum compatibility
# see https://github.com/pypa/manylinux
- # see also https://github.com/angr/angr-dev/blob/master/bdist.sh
- sys.argv.insert(idx + 1, 'manylinux1_' + platform.machine())
+ # see also https://github.com/angr/angr-dev/blob/master/bdist.sh and
+ # https://www.python.org/dev/peps/pep-0599/
+ sys.argv.insert(idx + 1, 'manylinux2014_' + platform.machine())
else:
# https://www.python.org/dev/peps/pep-0425/
sys.argv.insert(idx + 1, name.replace('.', '_').replace('-', '_'))