This is an experimental set of build scripts that will crosscompile Python 3 for an ARM Android device.
This project is not maintained anymore. Do check out @GRRedWing's and @yan12125's forks for a continuation of development on Python 3 for Android.
make cleanfor good measure.- For every NDK/API Level/Toolchain combination you wish to build for:
- Edit
envto match your (desired) configuration. maketo build everything!- (Optional)
make testto setup an Android emulator and run automated Python regression tests.
- Edit
Building requires:
- A working host toolchain that is able to compile Python (for hostpython).
- Patience.
Testing requires:
- Java 6 to use the Android SDK manager.
awkandtrfor some setup wizardry.- Even more patience.
Both require:
- A working
bashand basic *nix utilities likecpandtouch. wgetto fetch files.tarto extract files.
The build is failing with something about license terms!
Read the license terms, edit env and set ANDROID_AGREE_LICENSE_TERMS=y if you agree with them, and re-run.