Browse Source

kivy/buildozer: read version number from file

283
ThomasV 10 years ago
parent
commit
2f8574f7d7
  1. 6
      gui/kivy/tools/buildozer.spec
  2. 2
      lib/version.py

6
gui/kivy/tools/buildozer.spec

@ -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

2
lib/version.py

@ -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

Loading…
Cancel
Save