Apple includes PyObjC
with their Pythons that come with OS X 10.5
and 10.6
. It is not part of the python.org installers. But it should be easy enough to install. Just install setuptools
to the python.org python 2.6 following the instructions here. Then use easy_install-2.6
(which will have been installed in /Library/Frameworks/Python.framework/Versions/2.6/bin
and may already be on your $PATH
) to do:
easy_install-2.6 pyobjc==2.2b2
as described here. If you want to live on the bleeding edge, you could try installing directly from the svn repository as there has been a lot of work recently, primarily in support of 10.6.
If that seems like too much work, you could install an older version and all dependencies including python via MacPorts:
sudo port install py26-pyobjc2