]> git.pld-linux.org Git - packages/ipython.git/blame - ipython-import_path.patch
- rel. 2 (rebuild with python 2.5)
[packages/ipython.git] / ipython-import_path.patch
CommitLineData
2f1e576a 1diff -Nur IPython-0.5.0.orig/scripts/ipython IPython-0.5.0/scripts/ipython
2--- IPython-0.5.0.orig/scripts/ipython 2003-08-22 16:25:42.000000000 +0200
3+++ IPython-0.5.0/scripts/ipython 2003-12-11 16:48:31.000000000 +0100
4@@ -23,5 +23,8 @@
5 are trapped first by Python itself.
6 """
7
8+import sys
9+del sys.path[0] # remove /usr/bin (or /usr/local/bin, etc.) from import path
10+
11 import IPython
12 IPython.Shell.IPShell().mainloop()
This page took 0.601626 seconds and 4 git commands to generate.