Use delocate-merge over deprecated delocate-fuse

This commit is contained in:
Elias Bonnici 2024-08-30 13:45:23 +02:00
parent 905f01d440
commit cbb63afcd7
No known key found for this signature in database
GPG Key ID: 5EAC28EA3F980CCF

View File

@ -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_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 download -r $HELPER/pillow.txt --platform macosx_11_0_arm64 --only-binary :all: --no-deps --dest $HELPER
poetry run pip install delocate poetry run pip install delocate
poetry run delocate-fuse $HELPER/pillow*.whl poetry run delocate-merge $HELPER/pillow*.whl
WHL=$(ls $HELPER/pillow*x86_64.whl) UNIVERSAL_WHL=$(ls $HELPER/pillow*universal2.whl)
UNIVERSAL_WHL=${WHL//x86_64/universal2}
mv $WHL $UNIVERSAL_WHL
poetry run pip install --upgrade $UNIVERSAL_WHL poetry run pip install --upgrade $UNIVERSAL_WHL
fi fi
fi fi