Skip to main content

bit.recipe.python_for_android
=============================

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:

[buildout]
parts = my_android_sdk
my_android_ndk
my_kivy

[my_android_sdk]
recipe = bit.recipe.android_sdk
apis = 8
sdk = http://dl.google.com/android/android-sdk_r14-linux.tgz

[my_android_ndk]
recipe = bit.recipe.android_ndk
version = r7
ndk = http://dl.google.com/android/ndk/android-ndk-r7-linux-x86.tar.bz2

[my_kivy]
recipe = bit.recipe.python_for_android
package = org.bitfoundation.my_kivy
src = git@github.com:kivy/python-for-android
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

./bin/buildout


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 distribute.sh 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

Metadata

Release files for bit.recipe.python_for_android 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bit.recipe.python_for_android 0.0.2
File Size Uploaded
bit.recipe.python_for_android-0.0.2.zip 6.5 kB Details

Release files / bit.recipe.python_for_android-0.0.2.zip

Download URL bit.recipe.python_for_android-0.0.2.zip
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
15cca90bda20a88e0c318b19dc0936a1241c2dc8d4a3c5275d9deb2d525f2f0b
BLAKE2b-256 checksum
How to use checksums
a9f7311c3afe4f61bbc4633dbf31e78bee2ab61e07f5dc2e50260283eac0e71b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page