From be3380b9a2afe6c2c94c6e2c51717a79d044fa4b Mon Sep 17 00:00:00 2001 From: Akshay Arora Date: Sun, 8 Jul 2018 05:30:51 +0530 Subject: [PATCH] Update .travis.yml --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9737c23c1..b6e1aec27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -231,7 +231,6 @@ script: USE_SDL2=1 USE_GSTREAMER=1 python$pyver_short setup.py bdist_wheel; /Library/Frameworks/Python.framework/Versions/$pyver_short/bin/delocate-wheel dist/*.whl; - # manually copy over libs with @rpath that delocate-wheel ignores for now. zip_dir="$(basename dist/*.whl .whl)"; unzip dist/*.whl -d dist/$zip_dir; cp /Library/Frameworks/SDL2_mixer.framework/Versions/A/Frameworks/FLAC.framework/Versions/A/FLAC dist/$zip_dir/kivy/.dylibs/; @@ -241,7 +240,6 @@ script: cp /Library/Frameworks/SDL2_mixer.framework/Versions/A/Frameworks/modplug.framework/Versions/A/modplug dist/$zip_dir/kivy/.dylibs/; cp /Library/Frameworks/SDL2_mixer.framework/Versions/A/Frameworks/smpeg2.framework/Versions/A/smpeg2 dist/$zip_dir/kivy/.dylibs/; cp /Library/Frameworks/SDL2_mixer.framework/Versions/A/Frameworks/smpeg2.framework/Versions/A/smpeg2 dist/$zip_dir/kivy/.dylibs/; - # change `@rpath` for the frameworks above to `@loader_path/` python$pyver_short -m osxrelocator.__init__ dist/$zip_dir/kivy/.dylibs @rpath/SDL2.framework/Versions/A/SDL2 @loader_path/SDL2; python$pyver_short -m osxrelocator.__init__ dist/$zip_dir/kivy/.dylibs @rpath/FLAC.framework/Versions/A/FLAC @loader_path/FLAC; python$pyver_short -m osxrelocator.__init__ dist/$zip_dir/kivy/.dylibs @rpath/modplug.framework/Versions/A/modplug @loader_path/modplug; @@ -252,10 +250,10 @@ script: python$pyver_short -m osxrelocator.__init__ dist/$zip_dir/kivy/.dylibs @rpath/../../../../SDL2.framework/Versions/A/SDL2 @loader_path/SDL2; python$pyver_short -m osxrelocator.__init__ dist/$zip_dir/kivy/.dylibs @rpath/Ogg.framework/Versions/A/Ogg @loader_path/Ogg; rm dit/$zip_dir.whl; - pushd dist + pushd dist; python$pyver_short -c "from delocate import delocating; delocating.dir2zip('$zip_dir', '$zip_dir.whl')"; rm -rf $zip_dir; - popd + popd; /Library/Frameworks/Python.framework/Versions/$pyver_short/bin/delocate-addplat --rm-orig -x 10_9 -x 10_10 dist/*.whl; cp dist/*.whl ../wheelhouse/; done;