openmedialibrary_platform_d.../build/PythonPackages/build.sh
2014-09-30 18:45:12 +02:00

12 lines
590 B
Bash
Executable file

#!/bin/bash
cd `dirname $0`
. ../env
export PIP_DOWNLOAD_CACHE=`pwd`/pip_cache
$prefix/bin/pip3 install -r ../../../openmedialibrary/requirements.txt
$prefix/bin/pip3 install 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
install_name_tool -change "$prefix/lib/libfreetype.6.dylib" "@rpath/libfreetype.6.dylib" $prefix/lib/python3.4/site-packages/PIL/_imagingft.so