Commit a61afefd authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Xavier Thompson

[feat] 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 eed6cdd4
......@@ -1619,6 +1619,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