avoid using python system version to audit wheel

This commit is contained in:
Joel Moriana 2024-05-16 10:28:36 +02:00 committed by Blyron
parent 8774a16cb6
commit 22fd085f67
1 changed files with 1 additions and 1 deletions

View File

@ -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