Commit 90bc44f9 authored by Alex Clark's avatar Alex Clark

"Fix" another Windows regression

parent 4f4e1ba2
...@@ -1182,10 +1182,12 @@ def develop(setup, dest, ...@@ -1182,10 +1182,12 @@ def develop(setup, dest,
if log_level < logging.DEBUG: if log_level < logging.DEBUG:
logger.debug("in: %r\n%s", directory, ' '.join(args)) logger.debug("in: %r\n%s", directory, ' '.join(args))
p = subprocess.Popen( # XXX It looks like someone tried to get clever with "bad" develop eggs, but this
[_safe_arg(executable)] + args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) # currently fails on Windows
if p.wait() > 0: #p = subprocess.Popen(
raise zc.buildout.UserError("Installing develop egg failed: %s" % p.stderr.read()) # [_safe_arg(executable)] + args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
#if p.wait() > 0:
# raise zc.buildout.UserError("Installing develop egg failed: %s" % p.stderr.read())
return _copyeggs(tmp3, dest, '.egg-link', undo) return _copyeggs(tmp3, dest, '.egg-link', undo)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment