From 548335082b13c16e8d488e0da7527a31bbafc29f Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 25 Jun 2022 21:12:56 +0000 Subject: [PATCH] Use AUDITWHEEL_PLAT variable manylinux images set AUDITWHEEL_PLAT variable which is used as a default --plat value by auditwheel. --- python/tests/auditwheels.py | 4 ---- python/tox.ini | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/tests/auditwheels.py b/python/tests/auditwheels.py index ad0d83ff8..1c34ab692 100644 --- a/python/tests/auditwheels.py +++ b/python/tests/auditwheels.py @@ -1,12 +1,10 @@ import os -import platform import subprocess import sys if __name__ == "__main__": assert len(sys.argv) == 2 workspacedir = sys.argv[1] - arch = platform.machine() for relpath in os.listdir(workspacedir): if relpath.startswith("deltachat"): p = os.path.join(workspacedir, relpath) @@ -17,7 +15,5 @@ if __name__ == "__main__": p, "-w", workspacedir, - "--plat", - "manylinux2014_" + arch, ] ) diff --git a/python/tox.ini b/python/tox.ini index 8aa0896c7..abedf90de 100644 --- a/python/tox.ini +++ b/python/tox.ini @@ -28,6 +28,10 @@ deps = [testenv:auditwheels] skipsdist = True deps = auditwheel +passenv = + AUDITWHEEL_ARCH + AUDITWHEEL_PLAT + AUDITWHEEL_POLICY commands = python tests/auditwheels.py {toxworkdir}/wheelhouse