annotate src/buildozer.spec @ 83:741a7d6d8c28

garden: added contextmenu
author Goffi <goffi@goffi.org>
date Sat, 24 Dec 2016 14:16:58 +0100
parents 88e3071079a7
children 520a9e1a659b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 [app]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 # (str) Title of your application
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 title = Cagou
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
5
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 # (str) Package name
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 package.name = cagou
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
8
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 # (str) Package domain (needed for android/ios packaging)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 package.domain = org.goffi.cagou
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
11
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 # (str) Source code where the main.py live
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 source.dir = .
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
14
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 # (list) Source files to include (let empty to include all the files)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
16 source.include_exts = py,png,jpg,kv,atlas,conf
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 # FIXME: check if we can do sat.conf only, without every .conf
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
18
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
19 # (list) List of inclusions using pattern matching
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
20 #source.include_patterns = assets/*,images/*.png
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
21 source.include_patterns = media
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
22
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
23 # (list) Source files to exclude (let empty to not exclude anything)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 #source.exclude_exts = spec
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
25
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 # (list) List of directory to exclude (let empty to not exclude anything)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
27 #source.exclude_dirs = tests, bin
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
28
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 # (list) List of exclusions using pattern matching
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 #source.exclude_patterns = license,images/*/*.jpg
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
31
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
32 # (str) Application versioning (method 1)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 version = 0.1
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
34
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
35 # (str) Application versioning (method 2)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
36 # version.regex = __version__ = ['"](.*)['"]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
37 # version.filename = %(source.dir)s/main.py
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
38
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
39 # (list) Application requirements
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
40 # comma seperated e.g. requirements = sqlite3,kivy
74
88e3071079a7 buildozer: added plyer and VIBRATE permission for backend's android plugin
Goffi <goffi@goffi.org>
parents: 61
diff changeset
41 requirements = kivy, sqlite3, twisted, wokkel, pil, lxml, pyxdg, markdown, html2text, python-dateutil, pycrypto, pyopenssl, plyer
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
42
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
43 # (str) Custom source folders for requirements
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
44 # Sets custom source for any requirements with recipes
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
45 # requirements.source.kivy = ../../kivy
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
46
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
47 # (list) Garden requirements
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
48 #garden_requirements =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
49
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
50 # (str) Presplash of the application
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
51 #presplash.filename = %(source.dir)s/data/presplash.png
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
52
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
53 # (str) Icon of the application
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
54 #icon.filename = %(source.dir)s/data/icon.png
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
55
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
56 # (str) Supported orientation (one of landscape, portrait or all)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
57 orientation = portrait
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
58
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
59 # (list) List of service to declare
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
60 #services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
62 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
63 # OSX Specific
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
64 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
65
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
66 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
67 # author = © Copyright Info
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
68
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
69 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
70 # Android specific
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
71 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
72
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
73 # (bool) Indicate if the application should be fullscreen or not
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
74 fullscreen = 1
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
75
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
76 # (list) Permissions
74
88e3071079a7 buildozer: added plyer and VIBRATE permission for backend's android plugin
Goffi <goffi@goffi.org>
parents: 61
diff changeset
77 android.permissions = INTERNET, ACCESS_NETWORK_STATE, VIBRATE
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
78
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
79 # (int) Android API to use
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
80 #android.api = 19
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
81
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
82 # (int) Minimum API required
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
83 #android.minapi = 9
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
84
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
85 # (int) Android SDK version to use
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
86 #android.sdk = 20
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
87
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
88 # (str) Android NDK version to use
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
89 #android.ndk = 9c
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
90
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
91 # (bool) Use --private data storage (True) or --dir public storage (False)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
92 #android.private_storage = True
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
93
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
94 # (str) Android NDK directory (if empty, it will be automatically downloaded.)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
95 #android.ndk_path =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
96
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
97 # (str) Android SDK directory (if empty, it will be automatically downloaded.)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
98 #android.sdk_path =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
99
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
100 # (str) ANT directory (if empty, it will be automatically downloaded.)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
101 #android.ant_path =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
102
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
103 # (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
104 # we use our own p4a and mount in root dir on docker image
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
105 android.p4a_dir = /python-for-android-old
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
106
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
107 # (str) The directory in which python-for-android should look for your own build recipes (if any)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
108 #p4a.local_recipes =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
109
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
110 # (list) python-for-android whitelist
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
111 #android.p4a_whitelist =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
112
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
113 # (bool) If True, then skip trying to update the Android sdk
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
114 # This can be useful to avoid excess Internet downloads or save time
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
115 # when an update is due and you just want to test/build your package
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
116 # android.skip_update = False
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
117
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
118 # (str) Bootstrap to use for android builds (android_new only)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
119 # android.bootstrap = sdl2
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
120
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
121 # (str) Android entry point, default is ok for Kivy-based app
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
122 #android.entrypoint = org.renpy.android.PythonActivity
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
123
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
124 # (list) List of Java .jar files to add to the libs so that pyjnius can access
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
125 # their classes. Don't add jars that you do not need, since extra jars can slow
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
126 # down the build process. Allows wildcards matching, for example:
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
127 # OUYA-ODK/libs/*.jar
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
128 #android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
129
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
130 # (list) List of Java files to add to the android project (can be java or a
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
131 # directory containing the files)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
132 #android.add_src =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
133
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
134 # (str) python-for-android branch to use, if not master, useful to try
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
135 # not yet merged features.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
136 #android.branch = master
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
137
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
138 # (str) OUYA Console category. Should be one of GAME or APP
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
139 # If you leave this blank, OUYA support will not be enabled
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
140 #android.ouya.category = GAME
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
141
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
142 # (str) Filename of OUYA Console icon. It must be a 732x412 png image.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
143 #android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
144
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
145 # (str) XML file to include as an intent filters in <activity> tag
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
146 #android.manifest.intent_filters =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
147
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
148 # (list) Android additionnal libraries to copy into libs/armeabi
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
149 #android.add_libs_armeabi = libs/android/*.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
150 #android.add_libs_armeabi_v7a = libs/android-v7/*.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
151 #android.add_libs_x86 = libs/android-x86/*.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
152 #android.add_libs_mips = libs/android-mips/*.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
153
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
154 # (bool) Indicate whether the screen should stay on
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
155 # Don't forget to add the WAKE_LOCK permission if you set this to True
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
156 #android.wakelock = False
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
157
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
158 # (list) Android application meta-data to set (key=value format)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
159 #android.meta_data =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
160
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
161 # (list) Android library project to add (will be added in the
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
162 # project.properties automatically.)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
163 #android.library_references =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
164
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
165 # (str) Android logcat filters to use
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
166 #android.logcat_filters = *:S python:D
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
167
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
168 # (bool) Copy library instead of making a libpymodules.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
169 #android.copy_libs = 1
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
170
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
171 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
172 # iOS specific
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
173 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
174
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
175 # (str) Path to a custom kivy-ios folder
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
176 #ios.kivy_ios_dir = ../kivy-ios
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
177
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
178 # (str) Name of the certificate to use for signing the debug version
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
179 # Get a list of available identities: buildozer ios list_identities
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
180 #ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
181
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
182 # (str) Name of the certificate to use for signing the release version
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
183 #ios.codesign.release = %(ios.codesign.debug)s
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
184
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
185
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
186 [buildozer]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
187
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
188 # (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
189 log_level = 1
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
190
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
191 # (int) Display warning if buildozer is run as root (0 = False, 1 = True)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
192 warn_on_root = 1
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
193
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
194 # (str) Path to build artifact storage, absolute or relative to spec file
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
195 # build_dir = ./.buildozer
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
196
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
197 # (str) Path to build output (i.e. .apk, .ipa) storage
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
198 # bin_dir = ./bin
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
199
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
200 # -----------------------------------------------------------------------------
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
201 # List as sections
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
202 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
203 # You can define all the "list" as [section:key].
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
204 # Each line will be considered as a option to the list.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
205 # Let's take [app] / source.exclude_patterns.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
206 # Instead of doing:
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
207 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
208 #[app]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
209 #source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
210 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
211 # This can be translated into:
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
212 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
213 #[app:source.exclude_patterns]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
214 #license
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
215 #data/audio/*.wav
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
216 #data/images/original/*
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
217 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
218
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
219
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
220 # -----------------------------------------------------------------------------
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
221 # Profiles
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
222 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
223 # You can extend section / key with a profile
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
224 # For example, you want to deploy a demo version of your application without
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
225 # HD content. You could first change the title to add "(demo)" in the name
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
226 # and extend the excluded directories to remove the HD content.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
227 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
228 #[app@demo]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
229 #title = My Application (demo)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
230 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
231 #[app:source.exclude_patterns@demo]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
232 #images/hd/*
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
233 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
234 # Then, invoke the command line with the "demo" profile:
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
235 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
236 #buildozer --profile demo android debug