more path fixes

This commit is contained in:
j 2015-11-25 16:37:08 +01:00
parent 4f47cccfa8
commit 7f360bc8cc
1 changed files with 3 additions and 3 deletions

View File

@ -25,12 +25,12 @@ done
for bin in \
pip3 \
; 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
cp -a $base/lib/python3.5 $target/lib/python3.5
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
rm -r $target/lib/python3.5/test
find $target/ -name __pycache__ -type d | xargs rm -r
@ -45,7 +45,7 @@ for lib in \
opt/sqlite/lib/libsqlite3.0.dylib \
opt/xz/lib/liblzma.5.dylib \
; do
cp -a ./$lib $target/lib/$(basename $lib)
cp -a $brew/$lib $target/lib/$(basename $lib)
done
for plib in \