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