summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/PythonIDE.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 13:45:26 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 13:45:26 (GMT)
commitd48364e8b18647bdb71df0d375ba930a14f65ce2 (patch)
tree6c9ced68b07bf620500c973f38fb9c3816c37d76 /Mac/Tools/IDE/PythonIDE.py
parent6bf31278ac5c902e436a38a2c652b06627190920 (diff)
downloadcpython-d48364e8b18647bdb71df0d375ba930a14f65ce2.zip
cpython-d48364e8b18647bdb71df0d375ba930a14f65ce2.tar.gz
cpython-d48364e8b18647bdb71df0d375ba930a14f65ce2.tar.bz2
Forward port of various fixes that were initially only done on the
release23-maint branch: - Remember the scroll position when rebuilding the browser (as we do far too often). Fixes #824430. - Allow for the documentation to be inside PythonIDE as well as in the Python.app inside the framework (the original location for 2.3). - Updated version numbers - In PythonIDE, add the Tools/IDE directory as the second entry in sys.path in stead of as the first, leaving PythonIDE.app/Contents/Resources as the first one. - The code for setting the working directory to $HOME was both incorrect and in the wrong place, fixed. - On OSX the default location for IDE scripts is now $HOME/Library/Python/IDE-Scripts.
Diffstat (limited to 'Mac/Tools/IDE/PythonIDE.py')
-rw-r--r--Mac/Tools/IDE/PythonIDE.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/PythonIDE.py b/Mac/Tools/IDE/PythonIDE.py
index b7bc388..fb991b0 100644
--- a/Mac/Tools/IDE/PythonIDE.py
+++ b/Mac/Tools/IDE/PythonIDE.py
@@ -49,7 +49,7 @@ def init():
# We are a fully frozen application
ide_path = sys.argv[0]
if ide_path not in sys.path:
- sys.path.insert(0, ide_path)
+ sys.path.insert(1, ide_path)
init()