Skip to main content

bitfoundation python_for_android recipe

Project description


This package allows you to build python-based android packages from a buildout environment

You will need a copy of the android sdk and ndks for your project environments

These can be installed using bit.recipe.android_sdk and bit.recipe.android_ndk

A complete buildout example might be:

parts = my_android_sdk

recipe = bit.recipe.android_sdk
apis = 8
sdk =

recipe = bit.recipe.android_ndk
version = r7
ndk =

recipe = bit.recipe.python_for_android
package = org.bitfoundation.my_kivy
src =
sdk = parts/my_android_sdk
ndk = parts/my_android_ndk
ndk_version = ${my_android_ndk:version}
api = 8
recipes = kivy
version = 0.0.1
public = var/my_kivy/public
private = var/my_kivy/private
orientation = portrait
permissions = INTERNET

This can then be installed as follows


Once you have done this you can create your distribution

./bin/my_kivy dist

You can do a clean install or pass other arguments to the script, ie:

./bin/my_kivy dist -f

Place your public/private resources into the folders specified ie: var/my_kivy/public, and build and install your android package

./bin/my_kivy build debug installd

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (6.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page