[#2767] [Packaging] Don't include .py files in OSX App

This commit is contained in:
Calum Lind 2015-12-11 18:50:13 +00:00
parent ee7e632b94
commit 979ad972fe
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ rsync -rpl $JHBUILD_PREFIX/lib/python2.7/site-packages/deluge-*.egg "${LIBDIR}/p
msg "Clean unnecessary files" msg "Clean unnecessary files"
find $APPDIR -name "*.la" -exec rm -f {} \; # Should not be packaged find $APPDIR -name "*.la" -exec rm -f {} \; # Should not be packaged
find $APPDIR -name "*.pyo" -exec rm -f {} \; # Just duplicates find $APPDIR -name "*.pyo" -exec rm -f {} \; # Just duplicates
find $LIBDIR/python/deluge-*.egg -name "*.py" -exec rm -f {} \; # Remove source files, leaving compiled only.
rm -fr $LIBDIR/pygtk/2.0/*demo* rm -fr $LIBDIR/pygtk/2.0/*demo*
echo "*** Packaging done:`du -hs $APPDIR | cut -f 1`" echo "*** Packaging done:`du -hs $APPDIR | cut -f 1`"