diff --git a/python/tests/auditwheels.py b/python/tests/auditwheels.py deleted file mode 100644 index a56ca5821..000000000 --- a/python/tests/auditwheels.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import subprocess -import sys - -if __name__ == "__main__": - assert len(sys.argv) == 2 - workspacedir = sys.argv[1] - for relpath in os.listdir(workspacedir): - if relpath.startswith("deltachat"): - p = os.path.join(workspacedir, relpath) - subprocess.check_call( - [ - "auditwheel", - "repair", - p, - "-w", - workspacedir, - ], - ) diff --git a/python/tox.ini b/python/tox.ini index 24360b404..a89b2c618 100644 --- a/python/tox.ini +++ b/python/tox.ini @@ -34,18 +34,6 @@ passenv = CARGO_TARGET_DIR RUSTC_WRAPPER -[testenv:auditwheels] -skipsdist = True -deps = auditwheel -passenv = - DCC_RS_DEV - DCC_RS_TARGET - AUDITWHEEL_ARCH - AUDITWHEEL_PLAT - AUDITWHEEL_POLICY -commands = - python tests/auditwheels.py {toxworkdir}/wheelhouse - [testenv:lint] skipsdist = True skip_install = True diff --git a/scripts/run_all.sh b/scripts/run_all.sh index 7b08f0c9a..fbceb77a3 100755 --- a/scripts/run_all.sh +++ b/scripts/run_all.sh @@ -31,7 +31,9 @@ unset DCC_NEW_TMP_EMAIL # Try to build wheels for a range of interpreters, but don't fail if they are not available. # E.g. musllinux_1_1 does not have PyPy interpreters as of 2022-07-10 -tox --workdir "$TOXWORKDIR" -e py37,py38,py39,py310,py311,pypy37,pypy38,pypy39,auditwheels --skip-missing-interpreters true +tox --workdir "$TOXWORKDIR" -e py37,py38,py39,py310,py311,pypy37,pypy38,pypy39 --skip-missing-interpreters true + +auditwheel repair "$TOXWORKDIR/wheelhouse/deltachat*" -w "$TOXWORKDIR/wheelhouse" echo -----------------------