Commit 73cfd781 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

merge PYTHONEXTRAPATH value into PYTHONPATH in easy_install.

parent b1f136e7
......@@ -704,6 +704,9 @@ class Installer:
tmp = tempfile.mkdtemp(dir=dest)
path = setuptools_loc
extra_path = os.environ.get('PYTHONEXTRAPATH')
if extra_path:
path = os.pathsep.join([path, extra_path])
args = ('-c', self._easy_install_cmd, '-mUNxd', _safe_arg(tmp))
if not self._has_broken_dash_S:
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