Skip to content

Commit a719a44

Browse files
committed
stashing away thinning tests until I get a functioning build
1 parent 88bdaee commit a719a44

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

build/mac/buildDmg.sh

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -240,18 +240,19 @@ pushd .buildozer/osx/platform/kivy-sdk-packager-master/osx
240240
# GStreamer is the easiest; ~150M gone
241241
rm -rf "${APP_NAME}.app/Contents/Frameworks/GStreamer.framework"
242242

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

256257
#############
257258
# BUILD DMG #

0 commit comments

Comments
 (0)