-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildozer.spec
78 lines (58 loc) · 2.3 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
77
78
[app]
# (str) Title of your application
# That chars can be cyrillic.
title = SecureKey
p4a.source_dir =/home/kivy/python-for-android
# (str) Package name
# That chars can't be cyrillic!
package.name = SecureKey
# (str) Package domain (needed for android/ios packaging)
package.domain = org.test
# (str) Source code where the main.py live
source.dir = .
# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas
# (str) Application versioning (method 1)
version = 0.6
# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy,android,bcrypt,android-toast,pyaes,pysos,androidstorage4kivy
# (str) Icon of the application
icon.filename = %(source.dir)s/data/legal_icons/icon.png
# (list) Supported orientations
# Valid options are: landscape, portrait, portrait-reverse or landscape-reverse
orientation = portrait
# (list) List of service to declare
services = MyService:./my_service.py:foreground
#
# OSX Specific
#
#
# author = © Copyright Info
# change the major version of python used by the app
osx.python_version = 3
# Kivy version to use
osx.kivy_version = 1.9.1
#
# Android specific
#
# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0
# (list) Permissions
# (See https://python-for-android.readthedocs.io/en/latest/buildoptions/#build-options-1 for all the supported syntaxes and properties)
android.permissions = WRITE_EXTERNAL_STORAGE,READ_EXTERNAL_STORAGE
# (str) Full name including package path of the Java class that implements Python Service
# use that parameter to set custom Java class which extends PythonService
android.service_class_name = org.kivy.android.PythonService
# android.add_resources = legal_resources
android.add_resources = data/legal_icons:drawable
# (list) The Android archs to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
# In past, was `android.arch` as we weren't supporting builds for multiple archs at the same time.
android.archs = arm64-v8a, armeabi-v7a
# (bool) enables Android auto backup feature (Android API >=23)
android.allow_backup = True
[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 = 1