##// END OF EJS Templates
change to pass whole env + temporary IPYTHONDIR
Jörgen Stenarson -
Show More
@@ -37,11 +37,8 b' def setup():'
37 37
38 38 IPYTHONDIR = tempfile.mkdtemp()
39 39
40 env = dict(IPYTHONDIR=IPYTHONDIR)
41 if 'PYTHONPATH' in os.environ:
42 env['PYTHONPATH'] = os.environ['PYTHONPATH']
43 if sys.platform == 'win32':
44 env["SYSTEMROOT"] = os.environ["SYSTEMROOT"]
40 env = os.environ.copy()
41 env["IPYTHONDIR"] = IPYTHONDIR
45 42
46 43 save_get_ipython_dir = path.get_ipython_dir
47 44 path.get_ipython_dir = lambda : IPYTHONDIR
General Comments 0
You need to be logged in to leave comments. Login now