sys.path in stead of as the first, leaving PythonIDE.app/Contents/Resources
as the first one.
- When building the IDE for use with Apple-provided MacPython add
PythonIDEMain.py to the Resources folder.
Together these two makes fixes to PythonIDEMain available to Panther
users.
$(MAKE) -f Makefile install_IDE \
BUILDPYTHON=$(APPLE_PYTHON) INSTALLED_PYTHONW=$(APPLE_PYTHONW) \
DESTDIR=$(DESTDIR) PYTHONAPPSDIR=$(PYTHONAPPSDIR)
+ # Add the extra file to the resources. This is to work around a bugs in
+ # PythonIDEMain.py in the original 2.3.
+ cp ../Tools/IDE/PythonIDEMain.py $(DESDIR)$(PYTHONAPPSDIR)/PythonIDE.app/Contents/Resources
install_PackageManager:
$(MAKE) -f Makefile install_PackageManager \
# 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()