Posted by : test Selasa, 28 Oktober 2014



I’ll just present you Buildozer. With this tool, you will be able to build your Python projects to Android, iOS, Windows, OSX and/or Linux.

If you prefer and if you are going to develop for Android with Python, you can just download the Kivy VM for Android. Take a look in this post and see what do you need to use it.

Currently, Buildozer supports packaging for:

Android: via Python for Android. You must have a Linux or OSX computer to be able to compile for Android.
iOS: via Kivy iOS. You must have an OSX computer to be able to compile for iOS.
Supporting others platform is in the roadmap (such as .exe for Windows, .dmg for OSX, etc.)
This tool is currently in alpha, so it can has some bugs.



I – Install

i – Using PIP

If you have PIP installed, just run the command bellow to install it:

pip install --upgrade buildozer
ii – Using easy_install

easy_install buildozer
iii – Building it from source

If you prefer, you can build Buildozer from source. Just run the following commands to try it:

git clone git://github.com/kivy/buildozer
cd buildozer
python2.7 setup.py install


If you will be developing for Android, you will need at least Cython, few build libs and Java SDK. Some binaries of the Android SDK are still in 32 bits, so you need few 32bits libraries available:

pip install --upgrade cython #use pip or other tool to install cython
apt-get install ccache lib32stdc++6 openjdk-7-jdk #if you are using Debian-like OS
II – Using it



Buildozer is very well documented, so I’m not going to show you how to use it here, just read the documentation: https://github.com/kivy/buildozer#usage-example

You can read this docs too: http://buildozer.readthedocs.org/en/latest/quickstart.html

Now, you are able develop apps/games for any platform with Python!

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © test - - dirancang oleh rmohammadhakimzakaria -