summary refs log tree commit diff stats
path: root/osx/makebundle.sh
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-01-28 16:18:00 -0500
committerTingPing <tingping@tingping.se>2014-01-28 16:19:06 -0500
commit696407967305a24fbdf2b84b21a2e907f14d0089 (patch)
tree6565ba1dea00d4ce26f4b47a8c0c3f2ab30c8658 /osx/makebundle.sh
parentc9818adfb14693bc031e21b90620d7447e93bd5b (diff)
osx: Fix bundled Python
Diffstat (limited to 'osx/makebundle.sh')
-rwxr-xr-xosx/makebundle.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/osx/makebundle.sh b/osx/makebundle.sh
index 24130aa1..3a23ee70 100755
--- a/osx/makebundle.sh
+++ b/osx/makebundle.sh
@@ -13,3 +13,7 @@ fi
 rm -rf HexChat.app
 
 $JHBUILD_PREFIX/bin/python $HOME/.local/bin/gtk-mac-bundler hexchat.bundle
+
+# These take up a lot of space in the bundle
+echo "Cleaning up python files"
+find ./HexChat.app/Contents/Resources/lib/python2.7 -name "*.pyo" -or -name "*.pyc" -delete