openmedialibrary_platform_d.../build/PythonPackages/build.sh

13 lines
590 B
Bash
Raw Normal View History

2013-11-04 01:39:46 +00:00
#!/bin/bash
cd `dirname $0`
. ../env
2014-09-30 16:45:12 +00:00
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