| | 25 | |
| | 26 | |
| | 27 | ==== Building Python for Android ==== |
| | 28 | Based on [http://python-for-android.readthedocs.org/en/latest/prerequisites/ python-for-android documentation], built on Ubuntu 12.10 64-bit. |
| | 29 | |
| | 30 | Install prerequisites: |
| | 31 | {{{ |
| | 32 | sudo apt-get install build-essential patch git-core ccache ant python-pip python-dev |
| | 33 | }}} |
| | 34 | |
| | 35 | On a 64-bit distro: |
| | 36 | {{{ |
| | 37 | sudo apt-get install build-essential patch git-core ccache ant pip python-dev |
| | 38 | }}} |
| | 39 | |
| | 40 | Ensure you have the latest Cython version: |
| | 41 | |
| | 42 | {{{ |
| | 43 | sudo pip install --upgrade cython |
| | 44 | }}} |
| | 45 | |
| | 46 | |