Python 2.4 install script for OS X
A shell script that downloads and installs Python 2.4 in the Present Working Directory. Doesn't touch any system file/folder at all. This Python distribution includes Readline, setuptools (easy_install) and PIL (with its dependencies installed locally too).
All commands listed here must be entered in a bash shell terminal.
First, download the script:
curl -O http://davconvent.objectis.net/knowledge/python-install-script-for-os-x/python_install.sh
Once it's been downloaded, the script needs to be made executable:
chmod 755 python_install.sh
As the script installs everything in the present working directory when it is called, it can be useful to create a specific folder for the whole installation. For instance:
mkdir python cd python
Then, run the script:
../python_install.sh
- Note
- The script swallows all errors that can be safely ignored. I ran and tested it on Both PPC and Intel architectures, and it installs everything fine on Mac OS X 10.4 (Tiger). I would love to know about 10.5 (Leopard), but I don't have it available. If all PIL tests ran OK, you can be confident with your Python installation. Readline is also tested for making sure that it is supported by Python after the installation.
Get or read the script here.

Installing Python 2.4 on Leopard
http://www.lovelysystems.com/batlogg/2007/11/16/getting-the-lovely-zope-environment-python-postgresql-mysql-working-on-leopard/