more path fixes

This commit is contained in:
j 2015-11-25 16:37:08 +01:00
parent 4f47cccfa8
commit 7f360bc8cc

View file

@ -25,12 +25,12 @@ done
for bin in \ for bin in \
pip3 \ pip3 \
; do ; do
sed "s/#\!.*python.*/#\!\/usr\/bin\/env python3/g" bin/$bin > $target/bin/$bin sed "s/#\!.*python.*/#\!\/usr\/bin\/env python3/g" $brew/bin/$bin > $target/bin/$bin
done done
cp -a $base/lib/python3.5 $target/lib/python3.5 cp -a $base/lib/python3.5 $target/lib/python3.5
rm $target/lib/python3.5/site-packages rm $target/lib/python3.5/site-packages
rsync -a lib/python3.5/site-packages/ $target/lib/python3.5/site-packages/ rsync -a $brew/lib/python3.5/site-packages/ $target/lib/python3.5/site-packages/
cp -a $base/include/python3.5m $target/include/python3.5m cp -a $base/include/python3.5m $target/include/python3.5m
rm -r $target/lib/python3.5/test rm -r $target/lib/python3.5/test
find $target/ -name __pycache__ -type d | xargs rm -r find $target/ -name __pycache__ -type d | xargs rm -r
@ -45,7 +45,7 @@ for lib in \
opt/sqlite/lib/libsqlite3.0.dylib \ opt/sqlite/lib/libsqlite3.0.dylib \
opt/xz/lib/liblzma.5.dylib \ opt/xz/lib/liblzma.5.dylib \
; do ; do
cp -a ./$lib $target/lib/$(basename $lib) cp -a $brew/$lib $target/lib/$(basename $lib)
done done
for plib in \ for plib in \