@@ -28,15 +28,18 @@ source.include_exts = py,png,jpg,kv,atlas
2828# source.exclude_patterns = license,images/*/*.jpg
2929
3030# (str) Application versioning (method 1)
31- version = 0.1
31+ # version = 0.1
3232
3333# (str) Application versioning (method 2)
3434# version.regex = __version__ = ['"](.*)['"]
35+ version.regex = __version__ = [' "](.*)[' " ]
3536# version.filename = %(source.dir)s/main.py
37+ version.filename = %(source.dir)s/zbarcam/version.py
3638
3739# (list) Application requirements
3840# comma seperated e.g. requirements = sqlite3,kivy
39- requirements = kivy, pil, libiconv, libzbar, zbar
41+ requirements = kivy, pil, libiconv, libzbar, zbarlight==1.2
42+
4043
4144# (str) Custom source folders for requirements
4245# Sets custom source for any requirements with recipes
@@ -118,6 +121,12 @@ android.permissions = CAMERA
118121# when an update is due and you just want to test/build your package
119122# android.skip_update = False
120123
124+ # (bool) If True, then automatically accept SDK license
125+ # agreements. This is intended for automation only. If set to False,
126+ # the default, you will be shown the license when first running
127+ # buildozer.
128+ android.accept_sdk_license = True
129+
121130# (str) Android entry point, default is ok for Kivy-based app
122131#android.entrypoint = org.renpy.android.PythonActivity
123132
@@ -150,6 +159,7 @@ android.permissions = CAMERA
150159
151160# (str) python-for-android branch to use, defaults to master
152161#p4a.branch = stable
162+ p4a.branch = master
153163
154164# (str) OUYA Console category. Should be one of GAME or APP
155165# If you leave this blank, OUYA support will not be enabled
@@ -196,6 +206,7 @@ android.arch = armeabi-v7a
196206
197207# (str) The directory in which python-for-android should look for your own build recipes (if any)
198208#p4a.local_recipes =
209+ p4a.local_recipes = %(source.dir)s/python-for-android/recipes/
199210
200211# (str) Filename to the hook for p4a
201212#p4a.hook =
@@ -222,7 +233,7 @@ android.arch = armeabi-v7a
222233[buildozer]
223234
224235# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
225- log_level = 2
236+ log_level = 1
226237
227238# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
228239warn_on_root = 1
0 commit comments