Commit 7af0dfd0 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Julien Muchembled

cleanup PYTHONEXTRAPATH when _install() finishes

parent 6baf761d
...@@ -152,7 +152,7 @@ class Custom(Base): ...@@ -152,7 +152,7 @@ class Custom(Base):
newest=self.newest, newest=self.newest,
) )
extra_path = os.pathsep.join(ws.entries) extra_path = os.pathsep.join(ws.entries)
os.environ['PYTHONEXTRAPATH'] = extra_path self.environment['PYTHONEXTRAPATH'] = os.environ['PYTHONEXTRAPATH'] = extra_path
patch_dict = self._get_patch_dict(options, distribution) patch_dict = self._get_patch_dict(options, distribution)
return zc.buildout.easy_install.build( return zc.buildout.easy_install.build(
......
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