From 30dba51614db46b2c339bbca80d47e73df5181e6 Mon Sep 17 00:00:00 2001 From: Tom Skinner Date: Sun, 6 Dec 2009 21:12:54 +0000 Subject: [PATCH] Fixes version for 3.x branch (readies 3.121 release) git-svn-id: http://fofix.googlecode.com/svn/MFH-Mod/branches/maintenance_3.x@1984 48f48816-a574-47fe-9a59-6914b3aef992 --- src/Version.py | 6 +++--- src/setup_exe.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Version.py b/src/Version.py index 2b7742f26..a8fa7b69d 100644 --- a/src/Version.py +++ b/src/Version.py @@ -22,7 +22,7 @@ import sys import os -VERSION = '3.' +VERSION = '3.121' URL = 'http://fofix.googlecode.com' def appName(): @@ -36,7 +36,7 @@ def revision(): try: revision = "x Maintenance (r%d)" % int(svntag.get_svn_info(os.path.dirname(__file__))['revnum']) except: - revision = "121 Final" + revision = "Final" return revision # evilynux: Returns version number w.r.t. frozen state @@ -48,7 +48,7 @@ def version(): us = os.path.abspath(unicode(sys.executable, sys.getfilesystemencoding())) version = win32api.GetFileVersionInfo(us, r'\StringFileInfo\%04x%04x\ProductVersion' % win32api.GetFileVersionInfo(us, r'\VarFileInfo\Translation')[0]) else: - version = VERSION + version = "%s%s" % ( VERSION, revision() ) else: version = "%s%s" % ( VERSION, revision() ) return version diff --git a/src/setup_exe.py b/src/setup_exe.py index 4f1c6217d..f44465c3e 100644 --- a/src/setup_exe.py +++ b/src/setup_exe.py @@ -150,7 +150,7 @@ def setupWindows(): "icon_resources": [(1, "fofix.ico")], "other_resources": [(RT_VERSION, 1, VersionResource( #stump: the parameter below must consist only of up to four numerical fields separated by dots - Version.versionNum(), + Version.VERSION, file_description="Frets on Fire X", legal_copyright=r"© 2008-2009 FoFiX Team. GNU GPL v2 or later.", company_name="FoFiX Team",