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