Previously…
- Install the latest Xcode Tools from your Snow Leopard installation DVD
- Re symlink things to
/Library/Python/2.6/site-packages(Leopard used 2.5)- Django
- Any other thing you had symlink’d in 2.5
MySQL + Python
- Install MySQL from source like Dan says but use the latest version of MySQL (5.1.42 in my case) instead of the version he says to use.
- Install MySQL-Python like the top answer on this Stack Overflow question.
After all that Sequel Pro is still showing the version of MySQL as 5.1.33, but it seems to be working…
PIL
This was by far the biggest headache. I finally found a solution:
Install like this, but before running sudo python setup.py install, do this:
LDFLAGS="-arch ppc -arch i386 -arch x86_64" CFLAGS="-arch ppc -arch i386 -arch x86_64" python setup.py build
If you already had PIL installed and had the source files you compiled from before, be sure to delete them and start fresh from a new Imaging-1.1.6.tar.gz.