Using Python's IDLE with the preinstalled Python 2.5.x of Leopard

This short post describes how to keep Leopard's built-in Python distribution and install IDLE on top of it.
The three steps to follow are:
  1. Install only PythonApplications-2.5.pkg from the official Python for Mac DMG (it's in Contents / Packages / MacPython.mpkg)
  2. Create a symlink:
    cd /Library/Frameworks
    sudo ln -s /System/Library/Frameworks/Python.framework/ Python.framework
  3. Erase "/Applications/MacPython 2.5/Python Launcher.app" and "/Applications/MacPython 2.5/Build Applet.app"