Show More
@@ -1,18 +1,18 b'' | |||
|
1 | 1 | #!/usr/bin/env python |
|
2 | 2 | # -*- coding: utf-8 -*- |
|
3 | 3 | """IPython -- An enhanced Interactive Python |
|
4 | 4 | |
|
5 | 5 | The actual ipython script to be installed with 'python setup.py install' is |
|
6 | 6 | in './scripts' directory. This file is here (ipython source root directory) |
|
7 | 7 | to facilitate non-root 'zero-installation' (just copy the source tree |
|
8 | 8 | somewhere and run ipython.py) and development. """ |
|
9 | 9 | |
|
10 | 10 | # Ensure that the imported IPython is the local one, not a system-wide one |
|
11 | 11 | import os, sys |
|
12 | 12 | this_dir = os.path.dirname(os.path.abspath(__file__)) |
|
13 | 13 | sys.path.insert(0, this_dir) |
|
14 | 14 | |
|
15 | 15 | # Now proceed with execution |
|
16 | 16 | execfile(os.path.join( |
|
17 |
this_dir, 'IPython |
|
|
17 | this_dir, 'IPython', 'scripts', 'ipython' | |
|
18 | 18 | )) |
General Comments 0
You need to be logged in to leave comments.
Login now