tkivy/buildozer: read version number from file - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2f8574f7d78e3495c71253770d9a0241cbddaa0a DIR parent 7cf276c10b5bfde0c6f6f65ecd657a313f5c1eff HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 4 Sep 2015 14:40:00 +0200 kivy/buildozer: read version number from file Diffstat: M gui/kivy/tools/buildozer.spec | 6 +++--- M lib/version.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) --- DIR diff --git a/gui/kivy/tools/buildozer.spec b/gui/kivy/tools/buildozer.spec t@@ -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 DIR diff --git a/lib/version.py b/lib/version.py t@@ -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