· 6 years ago · Dec 19, 2019, 06:52 PM
1[app]
2
3# (str) Title of your application
4title = DrinkAPP22
5
6# (str) Package name
7package.name = myapp
8
9# (str) Package domain (needed for android/ios packaging)
10package.domain = org.test
11
12# (str) Source code where the main.py live
13source.dir = .
14
15# (list) Source files to include (let empty to include all the files)
16source.include_exts =
17
18# (list) List of inclusions using pattern matching
19#source.include_patterns =
20
21# (list) Source files to exclude (let empty to not exclude anything)
22#source.exclude_exts = spec
23
24# (list) List of directory to exclude (let empty to not exclude anything)
25#source.exclude_dirs =
26
27# (list) List of exclusions using pattern matching
28#source.exclude_patterns =
29
30# (str) Application versioning (method 1)
31version = 0.3
32
33# (str) Application versioning (method 2)
34# version.regex = __version__ = ['"](.*)['"]
35# version.filename = %(source.dir)s/main.py
36
37# (list) Application requirements
38# comma separated e.g. requirements = sqlite3,kivy
39requirements = python3,kivy,requests,openpyxl
40# (str) Custom source folders for requirements
41# Sets custom source for any requirements with recipes
42# requirements.source.kivy = ../../kivy
43
44# (list) Garden requirements
45#garden_requirements =
46
47# (str) Presplash of the application
48#presplash.filename = %(source.dir)s/data/presplash.png
49
50# (str) Icon of the application
51#icon.filename = %(source.dir)s/data/icon.png
52
53# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
54orientation = portrait
55
56# (list) List of service to declare
57#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
58
59#
60# OSX Specific
61#
62
63#
64# author = © Copyright Info
65
66# change the major version of python used by the app
67osx.python_version = 3
68
69# Kivy version to use
70osx.kivy_version = 1.9.1
71
72#
73# Android specific
74#
75
76# (bool) Indicate if the application should be fullscreen or not
77fullscreen = 0
78
79# (string) Presplash background color (for new android toolchain)
80# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
81# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
82# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
83# olive, purple, silver, teal.
84#android.presplash_color = #FFFFFF
85
86# (list) Permissions
87#android.permissions = INTERNET
88
89# (int) Target Android API, should be as high as possible.
90#android.api = 27
91
92# (int) Minimum API your APK will support.
93#android.minapi = 21
94
95# (int) Android SDK version to use
96#android.sdk = 20
97
98# (str) Android NDK version to use
99#android.ndk = 17c
100
101# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
102#android.ndk_api = 21
103
104# (bool) Use --private data storage (True) or --dir public storage (False)
105#android.private_storage = True
106
107# (str) Android NDK directory (if empty, it will be automatically downloaded.)
108#android.ndk_path =
109
110# (str) Android SDK directory (if empty, it will be automatically downloaded.)
111#android.sdk_path =
112
113# (str) ANT directory (if empty, it will be automatically downloaded.)
114#android.ant_path =
115
116# (bool) If True, then skip trying to update the Android sdk
117# This can be useful to avoid excess Internet downloads or save time
118# when an update is due and you just want to test/build your package
119# android.skip_update = False
120
121# (bool) If True, then automatically accept SDK license
122# agreements. This is intended for automation only. If set to False,
123# the default, you will be shown the license when first running
124# buildozer.
125# android.accept_sdk_license = False
126
127# (str) Android entry point, default is ok for Kivy-based app
128#android.entrypoint = org.renpy.android.PythonActivity
129
130# (list) Pattern to whitelist for the whole project
131#android.whitelist =
132
133# (str) Path to a custom whitelist file
134#android.whitelist_src =
135
136# (str) Path to a custom blacklist file
137#android.blacklist_src =
138
139# (list) List of Java .jar files to add to the libs so that pyjnius can access
140# their classes. Don't add jars that you do not need, since extra jars can slow
141# down the build process. Allows wildcards matching, for example:
142# OUYA-ODK/libs/*.jar
143#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
144
145# (list) List of Java files to add to the android project (can be java or a
146# directory containing the files)
147#android.add_src =
148
149# (list) Android AAR archives to add (currently works only with sdl2_gradle
150# bootstrap)
151#android.add_aars =
152
153# (list) Gradle dependencies to add (currently works only with sdl2_gradle
154# bootstrap)
155#android.gradle_dependencies =
156
157# (list) Java classes to add as activities to the manifest.
158#android.add_activites = com.example.ExampleActivity
159
160# (str) OUYA Console category. Should be one of GAME or APP
161# If you leave this blank, OUYA support will not be enabled
162#android.ouya.category = GAME
163
164# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
165#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
166
167# (str) XML file to include as an intent filters in <activity> tag
168#android.manifest.intent_filters =
169
170# (str) launchMode to set for the main activity
171#android.manifest.launch_mode = standard
172
173# (list) Android additional libraries to copy into libs/armeabi
174#android.add_libs_armeabi = libs/android/*.so
175#android.add_libs_armeabi_v7a = libs/android-v7/*.so
176#android.add_libs_arm64_v8a = libs/android-v8/*.so
177#android.add_libs_x86 = libs/android-x86/*.so
178#android.add_libs_mips = libs/android-mips/*.so
179
180# (bool) Indicate whether the screen should stay on
181# Don't forget to add the WAKE_LOCK permission if you set this to True
182#android.wakelock = False
183
184# (list) Android application meta-data to set (key=value format)
185#android.meta_data =
186
187# (list) Android library project to add (will be added in the
188# project.properties automatically.)
189#android.library_references =
190
191# (list) Android shared libraries which will be added to AndroidManifest.xml using <uses-library> tag
192#android.uses_library =
193
194# (str) Android logcat filters to use
195#android.logcat_filters = *:S python:D
196
197# (bool) Copy library instead of making a libpymodules.so
198#android.copy_libs = 1
199
200# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
201android.arch = armeabi-v7a
202
203#
204# Python for android (p4a) specific
205#
206
207# (str) python-for-android fork to use, defaults to upstream (kivy)
208#p4a.fork = kivy
209
210# (str) python-for-android branch to use, defaults to master
211#p4a.branch = master
212
213# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
214#p4a.source_dir =
215
216# (str) The directory in which python-for-android should look for your own build recipes (if any)
217#p4a.local_recipes =
218
219# (str) Filename to the hook for p4a
220#p4a.hook =
221
222# (str) Bootstrap to use for android builds
223# p4a.bootstrap = sdl2
224
225# (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
226#p4a.port =
227
228
229#
230# iOS specific
231#
232
233# (str) Path to a custom kivy-ios folder
234#ios.kivy_ios_dir = ../kivy-ios
235# Alternately, specify the URL and branch of a git checkout:
236ios.kivy_ios_url = https://github.com/kivy/kivy-ios
237ios.kivy_ios_branch = master
238
239# Another platform dependency: ios-deploy
240# Uncomment to use a custom checkout
241#ios.ios_deploy_dir = ../ios_deploy
242# Or specify URL and branch
243ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
244ios.ios_deploy_branch = 1.7.0
245
246# (str) Name of the certificate to use for signing the debug version
247# Get a list of available identities: buildozer ios list_identities
248#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
249
250# (str) Name of the certificate to use for signing the release version
251#ios.codesign.release = %(ios.codesign.debug)s
252
253
254[buildozer]
255
256# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
257log_level = 2
258
259# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
260warn_on_root = 1
261
262# (str) Path to build artifact storage, absolute or relative to spec file
263# build_dir = ./.buildozer
264
265# (str) Path to build output (i.e. .apk, .ipa) storage
266# bin_dir = ./bin
267
268# -----------------------------------------------------------------------------
269# List as sections
270#
271# You can define all the "list" as [section:key].
272# Each line will be considered as a option to the list.
273# Let's take [app] / source.exclude_patterns.
274# Instead of doing:
275#
276#[app]
277#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
278#
279# This can be translated into:
280#
281#[app:source.exclude_patterns]
282#license
283#data/audio/*.wav
284#data/images/original/*
285#
286
287
288# -----------------------------------------------------------------------------
289# Profiles
290#
291# You can extend section / key with a profile
292# For example, you want to deploy a demo version of your application without
293# HD content. You could first change the title to add "(demo)" in the name
294# and extend the excluded directories to remove the HD content.
295#
296#[app@demo]
297#title = My Application (demo)
298#
299#[app:source.exclude_patterns@demo]
300#images/hd/*
301#
302# Then, invoke the command line with the "demo" profile:
303#
304#buildozer --profile demo android debug