I think this issue is a dead end and that the answer (given early in this thread) "it is out of scope" is correct.
Pyinstaller has never been a cross-compiler, but that is what is needed for Android, since there is not such a thing as a native Android development machine. You always develop for Android in a non-Android environment (as far as I know.) The thing that Pyinstaller does (package a bootloader and an archive of all needed libraries) is duplicated by other projects for the Android platform. For example, PyDroid and android-python27 projects both bundle a bootloader (written in Java) that unpacks the Python interpreter and other scripts from an archive, sets up an environment, and executes the Python interpreter. So my advice to others wanting to port Python apps to Android is to start with one of those tools. (However, in my experience, those tools are much less mature than Pyinstaller and poorly documented. It has been a struggle for me to understand how to use those tools.) Only if the Pyinstaller project were willing to generalize (allow for cross-packaging and allow for bootloaders in other languages) would this idea make sense. And that doesn't make economic sense since probably most apps are not intended for mobile, and most app development for mobile is not in Python. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/groups/opt_out.
