Skip to content

Commit 70d2f0f

Browse files
committed
Updated doc for new development location
1 parent be2204a commit 70d2f0f

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

doc/source/quickstart.rst

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ Installation
1717

1818
The 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+
2222
This should install python-for-android (though you may need to run as root or add --user).
2323

2424
You 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
2929
Or 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
3535
Then 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
6262
future, these options are preliminary.
6363

6464
To 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
6869
This will compile the distribution, which will take a few minutes, but
6970
will 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

8283
To 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
8688
The arguments to ``apk`` can be anything accepted by the old
8789
python-for-android build.py; the above is a minimal set to create a
8890
basic app. You can see the list with ``python-for-android apk help``.
8991

9092
A 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
9498
This combines the previous ``apk`` command with the arguments to
9599
``create``, and works in exactly the same way; if no internal

0 commit comments

Comments
 (0)