@@ -23,61 +23,86 @@ Usage example
2323
2424#. Install buildozer::
2525
26- # latest dev
26+ # via pip (latest stable, recommended)
27+ sudo pip install buildozer
28+
29+ # latest dev version
30+ sudo pip install https://github.com/kivy/buildozer/archive/master.zip
31+
32+ # git clone, for working on buildozer
2733 git clone https://github.com/kivy/buildozer
2834 cd buildozer
29- sudo python2.7 setup.py install
30-
31- # via pip (latest stable)
32- sudo pip install buildozer
35+ python setup.py build
36+ sudo pip install -e .
3337
3438#. Go into your application directory and do::
3539
3640 buildozer init
3741 # edit the buildozer.spec, then
38- buildozer android debug deploy run
42+ buildozer android_new debug deploy run
3943
4044Example of commands::
4145
4246 # buildozer target command
43- buildozer android clean
44- buildozer android update
45- buildozer android deploy
46- buildozer android debug
47- buildozer android release
47+ buildozer android_new clean
48+ buildozer android_new update
49+ buildozer android_new deploy
50+ buildozer android_new debug
51+ buildozer android_new release
4852
4953 # or all in one (compile in debug, deploy on device)
50- buildozer android debug deploy
54+ buildozer android_new debug deploy
5155
5256 # set the default command if nothing set
53- buildozer setdefault android debug deploy run
57+ buildozer setdefault android_new debug deploy run
5458
5559
5660Usage
5761-----
5862
5963::
6064
61- Usage: buildozer [--verbose] [target] [command1] [command2]
65+ Usage:
66+ buildozer [--profile <name>] [--verbose] [target] <command>...
67+ buildozer --version
6268
6369 Available targets:
64- android Android target, based on python-for-android project
65- ios iOS target, based on kivy-ios project. (not working yet.)
70+ android Android target, based on python-for-android project (old toolchain)
71+ ios iOS target, based on kivy-ios project
72+ android_new Android target, based on python-for-android project (new toolchain)
6673
6774 Global commands (without target):
68- clean Clean the whole Buildozer environment.
75+ distclean Clean the whole Buildozer environment.
6976 help Show the Buildozer help.
7077 init Create a initial buildozer.spec in the current directory
71- setdefault Set the default command to do when no arguments are given
78+ serve Serve the bin directory via SimpleHTTPServer
79+ setdefault Set the default command to run when no arguments are given
7280 version Show the Buildozer version
7381
7482 Target commands:
75- clean Clean the target environment
76- update Update the target dependencies
77- debug Build the application in debug mode
78- release Build the application in release mode
79- deploy Deploy the application on the device
80- run Run the application on the device
83+ clean Clean the target environment
84+ update Update the target dependencies
85+ debug Build the application in debug mode
86+ release Build the application in release mode
87+ deploy Deploy the application on the device
88+ run Run the application on the device
89+ serve Serve the bin directory via SimpleHTTPServer
90+
91+ Target "android" commands:
92+ adb Run adb from the Android SDK. Args must come after --, or
93+ use --alias to make an alias
94+ logcat Show the log from the device
95+
96+ Target "ios" commands:
97+ list_identities List the available identities to use for signing.
98+ xcode Open the xcode project.
99+
100+ Target "android_new" commands:
101+ adb Run adb from the Android SDK. Args must come after --, or
102+ use --alias to make an alias
103+ logcat Show the log from the device
104+ p4a Run p4a commands. Args must come after --, or use --alias
105+ to make an alias
81106
82107
83108
0 commit comments