##// END OF EJS Templates
Make ipython.py cProfile-able...
Thomas Spura -
Show More
@@ -9,7 +9,7 b' somewhere and run ipython.py) and development. """'
9
9
10 # Ensure that the imported IPython is the local one, not a system-wide one
10 # Ensure that the imported IPython is the local one, not a system-wide one
11 import os, sys
11 import os, sys
12 this_dir = os.path.dirname(os.path.abspath(__file__))
12 this_dir = os.path.dirname(sys.argv[0])
13 sys.path.insert(0, this_dir)
13 sys.path.insert(0, this_dir)
14
14
15 # Now proceed with execution
15 # Now proceed with execution
General Comments 0
You need to be logged in to leave comments. Login now