| 9 | '''NOTE:''' If you just wan't to run you Python & !PySide programs on Android, you can skip the ''Building !PySide'' section. |
| 10 | |
| 11 | == Building !PySide == |
| 12 | === Preparation === |
| 13 | First install the prerequisites: |
| 14 | * Necessitas SDK |
| 15 | (make sure you have the Android SDK platform 14 installed in it) |
| 16 | * system-wide installed Shiboken |
| 17 | * system-wide installed Python 2.7 |
| 18 | * Python 2.7 compiled for Android |
| 19 | * cmake |
| 20 | * git |
| 21 | This command should probably fetch most of the prerequisites on Ubuntu: |
| 22 | {{{ |
| 23 | sudo apt-get install build-essential cmake git python2.7-minimal shiboken |
| 24 | }}} |
| 25 | If you find some are is missing or if you wan't to provide similar command for other distributions, let me know ! :) |
| 26 | |
| 27 | Then clone the ''Android-pyside-build-scripts'' project and ''cd'' to it's directory: |
| 28 | {{{ |
| 29 | git clone git@github.com:M4rtinK/android-pyside-build-scripts.git |
| 30 | cd android-pyside-build-scripts |
| 31 | }}} |
| 32 | |
| 33 | Now run the ''prepare.sh'' script: |
| 34 | {{{ |
| 35 | ./prepare.sh |
| 36 | }}} |
| 37 | It clones Android-modified Shiboken & !PySide and creates some folders needed for the build. |
| 38 | |
| 39 | And that's it, you are ready to start the build. :) |
| 40 | |
| 41 | === Build === |
| 42 | |
| 43 | === Results === |
| 44 | |