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