@@ -17,20 +17,20 @@ Installation
1717
1818The easiest way to install is with pip. You need to have setuptools installed, but then can do::
1919
20- pip install git+https://github.com/inclement /python-for-android-revamp .git
21-
20+ pip install git+https://github.com/kivy /python-for-android.git@revamp
21+
2222This should install python-for-android (though you may need to run as root or add --user).
2323
2424You could also install python-for-android manually, either via git::
2525
26- git clone https://github.com/inclement /python-for-android-revamp .git
26+ git clone -b revamp https://github.com/kivy /python-for-android.git
2727 cd python-for-android
2828
2929Or by direct download::
3030
31- wget https://github.com/inclement /python-for-android-revamp /archive/master .zip
32- unzip master .zip
33- cd python-for-android-revamp-master
31+ wget https://github.com/kivy /python-for-android/archive/revamp .zip
32+ unzip revamp .zip
33+ cd python-for-android-revamp
3434
3535Then in both cases run ``python setup.py install ``.
3636
@@ -53,17 +53,18 @@ essential to set some env vars. First install the Android SDK and NDK, then:
5353- Set the ``ANDROIDSDK `` env var to the ``/path/to/the/sdk ``
5454- Set the ``ANDROIDNDK `` env var to the ``/path/to/the/ndk ``
5555- Set the ``ANDROIDAPI `` to the targeted API version (or leave it
56- unset to use the default of ``14 ``.
56+ unset to use the default of ``14 ``) .
5757- Set the ``ANDROIDNDKVER `` env var to the version of the NDK
5858 downloaded, e.g. the current NDK is ``r10e `` (or leave it unset to
5959 use the default of ``r9 ``.
6060
61- The process of setting these variables should be streamlined in the
61+ The process of setting these variables will be streamlined in the
6262future, these options are preliminary.
6363
6464To create a basic distribution, run .e.g::
6565
66- python-for-android create --dist_name=testproject --bootstrap=pygame --requirements=sdl,python2
66+ python-for-android create --dist_name=testproject --bootstrap=pygame \
67+ --requirements=sdl,python2
6768
6869This will compile the distribution, which will take a few minutes, but
6970will keep you informed about its progress. The arguments relate to the
@@ -81,15 +82,18 @@ depends on. The full list of builtin internal recipes can be seen with
8182
8283To build an APK, use the ``apk `` command::
8384
84- python-for-android apk --private /path/to/your/app --package=org.example.packagename --name="Your app name" --version=0.1
85+ python-for-android apk --private /path/to/your/app --package=org.example.packagename \
86+ --name="Your app name" --version=0.1
8587
8688The arguments to ``apk `` can be anything accepted by the old
8789python-for-android build.py; the above is a minimal set to create a
8890basic app. You can see the list with ``python-for-android apk help ``.
8991
9092A new feature of python-for-android is that you can do all of this with just one command::
9193
92- python-for-android apk --private /home/asandy/devel/planewave_frozen/ --package=net.inclem.planewavessdl2 --name="planewavessdl2" --version=0.5 --bootstrap=sdl2 --requirements=sdl,python2 --dist_name=testproject
94+ python-for-android apk --private /path/to/your/app \
95+ --package=org.example.packagename --name="Your app name" --version=0.5
96+ --bootstrap=pygame --requirements=sdl,python2 --dist_name=testproject
9397
9498This combines the previous ``apk `` command with the arguments to
9599``create ``, and works in exactly the same way; if no internal
0 commit comments