[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 17:44:33 CET 2015


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

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

commit 03b4e45f1288d21d8c598a3ca71a1fbc6014879f
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 8a4ebd8..e66f27c 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