Skip to content

Instantly share code, notes, and snippets.

@ericzolf
ericzolf / buildpython4android.sh
Last active April 30, 2017 08:28 — forked from phillipberndt/gist:ef25e95ef801707eb27a
Compile Python for Android
#!/bin/sh
#
# This script builds & bundles Python for Android
# You'll end up with a tar.bz2 file that contains a Python distribution
#
# Requires all prerequisites to build Android on the host, and the NDK
# installed.
#
# This script creates a file python4android.tbz2. Unpack it on your device
# (into a non-noexec partition!) and enjoy.