From eaec560618a4442cfa459c06aa3d5cdc36391bbe Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 19 Sep 2024 15:52:02 +0200 Subject: [PATCH] Remove unused autitwheel code --- tests/build_pip.sh | 3 --- tests/fix_auditwheel_policy.py | 26 -------------------------- 2 files changed, 29 deletions(-) delete mode 100644 tests/fix_auditwheel_policy.py diff --git a/tests/build_pip.sh b/tests/build_pip.sh index 76ab8ffd..b7e101ea 100755 --- a/tests/build_pip.sh +++ b/tests/build_pip.sh @@ -17,8 +17,6 @@ mv /opt/mpich/usr/lib/x86_64-linux-gnu/mpich/include /opt/mpich/include rm -rf wheelhouse export NETGEN_CCACHE=1 -/opt/python/cp39-cp39/bin/python tests/fix_auditwheel_policy.py - for pyversion in 313 312 311 310 39 38 do export PYDIR="/opt/python/cp${pyversion}-cp${pyversion}/bin" @@ -31,7 +29,6 @@ do rm -rf _skbuild NETGEN_ARCH=avx2 $PYDIR/pip wheel . mkdir -p wheelhouse - #auditwheel repair netgen_mesher*-cp${pyversion}-*.whl rename linux_x86_64 manylinux_2_17_x86_64.manylinux2014_x86_64 netgen_mesher*-cp${pyversion}-*.whl mv netgen_mesher*-cp${pyversion}-*.whl wheelhouse/ diff --git a/tests/fix_auditwheel_policy.py b/tests/fix_auditwheel_policy.py deleted file mode 100644 index 1b0329f9..00000000 --- a/tests/fix_auditwheel_policy.py +++ /dev/null @@ -1,26 +0,0 @@ -import json - -policy_file = "/opt/_internal/pipx/venvs/auditwheel/lib/python3.10/site-packages/auditwheel/policy/manylinux-policy.json" -data = json.load(open(policy_file)) -additional_libs = [ - "libbz2.so.1.0.6", - "libfontconfig.so.1.11.1", - "libfreetype.so.6.14.0", - "libGLU.so.1.3.1", - "libpng15.so.15.13.0", - "libtcl8.so", - "libtk8.so", - "libuuid.so.1.3.0", - "libz.so.1.2.7", - "libXmu.so.6", - "libOpenGL.so.0", - "libGLdispatch.so.0", - "libGLX.so.0", - "libGLU.so.1", - ] - -for entry in data: - if 'manylinux' in entry['name']: - entry['lib_whitelist'] += additional_libs - -json.dump(data, open(policy_file, 'w'))