Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rave-engine/python3-android

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

116 Commits
116 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 3 Android

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.

Usage

  1. make clean for good measure.
  2. For every NDK/API Level/Toolchain combination you wish to build for:
    • Edit env to match your (desired) configuration.
    • make to build everything!
    • (Optional) make test to setup an Android emulator and run automated Python regression tests.

Requirements

Building requires:

  1. A working host toolchain that is able to compile Python (for hostpython).
  2. Patience.

Testing requires:

  1. Java 6 to use the Android SDK manager.
  2. awk and tr for some setup wizardry.
  3. Even more patience.

Both require:

  1. A working bash and basic *nix utilities like cp and touch.
  2. wget to fetch files.
  3. tar to extract files.

FAQ

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.

About

Python 3 cross-compilation tools for Android.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.