commit 2f8574f7d78e3495c71253770d9a0241cbddaa0a
parent 7cf276c10b5bfde0c6f6f65ecd657a313f5c1eff
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 4 Sep 2015 14:40:00 +0200
kivy/buildozer: read version number from file
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gui/kivy/tools/buildozer.spec b/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
diff --git a/lib/version.py b/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