comparison buildozer.spec @ 209:5e92bc937778

install (buildozer): added READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions for file sharing
author Goffi <goffi@goffi.org>
date Fri, 25 May 2018 12:06:52 +0200
parents fda3f22aa3ce
children ee4d7e923e92
comparison
equal deleted inserted replaced
208:c5c1dd7f88e1 209:5e92bc937778
38 38
39 # (list) Application requirements 39 # (list) Application requirements
40 # comma seperated e.g. requirements = sqlite3,kivy 40 # comma seperated e.g. requirements = sqlite3,kivy
41 requirements = hostpython2, kivy, sqlite3, 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 41 requirements = hostpython2, kivy, sqlite3, 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
42 # below are requirements for dev 42 # below are requirements for dev
43 # 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 43 # 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
44 44
45 45
46 # (str) Custom source folders for requirements 46 # (str) Custom source folders for requirements
47 # Sets custom source for any requirements with recipes 47 # Sets custom source for any requirements with recipes
48 # requirements.source.kivy = ../../kivy 48 # requirements.source.kivy = ../../kivy
55 55
56 # (str) Icon of the application 56 # (str) Icon of the application
57 icon.filename = %(source.dir)s/media/icons/muchoslava/png/cagou_profil_bleu_96.png 57 icon.filename = %(source.dir)s/media/icons/muchoslava/png/cagou_profil_bleu_96.png
58 58
59 # (str) Supported orientation (one of landscape, portrait or all) 59 # (str) Supported orientation (one of landscape, portrait or all)
60 # FIXME: all is not working at the moment, it's changing orientation even when blocked in Android
61 # and it crashed as soon as we move to landscade, without error message
60 orientation = portrait 62 orientation = portrait
61 63
62 # (list) List of service to declare 64 # (list) List of service to declare
63 #services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY 65 #services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
64 services = backend:backend/main.py 66 services = backend:backend/main.py
76 78
77 # (bool) Indicate if the application should be fullscreen or not 79 # (bool) Indicate if the application should be fullscreen or not
78 fullscreen = 1 80 fullscreen = 1
79 81
80 # (list) Permissions 82 # (list) Permissions
81 android.permissions = INTERNET, ACCESS_NETWORK_STATE, VIBRATE, RECORD_AUDIO 83 android.permissions = INTERNET, ACCESS_NETWORK_STATE, VIBRATE, RECORD_AUDIO, READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE
82 84
83 # (int) Android API to use 85 # (int) Android API to use
84 #android.api = 19 86 #android.api = 19
85 87
86 # (int) Minimum API required 88 # (int) Minimum API required