Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python for android phones
Python C Perl Objective-C Shell C++ Other
branch: master

updated readme.md

latest commit 7e9aa7ea38
Harish.K authored
Failed to load latest commit information.
Demo mod change
Doc mod change
Grammar mod change
Include mod change
Lib mod change
Mac mod change
Misc mod change
Modules Final Working python2.7.3
Objects mod change
PC mod change
PCbuild mod change
Parser mod change
Python Added Python-2.7.2-filesystemdefaultencoding.patch
RISCOS mod change
Tools mod change
.hg_archival.txt mod change
.hgtags mod change
LICENSE mod change
Makefile.pre.in mod change
README.original Added preject readme
Readme.md updated readme.md
compile.sh updated readme.md
configure xcomile patch
configure.in mod change
gdb.setup updated readme.md
install-sh initial commit
pyconfig.h Final Working python2.7.3
pyconfig.h.in mod change
setup.py Final Working python2.7.3

Readme.md

Python2.7.3 Android

This is source for building python2.7.3 for android usig android-ndk.inspired by python-for-android - Py4A

Binary files can be downloaded from sourceforge download page by using python we can run ipython on android terminal emulator

compile.sh may give some clue about compiling the source.

compiling hints

Set the appropriate path for your android-ndk ,includes and libs in compile.sh put a runnable python2.7.3 binary file and rename it into hostpython.(It can be copied from /usr/bin or can be compiled from source) uncomment 'configure' and 'make' commands in compile.sh for corresponding actions. this will produce binaries with debugging information (big size tooo). so stripping down is necessary binaries with debugging symbols can be used for debugging with gdbsever. gdbserver arm-elf binary can be found in ndk folder file gdb.setup contains some gdb commands which i used for debuging python using gdb remote debugging For redline support, readline and ncurses libraries are necessary. no need to compile sqlite and openssl (I didn't do that) copy the required header files (for sqlite and openssl) from androidsource/external folder and copy shared libraries fom phones /system/lib folder

Something went wrong with that request. Please try again.