Skip to content
Newer
Older
100755 19 lines (15 sloc) 641 Bytes
b3db630 Quick ipython startup script "ipython.py" in source root for
vivainio authored Jan 12, 2006
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 """IPython -- An enhanced Interactive Python
4
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)
7 to facilitate non-root 'zero-installation' (just copy the source tree
8 somewhere and run ipython.py) and development. """
9
fb6ed63 @fperez Make it possible to run the tests from the source dir without install…
fperez authored Jan 15, 2010
10 # Ensure that the imported IPython is the local one, not a system-wide one
11 import os, sys
12 this_dir = os.path.dirname(os.path.abspath(__file__))
13 sys.path.insert(0, this_dir)
e44b3bb @ellisonbg Fixing zero-install ipython.py script.
ellisonbg authored Oct 9, 2009
14
fb6ed63 @fperez Make it possible to run the tests from the source dir without install…
fperez authored Jan 15, 2010
15 # Now proceed with execution
afe1263 @ellisonbg Moving and renaming in preparation of subclassing InteractiveShell.
ellisonbg authored Aug 12, 2010
16 execfile(os.path.join(
f4f09a7 @fperez Fix incorrect script path.
fperez authored Sep 29, 2010
17 this_dir, 'IPython', 'scripts', 'ipython'
afe1263 @ellisonbg Moving and renaming in preparation of subclassing InteractiveShell.
ellisonbg authored Aug 12, 2010
18 ))
Something went wrong with that request. Please try again.