Show More
@@ -3,9 +3,11 b'' | |||||
3 | """IPython -- An enhanced Interactive Python |
|
3 | """IPython -- An enhanced Interactive Python | |
4 |
|
4 | |||
5 | The actual ipython script to be installed with 'python setup.py install' is |
|
5 | The actual ipython script to be installed with 'python setup.py install' is | |
6 | in './scripts' directory. This file is here (ipython source root directory) |
|
6 | generated by setuptool via the `console_scripts` mechanism. This file is here | |
7 | to facilitate non-root 'zero-installation' (just copy the source tree |
|
7 | (ipython source root directory) to facilitate non-root 'zero-installation' | |
8 |
somewhere and run ipython.py) and development. |
|
8 | (just copy the source tree somewhere and run ipython.py) and development. | |
|
9 | ||||
|
10 | """ | |||
9 |
|
11 | |||
10 | if __name__ != "__main__": |
|
12 | if __name__ != "__main__": | |
11 | raise RuntimeError('You are trying to import the ipython.py executable. ' |
|
13 | raise RuntimeError('You are trying to import the ipython.py executable. ' | |
@@ -20,4 +22,3 b' sys.path.insert(0, this_dir)' | |||||
20 | execfile(os.path.join( |
|
22 | execfile(os.path.join( | |
21 | this_dir, 'IPython', 'scripts', 'ipython' |
|
23 | this_dir, 'IPython', 'scripts', 'ipython' | |
22 | )) |
|
24 | )) | |
23 |
|
General Comments 0
You need to be logged in to leave comments.
Login now