Releases: kuri65536/python-for-android
Releases · kuri65536/python-for-android
Python 3.6.4
Python 2.7.14
Python 3.6.2
I did not tested it with actual devices.
Python3 C Extension Modules
- If you need pure python modules, just use pip_console.py3.
- In security reason, Extension Modules (including shared library)
can not be located in SD card.
To use these modules, PYTHONUSERBASE must be set to directory under '/', example: '/data/local/tmp'
Modules list
Append pip module to Python 3.6.0
- now readline module worked again.
use pip
- cannot use for modules which need C extension compile, like numpy/scipy, pillow.
use with command line.
- download python3.sh from here, and push to your android.
use from SL4A script list
From SL4A console, you can't use with SL4A console.#135- launch pip_console.py3
- to use modules,
site.addsitedir
$ cd /path/to/sl4a/scripts
$ bash python3.sh pip_console.py3 # install pip
$ bash python3.sh pip_console.py3 # re-launch
--> pip install requests
--> pip uninstall requests
Python 3.6.0
1st relase of Python 3.6.0 #105
- module readline and ncurses not worked by build problems (?).
- module bzip2 not worked by packaging problemns (?).
OpenSSL 1.0.2j
- updated openssl to 1.0.2j #109
you need xutils-dev package to build openssl in Ubuntu 16.04.
Python 2.7.12 / NDK 10e
- Update to python 2.7.12
- Update to NDK 10e (I gave up to 11 or higher, which does not include android-3 API or GCC)
- Enable large file support for #107
Python 2.7.11
Update to python 2.7.11