[X2Go-Commits] [pyhoca-gui] 01/01: Append "-YYYYMMDD" to the NSIS version string.

git-admin at x2go.org git-admin at x2go.org
Sat Jan 24 19:15:05 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 1442f57a5f9101145de2d264594eb3a472840f2b
Author: Mike DePaulo <mikedep333 at gmail.com>
Date:   Sat Jan 24 11:28:25 2015 -0500

    Append "-YYYYMMDD" to the NSIS version string.
---
 setup.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 64aeec9..ef0734b 100755
--- a/setup.py
+++ b/setup.py
@@ -22,6 +22,7 @@
 import sys
 import os
 import platform
+import datetime
 
 PROGRAM_NAME = 'PyHoca-GUI'
 # Windows:  UNINSTALL_NAME is for add/remove programs
@@ -35,7 +36,7 @@ __VERSION__ = '0.0.0.0'
 for line in file(os.path.join('pyhoca', 'wxgui', '__init__.py')).readlines():
     if (line.startswith('__VERSION__')):
         exec(line.strip())
-PROGRAM_VERSION = __VERSION__
+PROGRAM_VERSION = __VERSION__ + "-" + datetime.date.today().strftime('%Y%m%d')
 
 PROGRAM_ICON = "pixmaps/pyhoca_x2go-logo-ubuntu.ico"
 # Windows:  UNINSTALL_ICON is for add/remove programs.

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git


More information about the x2go-commits mailing list