@@ -240,18 +240,19 @@ pushd .buildozer/osx/platform/kivy-sdk-packager-master/osx
240240# GStreamer is the easiest; ~150M gone
241241rm -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