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