This might be beyond the scope of this project, but Is it possible to use this to import from a library.tar.lz4 like you can using pythons zipimporter?
With standard python you can create a zip file (ex. library.zip) with your python packages, add the zip file to the sys.path, and then import directly from the zip file (cx_Freeze uses this for distributed apps) .
I think this would be really useful for the python-for-android project. Currently p4a apps don't use zip import because importing from a .zip on a phone is slow (due to slow decompression speed). Using lz4 might be a good alternative.
Thanks!
This might be beyond the scope of this project, but Is it possible to use this to import from a
library.tar.lz4like you can using pythons zipimporter?With standard python you can create a zip file (ex.
library.zip) with your python packages, add the zip file to the sys.path, and then import directly from the zip file (cx_Freeze uses this for distributed apps) .I think this would be really useful for the python-for-android project. Currently p4a apps don't use zip import because importing from a
.zipon a phone is slow (due to slow decompression speed). Using lz4 might be a good alternative.Thanks!