To install IDLE.app and other Python 2.5 extras,
- Download the installer from http://pythonmac.org/packages/py25-fat/dmg/python-2.5-macosx.dmg (approximately 18MB)
- Mount the disk image.
- Do a "Show Package Contents" on the MacPython.mpkg (context-click / control-click the package)
- Backup your .bash_profile before you install.
- Navigate to Contents > Packages > PythonApplications-2.5.pkg, double click to install. This would install the extras including IDLE.app. They would be installed in the Applications/MacPython 2.5 folder.
- Using Terminal, create a symbolic link for the system's Python.framework in the location expected by the pythonmac.org tools:
cd /Library/Frameworks
sudo ln -s /System/Library/Frameworks/Python.framework/ Python.framework
If you have installed Apple's developer tools (Xcode et al), it is recommended that you delete the newly installed Build Applet.app, because it is already present in /Developer/Applications/Utilities/MacPython 2.5.
For more information:
• http://wiki.python.org/moin/MacPython/Leopard
• http://python.org/download/mac/
No comments:
Post a Comment