cd `dirname $0` #./src/pull.sh #./build/build.sh rm -rf dist mkdir -p dist/bin dist/lib dist/include for bin in \ python3 \ python3.4 \ ; do cp -a bin/$bin dist/bin/$bin done for bin in \ pip3 \ ; do sed "s/#\!.*python.*/#\!\/usr\/bin\/env python3/g" bin/$bin > dist/bin/$bin 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 # libboost_system.dylib \ # libtorrent-rasterbar.7.dylib \ # libtorrent-rasterbar.dylib \ for lib in \ libfreetype.6.dylib \ libpng12.0.dylib \ libjpeg.62.dylib \ libz.1.dylib \ libz.1.2.8.dylib \ ; do cp -a lib/$lib dist/lib/$lib done