Commit 5bf896e0 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Xavier Thompson

Propagate sys.path as PYTHONPATH while develop

  While invoke setup.py certain eggs (like scikit-learn) launch
  cetain custom builds (for cython) using subprocess and sys.executable.

  This commit aims to preserve the sys.path over the runs, even if an
  egg is using subprocess with the same python to build a component of
  the egg.
parent c431ab68
......@@ -1486,6 +1486,8 @@ for extra_path in %(path_list)r:
import os, setuptools
os.environ['PYTHONPATH'] = (os.pathsep).join(sys.path[:])
__file__ = %(__file__)r
os.chdir(%(setupdir)r)
......
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