From 22fd085f672a1074d4b7ab49a89242325b90ff18 Mon Sep 17 00:00:00 2001 From: Joel Moriana Date: Thu, 16 May 2024 10:28:36 +0200 Subject: [PATCH] avoid using python system version to audit wheel --- Util/BuildTools/BuildPythonAPI.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Util/BuildTools/BuildPythonAPI.sh b/Util/BuildTools/BuildPythonAPI.sh index 8a46145de..f5bbb5c61 100755 --- a/Util/BuildTools/BuildPythonAPI.sh +++ b/Util/BuildTools/BuildPythonAPI.sh @@ -105,7 +105,7 @@ if ${BUILD_PYTHONAPI} ; then cp dist/.tmp/$(ls dist/.tmp | grep .whl) dist else /usr/bin/env python${PY_VERSION} setup.py bdist_egg bdist_wheel --dist-dir dist/.tmp --plat ${TARGET_WHEEL_PLATFORM} - /usr/bin/env python3 -m auditwheel repair --plat ${TARGET_WHEEL_PLATFORM} --wheel-dir dist dist/.tmp/$(ls dist/.tmp | grep .whl) + /usr/bin/env python${PY_VERSION} -m auditwheel repair --plat ${TARGET_WHEEL_PLATFORM} --wheel-dir dist dist/.tmp/$(ls dist/.tmp | grep .whl) fi rm -rf dist/.tmp