Make const.py.in work for Windows, too

svn: r14120
This commit is contained in:
Doug Blank 2010-01-24 21:27:46 +00:00
parent dfa56ecc72
commit 01f470db16

View File

@ -41,8 +41,11 @@ from gettext import gettext as _
#
#-------------------------------------------------------------------------
PROGRAM_NAME = "Gramps"
VERSION = "@VERSIONSTRING@"
VERSION_TUPLE = map(int, "@VERSION@".split(".", 2))
if "@VERSIONSTRING@" == "@" + "VERSIONSTRING" + "@":
VERSION = "3.2.0"
else:
VERSION = "@VERSIONSTRING@"
VERSION_TUPLE = (3, 2, 0)
#-------------------------------------------------------------------------
#