Show More
@@ -36,9 +36,13 b' def setup():' | |||
|
36 | 36 | global save_get_ipython_dir |
|
37 | 37 | |
|
38 | 38 | IPYTHONDIR = tempfile.mkdtemp() |
|
39 | ||
|
39 | 40 | env = dict(IPYTHONDIR=IPYTHONDIR) |
|
40 | 41 | if 'PYTHONPATH' in os.environ: |
|
41 | 42 | env['PYTHONPATH'] = os.environ['PYTHONPATH'] |
|
43 | if sys.platform == 'win32': | |
|
44 | env["SYSTEMROOT"] = os.environ["SYSTEMROOT"] | |
|
45 | ||
|
42 | 46 | save_get_ipython_dir = path.get_ipython_dir |
|
43 | 47 | path.get_ipython_dir = lambda : IPYTHONDIR |
|
44 | 48 |
General Comments 0
You need to be logged in to leave comments.
Login now