Commit d34728d7 authored by Xavier Thompson's avatar Xavier Thompson

WIP Fix os.environ PYTHONPATH bug

parent 6621b7f0
......@@ -1696,8 +1696,8 @@ def call_pip_install(spec, dest):
else:
args.append('--no-python-version-warning')
env = copy.copy(os.environ)
python_path = copy.copy(pip_path)
env = os.environ.copy()
python_path = pip_path[:]
python_path.append(env.get('PYTHONPATH', ''))
env['PYTHONPATH'] = os.pathsep.join(python_path)
......
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