下手の横好き世界5 by William Van Hecke

If you can't install py-appscript on Mac OS X

This was driving me crazy; neither the egg nor the setup.py thingy in the source download were working to install Python appscript. So I opened setup.py and changed this:

try: from setuptools import setup, Extension except ImportError: print "Note: couldn't import setuptools so using distutils instead." from distutils.core import setup, Extension > >

to this:

from distutils.core import setup, Extension > >
> >

to force it to use distutils instead of the dang setuptools which never works for me. It worked! Now I can go back to scripting my apps again.