[X2Go-Commits] [pyhoca-gui] 17/71: CVix: monkey-patch SCRIPT_NAME from setup.py
git-admin at x2go.org
git-admin at x2go.org
Thu Mar 20 00:32:42 CET 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch cvix/2.x
in repository pyhoca-gui.
commit da47f0cd7a30473853a56795260d4a61d84c3cb2
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu Feb 6 00:05:38 2014 +0100
CVix: monkey-patch SCRIPT_NAME from setup.py
---
CVix_setup.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/CVix_setup.py b/CVix_setup.py
index 34306b6..c7e9fb5 100755
--- a/CVix_setup.py
+++ b/CVix_setup.py
@@ -22,6 +22,7 @@ import sys
import os
PROGRAM_NAME = 'CVix'
+SCRIPT_NAME = 'CVix.py'
PROGRAM_DESC = '%s Client is a tool to access CVix application servers' % PROGRAM_NAME
for line in file(os.path.join('pyhoca', 'wxgui', '__init__.py')).readlines():
if (line.startswith('__VERSION__')):
@@ -42,6 +43,7 @@ import platform
from CVix_nsis_template import NSIS_SCRIPT_TEMPLATE
# monkey patch pyhoca_setup.py
pyhoca_setup.NSIS_SCRIPT_TEMPLATE = NSIS_SCRIPT_TEMPLATE
+pyhoca_setup.SCRIPT_NAME = SCRIPT_NAME
if platform.system() == 'Windows':
@@ -75,7 +77,7 @@ setup(
cmdclass = pyhoca_setup.cmd_class,
windows = [
{
- "script": "CVix.py",
+ "script": SCRIPT_NAME,
"icon_resources": [(0, os.path.normpath(PROGRAM_ICON))],
"dest_base": PROGRAM_NAME,
},
--
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