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