installation: fixed wokkel hack
This commit is contained in:
parent
1b4ae9bd43
commit
cefdd5aab4
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -81,6 +81,7 @@ class custom_install(install):
|
|||
"""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 @@ class custom_install(install):
|
|||
'%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:])
|
||||
|
|
|
|||
Loading…
Reference in a new issue