
To download and install py-appscript via Setuptools, run the following command in Terminal:
sudo easy_install appscript
Setuptools is included in Leopard's standard Python 2.5 installation and Snow Leopard's standard Python 2.6 installation. For other Python distributions, you may need to install Setuptools first. (Python 3.x users can install Distribute instead.)
Setuptools will download and build py-appscript from source. Note that building py-appscript from source requires gcc, included with Apple's Xcode IDE.
Additional documentation and examples can be found in the latest .tar.gz source release.
Download the latest .tar.gz source release from the Python Package Index and follow the instructions in its README file.
gcc compiler, included with Apple's Xcode IDE. You can find an Xcode installer on your Mac OS X installation disk, or download the latest version from Apple's website.export CC=/usr/bin/gcc-4.0 before running the install command.) Alternatively, you may prefer to install an OS X 10.6+ framework distribution from python.org, or build your own Python framework using the 10.5 or 10.6 SDK.easy_install produces errors like this: "No eggs found in /tmp/... (setup script problem?)", you may need to update Setuptools first (sudo easy_install -U setuptools).To check out py-appscript's subversion repository:
svn checkout \
https://appscript.svn.sourceforge.net/svnroot/appscript/py-appscript/trunk \
py-appscript-trunk