· 6 years ago · Sep 14, 2019, 10:10 PM
1[app]
2
3# (str) Title of your application
4title = "Text Adventure"
5
6# (str) Package name
7package.name = "davids_adventure"
8
9# (str) Package domain (needed for android/ios packaging)
10package.domain = org.adventure
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 = py,png,jpg,kv,atlas
17
18# (list) Source files to exclude (let empty to not exclude anything)
19#source.exclude_exts = spec
20
21# (list) List of directory to exclude (let empty to not exclude anything)
22#source.exclude_dirs = tests, bin
23
24# (list) List of exclusions using pattern matching
25#source.exclude_patterns = license,images/*/*.jpg
26
27# (str) Application versioning (method 1)
28#version.regex = __version__ = ['"](.*)['"]
29#version.filename = %(source.dir)s/main.py
30
31# (str) Application versioning (method 2)
32version = 1.0
33
34# (list) Application requirements
35# comma seperated e.g. requirements = sqlite3,kivy
36requirements = kivy,plyer
37
38# (str) Custom source folders for requirements
39# Sets custom source for any requirements with recipes
40# requirements.source.kivy = ../../kivy
41
42# (list) Garden requirements
43#garden_requirements =
44
45# (str) Presplash of the application
46#presplash.filename = %(source.dir)s/data/presplash.png
47
48# (str) Icon of the application
49#icon.filename = %(source.dir)s/data/icon.png
50
51# (str) Supported orientation (one of landscape, portrait or all)
52orientation = portrait
53
54# (bool) Indicate if the application should be fullscreen or not
55fullscreen = 0
56
57
58#
59# Android specific
60#
61
62# (list) Permissions
63#android.permissions =
64
65# (int) Android API to use
66#android.api = 14
67
68# (int) Minimum API required (8 = Android 2.2 devices)
69#android.minapi = 8
70
71# (int) Android SDK version to use
72#android.sdk = 21
73
74# (str) Android NDK version to use
75#android.ndk = 9c
76
77# (bool) Use --private data storage (True) or --dir public storage (False)
78android.private_storage = True
79
80# (str) Android NDK directory (if empty, it will be automatically downloaded.)
81#android.ndk_path =
82
83# (str) Android SDK directory (if empty, it will be automatically downloaded.)
84#android.sdk_path =
85
86# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
87#android.p4a_dir =
88
89# (list) python-for-android whitelist
90#android.p4a_whitelist =
91
92# (str) Android entry point, default is ok for Kivy-based app
93#android.entrypoint = org.renpy.android.PythonActivity
94
95# (list) List of Java .jar files to add to the libs so that pyjnius can access
96# their classes. Don't add jars that you do not need, since extra jars can slow
97# down the build process. Allows wildcards matching, for example:
98# OUYA-ODK/libs/*.jar
99#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
100
101# (list) List of Java files to add to the android project (can be java or a
102# directory containing the files)
103#android.add_src =
104
105# (str) python-for-android branch to use, if not master, useful to try
106# not yet merged features.
107#android.branch = master
108
109# (str) OUYA Console category. Should be one of GAME or APP
110# If you leave this blank, OUYA support will not be enabled
111#android.ouya.category = GAME
112
113# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
114#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
115
116# (str) XML file to include as an intent filters in <activity> tag
117#android.manifest.intent_filters =
118
119# (list) Android additionnal libraries to copy into libs/armeabi
120#android.add_libs_armeabi = libs/android/*.so
121#android.add_libs_armeabi_v7a = libs/android-v7/*.so
122#android.add_libs_x86 = libs/android-x86/*.so
123#android.add_libs_mips = libs/android-mips/*.so
124
125# (bool) Indicate whether the screen should stay on
126# Don't forget to add the WAKE_LOCK permission if you set this to True
127#android.wakelock = False
128
129# (list) Android application meta-data to set (key=value format)
130#android.meta_data =
131
132# (list) Android library project to add (will be added in the
133# project.properties automatically.)
134#android.library_references =
135
136#
137# iOS specific
138#
139
140# (str) Name of the certificate to use for signing the debug version
141# Get a list of available identities: buildozer ios list_identities
142#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
143
144# (str) Name of the certificate to use for signing the release version
145#ios.codesign.release = %(ios.codesign.debug)s
146
147
148[buildozer]
149
150# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
151log_level = 2
152
153# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
154warn_on_root = 0
155
156
157# -----------------------------------------------------------------------------
158# List as sections
159#
160# You can define all the "list" as [section:key].
161# Each line will be considered as a option to the list.
162# Let's take [app] / source.exclude_patterns.
163# Instead of doing:
164#
165#[app]
166#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
167#
168# This can be translated into:
169#
170#[app:source.exclude_patterns]
171#license
172#data/audio/*.wav
173#data/images/original/*
174#
175
176
177# -----------------------------------------------------------------------------
178# Profiles
179#
180# You can extend section / key with a profile
181# For example, you want to deploy a demo version of your application without
182# HD content. You could first change the title to add "(demo)" in the name
183# and extend the excluded directories to remove the HD content.
184#
185#[app@demo]
186#title = My Application (demo)
187#
188#[app:source.exclude_patterns@demo]
189#images/hd/*
190#
191# Then, invoke the command line with the "demo" profile:
192#
193#buildozer --profile demo android debug