Skip to content

Commit

Permalink
adding installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Northey committed Mar 25, 2012
1 parent 7ff9813 commit ada8606
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

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

Expand Down Expand Up @@ -60,3 +59,44 @@ Place your public/private resources into the folders specified ie: var/my_kivy/p

./bin/my_kivy build debug installd



Installing
==========

The following instructions are for a recent version of Ubuntu or Debian Wheezy.

Its not possible to run the default python-for-android environment on Debian Squeeze due to an outdated Cython version, although its possible to create a custom version of Cython with your buildout

This package may work on other platforrms with the necessary dependencies


Install dependencies

# apt-get install build-essential python-dev


Install virtualenv

# apt-get install virtualenv


Create your buildout environment

# mkdir android
# cd android
# virtualenv --no-site-packages .
# wget bootsrap.py


Create a file called buildout.cfg containing a configuration similar to example provided above

Run bootstrap

# ./bin/python bootstrap.py


Finally, run buildout

# ./bin/buildout

0 comments on commit ada8606

Please sign in to comment.