annotate buildozer.spec @ 466:cd448b877d1d

install: update requirements with alabaster==0.7.12 alembic==1.4.3 anki @ file:///build/anki/src/anki/dist/anki-2.1.35-py3-none-any.whl ankirspy @ file:///build/anki/src/anki/dist/ankirspy-2.1.35-cp39-cp39-manylinux1_x86_64.whl ansi2html==1.6.0 anytree==2.8.0 apipkg==1.5 apparmor==3.0.1 appdirs==1.4.4 appimage-builder==0.8.5 aqt @ file:///build/anki/src/anki/dist/aqt-2.1.35-py3-none-any.whl argcomplete==1.12.1 argon2-cffi==20.1.0 asn1crypto==1.4.0 async-generator==1.10 attrs==20.3.0 autobahn==21.3.1 Automat==20.2.0 autopep8==1.5.5 Babel==2.9.0 backcall==0.2.0 bcrypt==3.2.0 Beaker==1.11.0 beautifulsoup4==4.9.3 black==20.8b1 bleach==3.3.0 blinker==1.4 bmap-tools==3.5 breezy==3.1.0 Brlapi==0.8.2 btrfsutil==5.11 CacheControl==0.12.6 cached-property==1.5.2 cagou==0.8.0.dev0+83c67b093350.153 cairocffi==1.2.0 CairoSVG==2.5.2 certifi==2020.6.20 cffi==1.14.5 chardet==3.0.4 click==7.1.2 colorama==0.4.4 commonmark==0.9.1 configobj==5.1.0.dev0 constantly==15.1.0 contextlib2==0.6.0.post1 coverage==5.5 cryptography==3.4.6 css-parser==1.0.6 cssselect2==0.4.1 cycler==0.10.0 Cython==0.29.22 decorator==4.4.2 defusedxml==0.6.0 diffoscope==169 distlib==0.3.1 distro==1.5.0 docker==4.4.4 docker-compose==1.28.5 docker-pycreds==0.4.0 dockerpty==0.4.1 docopt==0.6.2 docutils==0.16 dulwich==0.20.20 emrichen==0.2.3 entrypoints==0.3 extras==1.0.0 fastimport==0.9.8 file-magic==0.4.0 filelock==3.0.12 fixtures==3.0.0 flake8==3.8.4 Flask==1.1.2 Flask-BabelEx==0.9.4 Flask-Compress==1.8.0 Flask-Cors==3.0.9 Flask-Gravatar==0.5.0 Flask-Login==0.5.0 Flask-Mail==0.9.1 Flask-Migrate==2.7.0 Flask-Paranoid==0.2.0 Flask-Principal==0.4.0 Flask-Script==2.0.6 Flask-Security-Too==3.3.3 Flask-SQLAlchemy==2.4.4 Flask-WTF==0.14.3 future==0.18.2 gajim==1.2.2 gssapi==1.6.12 html2text==2020.1.16 html5lib==1.1 httpie==2.4.0 httplib2==0.19.0 hyperlink==21.0.0 idna==2.10 imagesize==1.2.0 img2pdf==0.4.0 importlib-metadata==3.4.0 incremental==17.5.0 inflect==5.3.0 iniconfig==1.1.1 ipdb==0.13.6 ipykernel==5.4.2 ipython==7.19.0 ipython-genutils==0.2.0 ipywidgets==7.6.2 isc==2.0 itsdangerous==1.1.0 jedi==0.17.2 jeepney==0.6.0 Jinja2==2.11.3 joblib==1.0.0 jsonpath-rw==1.4.0 jsonpickle==1.5.1 jsonschema==3.2.0 jupyter-client==6.1.7 jupyter-console==6.2.0 jupyter-core==4.6.3 jupyterlab-pygments==0.1.2 keyring==23.0.0 Kivy==2.0.0 kiwisolver==1.3.1 langdetect==1.0.8 ldap3==2.9.dev0 lensfun==0.3.95 LibAppArmor==3.0.1 libarchive-c==2.9 libfdt==1.6.0 libnacl==1.7.2 lockfile==0.12.2 louis==3.17.0 lxml==4.6.2 Mako==1.1.4 Markdown==3.3.3 MarkupSafe==1.1.1 matplotlib==3.3.4 mccabe==0.6.1 meld==3.20.3 mercurial==5.7.1 meson==0.57.1 miniupnpc==2.1 mistune==0.8.4 more-itertools==8.6.0 msgpack==1.0.2 mypy==0.812 mypy-extensions==0.4.3 natsort==7.1.1 nbclient==0.5.1 nbconvert==6.0.7 nbformat==5.0.8 nbxmpp==1.0.2 nest-asyncio==1.4.3 netifaces==0.10.9 netsnmp-python==1.0a1 networkx==2.5 nltk==3.5 nose==1.3.7 notebook==6.2.0 Nuitka==0.6.12.3 numpy==1.20.1 openshot-qt==2.5.1 ordered-set==4.0.2 orjson @ file:///build/python-orjson/src/python-orjson-3.5.1/target/wheels/orjson-3.5.1-cp39-cp39-manylinux2010_x86_64.whl packaging==20.9 pandas==1.2.3 pandocfilters==1.4.3 paramiko==2.7.2 parso==0.7.1 passlib==1.7.4 path==15.1.2 pathspec==0.8.1 patiencediff==0.2.1 pbr==5.5.1 pdfarranger==1.7.0 pep517==0.9.1 pexpect==4.8.0 pickleshare==0.7.5 pikepdf==2.8.0.post2 Pillow==8.1.0 pluggy==0.13.1 ply==3.11 precis-i18n==1.0.3 progress==1.5 progressbar2==3.53.1 prometheus-client==0.9.0 prompt-toolkit==3.0.17 protobuf==3.12.4 psutil==5.8.0 psycopg2==2.8.6 ptyprocess==0.7.0 pudb==2020.1 pwquality==1.4.4 py==1.10.0 pyaml==20.4.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 PyAudio==0.2.11 pybind11==2.6.2 pycairo==1.20.0 pycodestyle==2.6.0 pycountry==20.7.3 pycparser==2.20 pydocstyle==5.1.1 pyenchant==3.2.0 pyflakes==2.2.0 Pygments==2.8.1 PyGObject==3.38.0 PyHamcrest==1.9.0 pyinotify==0.9.6 pymediainfo==5.0.3 PyNaCl==1.4.0 PyOpenGL==3.1.5 pyOpenSSL==20.0.1 pyparsing==2.4.7 pyPEG2==2.15.2 PyQt5==5.15.4 PyQt5-sip==12.8.1 PyQtWebEngine==5.15.4 pyrsistent==0.17.3 PySocks==1.7.1 pytest==6.2.2 python-dateutil==2.8.1 python-dotenv==0.15.0 python-editor==1.0.4 python-Levenshtein==0.12.2 python-mimeparse==1.6.0 python-utils==2.5.6 python-xlib==0.29 pytoml==0.1.21 pytz==2021.1 pyxdg==0.26 PyYAML==5.3.1 pyzmq==20.0.0 questionary==1.9.0 qutebrowser==2.1.0 Reflector==2021.1.10.0.6.34 regex==2020.11.13 requests==2.25.1 requests-toolbelt==0.9.1 requirements-parser==0.2.0 resolvelib==0.5.4 retrying==1.3.3 s3cmd==2.1.0 schema==0.7.4 scikit-learn==0.24.1 scipy==1.6.1 scons==3.1.2 screenkey==1.4 SecretStorage==3.3.1 Send2Trash==1.5.0 service-identity==18.1.0 sh==1.14.1 shortuuid==1.0.1 simplejson==3.17.2 sip==4.19.25 six==1.15.0 snowballstemmer==2.1.0 soupsieve==2.2 speaklater==1.3 Sphinx==3.5.2 sphinx-rtd-theme==0.5.1 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==1.0.3 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.4 sqlacodegen==2.3.0 SQLAlchemy==1.3.23 sqlparse==0.4.1 sshtunnel==0.1.5 subdownloader==2.1.0 systemd-python==234 team==1.0 termcolor==1.1.0 terminado==0.9.2 terminator==2.1.0 testpath==0.4.4 testtools==2.4.0 texttable==1.6.3 threadpoolctl==2.1.0 tinycss2==1.1.0 tlsh==0.2.0 toml==0.10.2 tornado==6.1 traitlets==5.0.5 treq==21.1.0 Twisted==20.3.0 txaio==21.2.1 typed-ast==1.4.2 typing-extensions==3.7.4.3 tzlocal==2.1 urllib3==1.26.3 urwid==2.1.1 validate==5.1.0.dev0 virtualenv==20.4.2 waitress==1.4.4 wcwidth==0.2.5 webencodings==0.5.1 websocket-client==0.58.0 Werkzeug==1.0.1 Whoosh==2.7.4 widgetsnbextension==3.5.1 wsaccel==0.6.3 WTForms==2.2.1 xcffib==0.11.1 youtube-dl==2021.3.3 zipp==3.4.1 zope.interface==5.2.0
author Goffi <goffi@goffi.org>
date Sat, 20 Mar 2021 14:26:33 +0100
parents 83c67b093350
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 [app]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 # (str) Title of your application
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 title = Cagou
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
5
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 # (str) Package name
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 package.name = cagou
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
8
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 # (str) Package domain (needed for android/ios packaging)
462
83c67b093350 android: renamed package from org.salutatoi.cagou to org.libervia.cagou
Goffi <goffi@goffi.org>
parents: 240
diff changeset
10 package.domain = org.libervia
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
11
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 # (str) Source code where the main.py live
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 source.dir = .
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
14
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 # (list) Source files to include (let empty to include all the files)
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
16 source.include_exts = py,png,jpg,kv,atlas,conf,json,svg,ttf
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 # FIXME: check if we can do sat.conf only, without every .conf
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
18
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
19 # (list) List of inclusions using pattern matching
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
20 #source.include_patterns = assets/*,images/*.png
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
21 source.include_patterns = media,cagou,android,bin,service
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
22
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
23 # (list) Source files to exclude (let empty to not exclude anything)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 #source.exclude_exts = spec
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
25
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 # (list) List of directory to exclude (let empty to not exclude anything)
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
27 source.exclude_dirs = env
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
28
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 # (list) List of exclusions using pattern matching
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
30 source.exclude_patterns =
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
31
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
32 # (str) Application versioning (method 1)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 version = 0.1
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
34
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
35 # (str) Application versioning (method 2)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
36 # version.regex = __version__ = ['"](.*)['"]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
37 # version.filename = %(source.dir)s/main.py
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
38
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
39 # (list) Application requirements
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
40 # comma seperated e.g. requirements = sqlite3,kivy
224
ee4d7e923e92 build (buildozer.spec): added some missing dependencies
Goffi <goffi@goffi.org>
parents: 209
diff changeset
41 requirements = hostpython2, kivy, sqlite3, openssl, pyopenssl, automat, attr, twisted, wokkel, hg+https://repos.goffi.org/sat#egg=sat, sat_tmp, pil, lxml, pyxdg, markdown, html2text, python-dateutil, pycrypto, plyer, android, python-potr, shortuuid, cryptography, babel
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
42 # below are requirements for dev
224
ee4d7e923e92 build (buildozer.spec): added some missing dependencies
Goffi <goffi@goffi.org>
parents: 209
diff changeset
43 # requirements = hostpython2, kivy, urwid, sqlite3, openssl, 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, babel
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
44
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
45
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
46 # (str) Custom source folders for requirements
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
47 # Sets custom source for any requirements with recipes
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
48 # requirements.source.kivy = ../../kivy
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
49
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
50 # (list) Garden requirements
191
fda3f22aa3ce install: added modermenu to requirements
Goffi <goffi@goffi.org>
parents: 182
diff changeset
51 garden_requirements = contextmenu, modernmenu
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
52
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
53 # (str) Presplash of the application
91
520a9e1a659b use of cagou_profile_bleu as Cagou's main icon
Goffi <goffi@goffi.org>
parents: 74
diff changeset
54 presplash.filename = %(source.dir)s/media/icons/muchoslava/png/cagou_profil_bleu_512.png
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
55
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
56 # (str) Icon of the application
91
520a9e1a659b use of cagou_profile_bleu as Cagou's main icon
Goffi <goffi@goffi.org>
parents: 74
diff changeset
57 icon.filename = %(source.dir)s/media/icons/muchoslava/png/cagou_profil_bleu_96.png
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
58
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
59 # (str) Supported orientation (one of landscape, portrait or all)
209
5e92bc937778 install (buildozer): added READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions for file sharing
Goffi <goffi@goffi.org>
parents: 191
diff changeset
60 # FIXME: all is not working at the moment, it's changing orientation even when blocked in Android
5e92bc937778 install (buildozer): added READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions for file sharing
Goffi <goffi@goffi.org>
parents: 191
diff changeset
61 # and it crashed as soon as we move to landscade, without error message
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
62 orientation = portrait
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
63
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
64 # (list) List of service to declare
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
65 #services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
66 services = backend:backend/main.py
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
67
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
68 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
69 # OSX Specific
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
70 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
71
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
72 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
73 # author = © Copyright Info
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
74
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
75 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
76 # Android specific
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
77 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
78
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
79 # (bool) Indicate if the application should be fullscreen or not
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
80 fullscreen = 1
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
81
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
82 # (list) Permissions
209
5e92bc937778 install (buildozer): added READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions for file sharing
Goffi <goffi@goffi.org>
parents: 191
diff changeset
83 android.permissions = INTERNET, ACCESS_NETWORK_STATE, VIBRATE, RECORD_AUDIO, READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
84
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
85 # (int) Android API to use
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
86 #android.api = 19
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
87
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
88 # (int) Minimum API required
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
89 #android.minapi = 9
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
90
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
91 # (int) Android SDK version to use
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
92 #android.sdk = 20
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
93
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
94 # (str) Android NDK version to use
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
95 #android.ndk = 9c
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
96
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
97 # (bool) Use --private data storage (True) or --dir public storage (False)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
98 #android.private_storage = True
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
99
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
100 # (str) Android NDK directory (if empty, it will be automatically downloaded.)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
101 #android.ndk_path =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
102
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
103 # (str) Android SDK directory (if empty, it will be automatically downloaded.)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
104 #android.sdk_path =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
105
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
106 # (str) ANT directory (if empty, it will be automatically downloaded.)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
107 #android.ant_path =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
108
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
109 # (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
110 # we use our own p4a and mount in root dir on docker image
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
111 # android.p4a_dir = /python-for-android-old
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
112
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
113 # (str) The directory in which python-for-android should look for your own build recipes (if any)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
114 #p4a.local_recipes =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
115
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
116 # (list) python-for-android whitelist
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
117 #android.p4a_whitelist =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
118
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
119 # (bool) If True, then skip trying to update the Android sdk
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
120 # This can be useful to avoid excess Internet downloads or save time
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
121 # when an update is due and you just want to test/build your package
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
122 # android.skip_update = False
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
123
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
124 # (str) Bootstrap to use for android builds (android_new only)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
125 # android.bootstrap = sdl2
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
126
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
127 # (str) Android entry point, default is ok for Kivy-based app
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
128 #android.entrypoint = org.renpy.android.PythonActivity
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
129
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
130 # (list) List of Java .jar files to add to the libs so that pyjnius can access
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
131 # their classes. Don't add jars that you do not need, since extra jars can slow
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
132 # down the build process. Allows wildcards matching, for example:
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
133 # OUYA-ODK/libs/*.jar
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
134 #android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
135
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
136 # (list) List of Java files to add to the android project (can be java or a
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
137 # directory containing the files)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
138 #android.add_src =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
139
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
140 # (str) python-for-android branch to use, if not master, useful to try
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
141 # not yet merged features.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
142 #android.branch = master
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
143
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
144 # (str) OUYA Console category. Should be one of GAME or APP
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
145 # If you leave this blank, OUYA support will not be enabled
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
146 #android.ouya.category = GAME
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
147
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
148 # (str) Filename of OUYA Console icon. It must be a 732x412 png image.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
149 #android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
150
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
151 # (str) XML file to include as an intent filters in <activity> tag
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
152 #android.manifest.intent_filters =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
153
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
154 # (list) Android additionnal libraries to copy into libs/armeabi
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
155 #android.add_libs_armeabi = libs/android/*.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
156 #android.add_libs_armeabi_v7a = libs/android-v7/*.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
157 #android.add_libs_x86 = libs/android-x86/*.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
158 #android.add_libs_mips = libs/android-mips/*.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
159
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
160 # (bool) Indicate whether the screen should stay on
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
161 # Don't forget to add the WAKE_LOCK permission if you set this to True
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
162 #android.wakelock = False
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
163
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
164 # (list) Android application meta-data to set (key=value format)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
165 #android.meta_data =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
166
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
167 # (list) Android library project to add (will be added in the
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
168 # project.properties automatically.)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
169 #android.library_references =
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
170
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
171 # (str) Android logcat filters to use
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
172 #android.logcat_filters = *:S python:D
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
173
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
174 # (bool) Copy library instead of making a libpymodules.so
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
175 #android.copy_libs = 1
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
176
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
177 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
178 # iOS specific
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
179 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
180
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
181 # (str) Path to a custom kivy-ios folder
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
182 #ios.kivy_ios_dir = ../kivy-ios
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
183
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
184 # (str) Name of the certificate to use for signing the debug version
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
185 # Get a list of available identities: buildozer ios list_identities
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
186 #ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
187
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
188 # (str) Name of the certificate to use for signing the release version
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
189 #ios.codesign.release = %(ios.codesign.debug)s
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
190
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
191
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
192 [buildozer]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
193
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
194 # (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
195 log_level = 2
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
196
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
197 # (int) Display warning if buildozer is run as root (0 = False, 1 = True)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
198 warn_on_root = 1
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
199
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
200 # (str) Path to build artifact storage, absolute or relative to spec file
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
201 # build_dir = ./.buildozer
140
8f33a7c09214 build (buildozer.spec): updated buildozer spec to build with new toolchain (and code evolution since last build)
Goffi <goffi@goffi.org>
parents: 126
diff changeset
202 build_dir = /build/buildozer-cagou
61
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
203
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
204 # (str) Path to build output (i.e. .apk, .ipa) storage
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
205 # bin_dir = ./bin
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
206
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
207 # -----------------------------------------------------------------------------
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
208 # List as sections
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
209 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
210 # You can define all the "list" as [section:key].
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
211 # Each line will be considered as a option to the list.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
212 # Let's take [app] / source.exclude_patterns.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
213 # Instead of doing:
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
214 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
215 #[app]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
216 #source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
217 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
218 # This can be translated into:
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
219 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
220 #[app:source.exclude_patterns]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
221 #license
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
222 #data/audio/*.wav
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
223 #data/images/original/*
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
224 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
225
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
226
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
227 # -----------------------------------------------------------------------------
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
228 # Profiles
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
229 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
230 # You can extend section / key with a profile
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
231 # For example, you want to deploy a demo version of your application without
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
232 # HD content. You could first change the title to add "(demo)" in the name
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
233 # and extend the excluded directories to remove the HD content.
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
234 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
235 #[app@demo]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
236 #title = My Application (demo)
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
237 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
238 #[app:source.exclude_patterns@demo]
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
239 #images/hd/*
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
240 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
241 # Then, invoke the command line with the "demo" profile:
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
242 #
0b7f10de416e android: android build first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
243 #buildozer --profile demo android debug