-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree-Shake python dependencies #26
Comments
about last dot: ii would prefer faster startup than filesize to be honest 100-150 mb is ok size for decent phones imho |
I dont think adding brotli increases the startup time that much (since 38% of the web uses brotli) |
Hi @misl6, could we please move this? |
Move where? I'm missing something?
Are really that large? Can you set your expectation and describe the current status? |
I am extremely sorry that i was not clear with my words. I meant transfer this issue to
I am sorry that i overexaggerated the size. But yes it is quite large. Please take a look at flet-dev/flet#2319 (reply in thread) . In here the python bundle is 7Mb without any dependencies, in reality, when an app has a lot of dependencies, ( such as My proposal is to remove redundant codes when building the apk using Now that |
Discussed in https://github.com/orgs/kivy/discussions/22
Originally posted by baseplate-admin January 5, 2024
As it stands,
The apk generated by
python-for-android
are large in size and nature.I was wondering if it was possible to tree shake the android venv to reduce size.
Possible paths :
stdlib
to a bare minimum for our app to function.dead
andvulture
can be of use here.brotli
/zstd
instead of.zip
( or maybe even7-zip
)The text was updated successfully, but these errors were encountered: