Skip to content

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

License

Notifications You must be signed in to change notification settings

andreparrish/python-for-android

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published