diff --git a/build/PythonPackages/build.sh b/build/PythonPackages/build.sh index 58d2676..32e1975 100755 --- a/build/PythonPackages/build.sh +++ b/build/PythonPackages/build.sh @@ -5,7 +5,7 @@ cd `dirname $0` export PIP_DOWNLOAD_CACHE=`pwd`/pip_cache $prefix/bin/pip3 install -r ../../../openmedialibrary/requirements.txt -$prefix/bin/pip3 install pillow +$prefix/bin/pip3 install -U pillow install_name_tool -change "$prefix/lib/libjpeg.62.dylib" "@rpath/libjpeg.62.dylib" $prefix/lib/python3.4/site-packages/PIL/_imaging.so install_name_tool -change "$prefix/lib/libz.1.dylib" "@rpath/libz.1.dylib" $prefix/lib/python3.4/site-packages/PIL/_imaging.so diff --git a/make.sh b/make.sh index 9c22748..1f140e5 100755 --- a/make.sh +++ b/make.sh @@ -22,6 +22,7 @@ done cp -a lib/python3.4 dist/lib/python3.4 cp -a include/python3.4m dist/include/python3.4m rm -r dist/lib/python3.4/test +find dist/ -name __pycache__ -type d | xargs rm -r # libboost_system.dylib \ # libtorrent-rasterbar.7.dylib \