changeset 295:5e00f8123001

installation: fixed wokkel hack
author Goffi <goffi@goffi.org>
date Fri, 18 Feb 2011 22:10:38 +0100
parents 9821e3dde550
children d1cc69161f3f
files setup.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Fri Feb 18 22:01:33 2011 +0100
+++ b/setup.py	Fri Feb 18 22:10:38 2011 +0100
@@ -81,6 +81,7 @@
         """Test if the custom wokkel is present, else get and build it"""
         if not module_installed('wokkel.muc'):
             sys.stdout.write ('Custom wokkel is not present, building it\n')
+            sys.stdout.flush()
             import tempfile
             ori_path = os.getcwd()
             work_path = tempfile.mkdtemp()
@@ -92,7 +93,7 @@
                         '%s pull -f http://hg.ik.nu/ralphm/wokkel-muc-client-support-24-2  -r 1b19c49d30c2' % hg_path,
                         '%s merge wokkel-muc-client-support-24' % hg_path,
                         '%s commit -u "SàT installation script" -m "Merged wokkel\'s MUC branch"' % hg_path,
-                        '%s setup.py %s' % (sys.executable, sys.argv[1:])]  #XXX: we use the same arguments as for this setup.py
+                        '%s setup.py %s' % (sys.executable, ' '.join(sys.argv[1:]))]  #XXX: we use the same arguments as for this setup.py
             for command in commands:
                 if command.startswith('cd '):
                     os.chdir(command[3:])