Make const.py.in work for Windows, too
svn: r14120
This commit is contained in:
parent
dfa56ecc72
commit
01f470db16
@ -41,8 +41,11 @@ from gettext import gettext as _
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
PROGRAM_NAME = "Gramps"
|
PROGRAM_NAME = "Gramps"
|
||||||
VERSION = "@VERSIONSTRING@"
|
if "@VERSIONSTRING@" == "@" + "VERSIONSTRING" + "@":
|
||||||
VERSION_TUPLE = map(int, "@VERSION@".split(".", 2))
|
VERSION = "3.2.0"
|
||||||
|
else:
|
||||||
|
VERSION = "@VERSIONSTRING@"
|
||||||
|
VERSION_TUPLE = (3, 2, 0)
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user