-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
buildozer.spec
76 lines (53 loc) · 2.36 KB
/
buildozer.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[app]
# (str) Title of your application
title = KitchenSink
# (str) Package name
package.name = kitchensink
# (str) Package domain (needed for android/ios packaging)
package.domain = org.kivymd
# (str) Source code where the main.py live
source.dir = .
# (list) List of inclusions using pattern matching
source.include_patterns = assets/*
# (str) Presplash of the application
presplash.filename = %(source.dir)s/assets/images/presplash.png
# (str) Icon of the application
icon.filename = %(source.dir)s/assets/images/logo.png
# (string) Presplash background color (for new android toolchain)
android.presplash_color = #000000
# (list) Source files to include (let empty to include all the files)
source.include_exts = py, gif, png, jpg, jpeg, ttf, kv, json, txt, md
# (bool) Enable AndroidX support. Enable when 'android.gradle_dependencies'
# contains an 'androidx' package, or any package from Kotlin source.
# android.enable_androidx requires android.api >= 28
# android.enable_androidx = True
# (str) Application versioning (method 2)
version = 0.0.1
# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3, kivy==master, https://github.com/kivymd/KivyMD/archive/master.zip
# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = portrait
# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0
# (int) Target Android API, should be as high as possible.
# android.api = 31
# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
android.skip_update = False
# (bool) If True, then automatically accept SDK license
# agreements. This is intended for automation only. If set to False,
# the default, you will be shown the license when first running
# buildozer.
android.accept_sdk_license = True
# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
android.archs = armeabi-v7a, arm64-v8a
# android.release_artifact = apk
# (str) python-for-android branch to use, defaults to master
# p4a.branch = develop
[buildozer]
# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2
# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 0