Skip to content

Commit

Permalink
stashing away thinning tests until I get a functioning build
Browse files Browse the repository at this point in the history
  • Loading branch information
maltfield committed Jun 21, 2020
1 parent 88bdaee commit a719a44
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions build/mac/buildDmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -240,18 +240,19 @@ pushd .buildozer/osx/platform/kivy-sdk-packager-master/osx
# GStreamer is the easiest; ~150M gone
rm -rf "${APP_NAME}.app/Contents/Frameworks/GStreamer.framework"

# kivy build, doc, and examples dirs total to ~50M
rm -rf "${APP_NAME}.app/Contents/Resources/kivy/build/"
rm -rf "${APP_NAME}.app/Contents/Resources/kivy/doc/"
rm -rf "${APP_NAME}.app/Contents/Resources/kivy/examples/"

# somehow it still works for me with this gone, but I wonder if it's because it
# finds python outside the .app dir? Anyway, this python dir is ~150M
rm -rf "${APP_NAME}.app/Contents/Frameworks/python"

# the whole lib dir isn't necessary for our simple kivy app; I imagine if your
# app has more depends, you'll have to be more selective here
rm -rf "${APP_NAME}.app/Contents/Resources/venv/lib"
# TODO: after you actually get a working build, uncomment and test this thinning
## kivy build, doc, and examples dirs total to ~50M
#rm -rf "${APP_NAME}.app/Contents/Resources/kivy/build/"
#rm -rf "${APP_NAME}.app/Contents/Resources/kivy/doc/"
#rm -rf "${APP_NAME}.app/Contents/Resources/kivy/examples/"
#
## somehow it still works for me with this gone, but I wonder if it's because it
## finds python outside the .app dir? Anyway, this python dir is ~150M
#rm -rf "${APP_NAME}.app/Contents/Frameworks/python"
#
## the whole lib dir isn't necessary for our simple kivy app; I imagine if your
## app has more depends, you'll have to be more selective here
#rm -rf "${APP_NAME}.app/Contents/Resources/venv/lib"

#############
# BUILD DMG #
Expand Down

0 comments on commit a719a44

Please sign in to comment.