Skip to content

Commit

Permalink
WIP Major buildozer.spec update, refs #146
Browse files Browse the repository at this point in the history
Align with last buildozer and p4a upstream changes and align with new
requirements.txt file.
  • Loading branch information
AndreMiras committed May 5, 2019
1 parent 8d21b15 commit 19eeef3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 47 deletions.
76 changes: 33 additions & 43 deletions buildozer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ source.include_exts = py,png,jpg,kv,atlas,md

# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin
source.exclude_dirs = bin, venv, src/python-for-android
source.exclude_dirs = python-for-android

# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg
Expand All @@ -38,42 +38,24 @@ version.filename = %(source.dir)s/version.py
# (list) Application requirements
# comma seperated e.g. requirements = sqlite3,kivy
requirements =
hostpython2,
kivy,
android,
setuptools,
openssl,
pycryptodome,
pysha3,
ethash,
scrypt,
bitcoin,
rlp==0.6.0,
repoze.lru,
PyYAML,
https://github.com/ethereum/pyethereum/archive/2e53bf3.zip,
devp2p==0.9.3,
coincurve==7.1.0,
gevent,
pbkdf2,
https://github.com/ethereum/pyethapp/archive/409331e88a397ce5276c430aff4a8866d413e45d.zip,
https://gitlab.com/kivymd/KivyMD/repository/archive.zip?ref=e81c02afbca915a4d71c85d3486f6710b53df2c1,
requests,
eth-hash==0.1.1,
pyelliptic==1.5.7,
cffi==1.11.5,
libsecp256k1==355a38f,
asn1crypto==0.24.0,
coincurve==7.1.0,
qrcode,
contextlib2,
raven,
libiconv,
libzbar,
zbar,
pil,
https://github.com/AndreMiras/garden.zbarcam/archive/20171220.zip
eth-hash==0.1.1,
eth-utils==1.4.1,
gevent,
https://github.com/AndreMiras/garden.zbarcam/archive/20190303.zip,
https://github.com/AndreMiras/KivyMD/archive/69f3e88.tar.gz,
Kivy==90c86f8,
openssl,
Pillow==4.1.1,
pycryptodome==3.4.6,
python3,
qrcode==5.3,
raven==6.1.0,
requests==2.20.0,
rlp==1.0.3,
setuptools==40.9.0,
web3==4.8.1
# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
Expand Down Expand Up @@ -125,20 +107,22 @@ fullscreen = 0
#android.presplash_color = #FFFFFF
# (list) Permissions
#android.permissions = INTERNET
android.permissions = INTERNET, CAMERA
# (int) Android API to use
#android.api = 19
# (int) Target Android API, should be as high as possible.
android.api = 27
# (int) Minimum API required
#android.minapi = 9
# (int) Minimum API your APK will support.
android.minapi = 21
# (int) Android SDK version to use
#android.sdk = 20
android.sdk = 20
# (str) Android NDK version to use
#android.ndk = 9c
android.ndk = 17c
# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
android.ndk_api = 21
# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True
Expand All @@ -157,6 +141,12 @@ android.permissions = INTERNET, CAMERA
# when an update is due and you just want to test/build your package
# android.skip_update = False
# (bool) If True, then automatically accept SDK license
# agreements. This is intended for automation only. If set to False,
# the default, you will be shown the license when first running
# buildozer.
android.accept_sdk_license = True
# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity
Expand Down Expand Up @@ -265,7 +255,7 @@ p4a.local_recipes = %(source.dir)s/python-for-android/recipes/
[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
Expand Down
8 changes: 4 additions & 4 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
eth-hash==0.1.1
eth-utils==1.4.1
web3==4.8.1
Kivy==1.10.1
https://github.com/AndreMiras/garden.zbarcam/archive/20190303.zip#egg=zbarcam
https://github.com/AndreMiras/KivyMD/archive/69f3e88.tar.gz#egg=kivymd
Kivy==1.10.1
Pillow==4.1.1
raven==6.1.0
https://github.com/AndreMiras/garden.zbarcam/archive/20190303.zip#egg=zbarcam
qrcode==5.3
raven==6.1.0
web3==4.8.1

0 comments on commit 19eeef3

Please sign in to comment.