pleaseproject / python-for-android

Automatically exported from code.google.com/p/python-for-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In order to build Py4A you first need to build Python for Android platform,
make sure you have all the dependencies needed for building python 2.6 for your
distro in Ubuntu run: sudo apt-get build-dep python2.6

In Ubuntu (i386) you need to run this before anything else:
export LDFLAGS="-L /usr/lib/i386-linux-gnu/"

pushd python-build
bash build.sh
popd

Then you need to update the references for the APK file
pushd python-build
python update-apk.py
popd

Next step is building a few Android libraries needed for Py4A to be built.
pushd android
pushd Utils
ant
popd
pushd Common
ant
popd
pushd InterpreterForAndroid
ant
popd
popd

Now build Py4A apk signing with debug key
pushd android/PythonForAndroid
mkdir libs
cp ../{Utils,Common,InterpreterForAndroid}/dist/*.jar libs
ant debug
popd

About

Automatically exported from code.google.com/p/python-for-android

License:Apache License 2.0


Languages

Language:C 46.7%Language:Python 32.0%Language:HTML 9.6%Language:Perl 3.7%Language:Makefile 1.8%Language:Assembly 1.3%Language:Shell 1.2%Language:Groff 0.9%Language:C++ 0.9%Language:Java 0.6%Language:TeX 0.5%Language:DIGITAL Command Language 0.4%Language:OpenEdge ABL 0.1%Language:Ada 0.1%Language:Batchfile 0.1%Language:Pascal 0.1%Language:C# 0.0%Language:Objective-C 0.0%Language:Prolog 0.0%Language:Perl 6 0.0%Language:XSLT 0.0%Language:PLSQL 0.0%Language:Inno Setup 0.0%Language:GAP 0.0%Language:PostScript 0.0%Language:CSS 0.0%Language:Vim Script 0.0%Language:R 0.0%Language:XS 0.0%Language:eC 0.0%Language:CMake 0.0%Language:CLIPS 0.0%Language:Scheme 0.0%Language:Protocol Buffer 0.0%Language:SAS 0.0%Language:Emacs Lisp 0.0%Language:Module Management System 0.0%Language:D 0.0%Language:Visual Basic 0.0%Language:Smarty 0.0%