python: use locally installed auditwheel

`auditwheel` is a part of manylinux images,
there is no need to create a virtual environment
and install it again.
This commit is contained in:
link2xt
2023-03-18 20:57:09 +00:00
parent fcc1fe73be
commit 635c73ffc6
3 changed files with 3 additions and 32 deletions

View File

@@ -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,
],
)