summaryrefslogtreecommitdiffstats
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:50:49 +0000
commit77f8449c0cff592e5780e17867d9ea75efe788e7 (patch)
treede770e22bbdcef1ca1f3d49f6ab559505680dec0
parentbe7ad16a3f0004d859140dbd3b8e427d35fc4c92 (diff)
downloaddeluge-77f8449c0cff592e5780e17867d9ea75efe788e7.tar.gz
deluge-77f8449c0cff592e5780e17867d9ea75efe788e7.tar.bz2
deluge-77f8449c0cff592e5780e17867d9ea75efe788e7.zip
[#2767] [Packaging] Don't include .py files in OSX App
-rw-r--r--osx/make-app1
1 files changed, 1 insertions, 0 deletions
diff --git a/osx/make-app b/osx/make-app
index 19062ce45..ebba5e73e 100644
--- a/osx/make-app
+++ b/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`"