[X2Go-Commits] [pyhoca-gui] 01/08: Explicitly add pyhoca.mswin to setup.py if building on MS Windows.

git-admin at x2go.org git-admin at x2go.org
Fri Feb 21 11:11:05 CET 2014


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

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

commit 59cb5117c6fdf8f849491be461aa9a7b1671288b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Feb 7 15:06:27 2014 +0100

    Explicitly add pyhoca.mswin to setup.py if building on MS Windows.
---
 debian/changelog |    1 +
 setup.py         |    4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2d7db4e..0a49617 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low
   * NSIS script: empty installation destination before installing new files
     into $INSTDIR.
   * Allow appname based mini icons on About... windows.
+  * Explicitly add pyhoca.mswin to setup.py if building on MS Windows.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 08 Jan 2014 21:28:37 +0100
 
diff --git a/setup.py b/setup.py
index a12cdfb..9ab5b58 100755
--- a/setup.py
+++ b/setup.py
@@ -296,8 +296,10 @@ if platform.system() == 'Windows':
         }
     }
     cmd_options.update({ 'build_exe': cmd_options['build_with_{freezer}'.format(freezer=default_win32exe_freezer)] })
+    packages = [ 'pyhoca.wxgui', 'pyhoca.mswin', ]
 else:
     cmd_options={}
+    packages = [ 'pyhoca.wxgui', ]
 
 
 if __name__ == "__main__":
@@ -309,7 +311,7 @@ if __name__ == "__main__":
         author = AUTHOR,
         url = URL,
         namespace_packages = [ 'pyhoca', ],
-        packages = [ 'pyhoca.wxgui', ],
+        packages = packages,
         package_dir = {'': '.'},
         install_requires = [ 'setuptools', ],
         cmdclass = cmd_class,

--
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