kivy/buildozer: read version number from file

This commit is contained in:
ThomasV 2015-09-04 14:40:00 +02:00
parent 7cf276c10b
commit 2f8574f7d7
2 changed files with 4 additions and 4 deletions

View File

@ -25,11 +25,11 @@ source.exclude_exts = spec
#source.exclude_patterns = license,images/*/*.jpg
# (str) Application versioning (method 1)
#version.regex = __version__ = '(.*)'
#version.filename = %(source.dir)s/main.py
version.regex = ELECTRUM_VERSION = '(.*)'
version.filename = %(source.dir)s/lib/version.py
# (str) Application versioning (method 2)
version = 1.9.8
#version = 1.9.8
# (list) Application requirements
requirements = tlslite, openssl, pyopenssl, pil, qrcode, ecdsa, pbkdf2, pyasn1, pyasn1-modules, plyer==master, kivy==master

View File

@ -1,4 +1,4 @@
ELECTRUM_VERSION = "2.5" # version of the client package
ELECTRUM_VERSION = '2.5' # version of the client package
PROTOCOL_VERSION = '0.10' # protocol version requested
NEW_SEED_VERSION = 11 # electrum versions >= 2.0
OLD_SEED_VERSION = 4 # electrum versions < 2.0