add build version to const.py

This commit is contained in:
bpisoj 2017-06-10 21:33:23 +02:00
parent ecf02a023a
commit d6b26eff26

View File

@ -137,7 +137,7 @@ sys.path.insert(0, ROOT_DIR)
git_revision = get_git_revision(ROOT_DIR).replace('\n', '') git_revision = get_git_revision(ROOT_DIR).replace('\n', '')
if sys.platform == 'win32' and git_revision == "": if sys.platform == 'win32' and git_revision == "":
git_revision = get_git_revision(os.path.split(ROOT_DIR)[1]) git_revision = get_git_revision(os.path.split(ROOT_DIR)[1])
#VERSION += git_revision VERSION += git_revision
# #
# Glade files # Glade files