# HG changeset patch # User Goffi # Date 1523638691 -7200 # Node ID 8f33a7c092146240865f7defe22c18a512f8de85 # Parent b270fcc87304e7cf6b7463e31d0affd456b613c4 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build) diff -r b270fcc87304 -r 8f33a7c09214 android/sat.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/android/sat.conf Fri Apr 13 18:58:11 2018 +0200 @@ -0,0 +1,8 @@ +[DEFAULT] +bridge = pb +log_level = debug +log_fmt = #[%%(levelname)s][%%(name)s] %%(message)s + +[cagou] +log_level = debug +log_fmt = [%%(levelname)s][%%(name)s] %%(message)s diff -r b270fcc87304 -r 8f33a7c09214 assets/platform/android/sat.conf --- a/assets/platform/android/sat.conf Fri Apr 13 18:57:18 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -[DEFAULT] -bridge = pb -log_level = debug -log_fmt = #[%%(levelname)s][%%(name)s] %%(message)s - -[cagou] -log_level = debug -log_fmt = [%%(levelname)s][%%(name)s] %%(message)s diff -r b270fcc87304 -r 8f33a7c09214 buildozer.spec --- a/buildozer.spec Fri Apr 13 18:57:18 2018 +0200 +++ b/buildozer.spec Fri Apr 13 18:58:11 2018 +0200 @@ -13,21 +13,21 @@ source.dir = . # (list) Source files to include (let empty to include all the files) -source.include_exts = py,png,jpg,kv,atlas,conf +source.include_exts = py,png,jpg,kv,atlas,conf,json,svg,ttf # FIXME: check if we can do sat.conf only, without every .conf # (list) List of inclusions using pattern matching #source.include_patterns = assets/*,images/*.png -source.include_patterns = media +source.include_patterns = media,cagou,android,bin,service # (list) Source files to exclude (let empty to not exclude anything) #source.exclude_exts = spec # (list) List of directory to exclude (let empty to not exclude anything) -#source.exclude_dirs = tests, bin +source.exclude_dirs = env # (list) List of exclusions using pattern matching -#source.exclude_patterns = license,images/*/*.jpg +source.exclude_patterns = # (str) Application versioning (method 1) version = 0.1 @@ -38,14 +38,17 @@ # (list) Application requirements # comma seperated e.g. requirements = sqlite3,kivy -requirements = kivy, sqlite3, twisted, wokkel, pil, lxml, pyxdg, markdown, html2text, python-dateutil, pycrypto, pyopenssl, plyer, potr +requirements = hostpython2, kivy, sqlite3, pyopenssl, automat, attr, twisted, wokkel, sat, sat_tmp, pil, lxml, pyxdg, markdown, html2text, python-dateutil, pycrypto, plyer, android, python-potr, shortuuid, cryptography +# below are requirements for dev +# requirements = hostpython2, kivy, urwid, sqlite3, pyopenssl, automat, attr, twisted, wokkel, pudb, hg+http://10.0.0.1:8000#egg=sat, sat_tmp, pil, lxml, pyxdg, markdown, html2text, python-dateutil, pycrypto, plyer, android, python-potr, shortuuid, cryptography, automat + # (str) Custom source folders for requirements # Sets custom source for any requirements with recipes # requirements.source.kivy = ../../kivy # (list) Garden requirements -#garden_requirements = +garden_requirements = contextmenu # (str) Presplash of the application presplash.filename = %(source.dir)s/media/icons/muchoslava/png/cagou_profil_bleu_512.png @@ -58,6 +61,7 @@ # (list) List of service to declare #services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY +services = backend:backend/main.py # # OSX Specific @@ -102,7 +106,7 @@ # (str) python-for-android git clone directory (if empty, it will be automatically cloned from github) # we use our own p4a and mount in root dir on docker image -android.p4a_dir = /python-for-android-old +# android.p4a_dir = /python-for-android-old # (str) The directory in which python-for-android should look for your own build recipes (if any) #p4a.local_recipes = @@ -186,13 +190,14 @@ [buildozer] # (int) Log level (0 = error only, 1 = info, 2 = debug (with command output)) -log_level = 1 +log_level = 2 # (int) Display warning if buildozer is run as root (0 = False, 1 = True) warn_on_root = 1 # (str) Path to build artifact storage, absolute or relative to spec file # build_dir = ./.buildozer +build_dir = /build/buildozer-cagou # (str) Path to build output (i.e. .apk, .ipa) storage # bin_dir = ./bin