summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2015-12-11 18:50:13 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2015-12-11 18:51:08 +0000
commit979ad972fef5394e6ba466439f14f317f6668aac (patch)
tree14db04ea9da4afd5691429aac85eb84f8620a3fe /packaging
parentee7e632b94eac5e3a96d06d74a1faec94ba12a74 (diff)
downloaddeluge-979ad972fef5394e6ba466439f14f317f6668aac.tar.gz
deluge-979ad972fef5394e6ba466439f14f317f6668aac.tar.bz2
deluge-979ad972fef5394e6ba466439f14f317f6668aac.zip
[#2767] [Packaging] Don't include .py files in OSX App
Diffstat (limited to 'packaging')
-rw-r--r--packaging/osx/make-app1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/osx/make-app b/packaging/osx/make-app
index 19062ce45..ebba5e73e 100644
--- a/packaging/osx/make-app
+++ b/packaging/osx/make-app
@@ -38,6 +38,7 @@ rsync -rpl $JHBUILD_PREFIX/lib/python2.7/site-packages/deluge-*.egg "${LIBDIR}/p
msg "Clean unnecessary files"
find $APPDIR -name "*.la" -exec rm -f {} \; # Should not be packaged
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*
echo "*** Packaging done:`du -hs $APPDIR | cut -f 1`"