mirror of https://github.com/kivy/kivy.git
Update .travis.yml
This commit is contained in:
parent
33c788b9c6
commit
be3380b9a2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue