From cbb63afcd757919dbe38f269d9f0c0b15b2283ca Mon Sep 17 00:00:00 2001 From: Elias Bonnici Date: Fri, 30 Aug 2024 13:45:23 +0200 Subject: [PATCH] Use `delocate-merge` over deprecated `delocate-fuse` --- build-helper.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build-helper.sh b/build-helper.sh index 2612335f..49accf99 100755 --- a/build-helper.sh +++ b/build-helper.sh @@ -50,10 +50,8 @@ if [ "$OS" = "macos" ]; then poetry run pip download -r $HELPER/pillow.txt --platform macosx_10_10_x86_64 --only-binary :all: --no-deps --dest $HELPER poetry run pip download -r $HELPER/pillow.txt --platform macosx_11_0_arm64 --only-binary :all: --no-deps --dest $HELPER poetry run pip install delocate - poetry run delocate-fuse $HELPER/pillow*.whl - WHL=$(ls $HELPER/pillow*x86_64.whl) - UNIVERSAL_WHL=${WHL//x86_64/universal2} - mv $WHL $UNIVERSAL_WHL + poetry run delocate-merge $HELPER/pillow*.whl + UNIVERSAL_WHL=$(ls $HELPER/pillow*universal2.whl) poetry run pip install --upgrade $UNIVERSAL_WHL fi fi