From 71e699f9bef4c47a01e3c15cd39417fb8b4926fd Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 29 Sep 2024 14:35:30 -0500 Subject: [PATCH] fix auditwheel --- recipe/build.sh | 6 +++--- recipe/meta.yaml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/recipe/build.sh b/recipe/build.sh index 4f31547..c64de4d 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -71,13 +71,13 @@ pushd python if [[ "$target_platform" == linux-64 ]]; then rm -rf $PREFIX/lib/libstdc++.* rm -rf $PREFIX/lib/libgcc* - auditwheel repair dist/*.whl -w $PWD/fixed_wheels --plat manylinux2014_x86_64 + $PYTHON -m auditwheel repair dist/*.whl -w $PWD/fixed_wheels --plat manylinux2014_x86_64 elif [[ "$target_platform" == linux-* ]]; then rm -rf $PREFIX/lib/libstdc++.* rm -rf $PREFIX/lib/libgcc* - auditwheel repair dist/*.whl -w $PWD/fixed_wheels --plat manylinux2014_$ARCH + $PYTHON -m auditwheel repair dist/*.whl -w $PWD/fixed_wheels --plat manylinux2014_$ARCH else - python $(which delocate-wheel) -w fixed_wheels --sanitize-rpaths -v dist/*.whl + $PYTHON $(which delocate-wheel) -w fixed_wheels --sanitize-rpaths -v dist/*.whl fi popd diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 754b370..957fb08 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -39,8 +39,6 @@ requirements: - python # [build_platform != target_platform] - cross-python_{{ target_platform }} # [build_platform != target_platform] - setuptools # [build_platform != target_platform] - - auditwheel # [linux] - - delocate # [win or osx] - unzip # [unix] - m2-unzip # [win] - cython >=0.29.24