Commit 9d845464 authored by Jim Fulton's avatar Jim Fulton

At least on windows, if you pass an environment to subprocess, you

should pass a full environment. The rest of the buildout code already
does this.
parent 035402d1
......@@ -53,11 +53,10 @@ import pkg_resources
######################################################################
# Install buildout
if subprocess.call(
[sys.executable] +
['setup.py', '-q', 'develop', '-m', '-x', '-d', 'develop-eggs'],
env = {'PYTHONPATH': os.path.dirname(pkg_resources.__file__)}):
env=dict(os.environ, PYTHONPATH=os.path.dirname(pkg_resources.__file__))):
raise RuntimeError("buildout build failed.")
pkg_resources.working_set.add_entry('src')
......
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