
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. (Note: Python 2.6.3 does not work correctly with setuptools; this and other issues are addressed in 2.6.4.)
Setuptools will download and build py-appscript from source. Note that building py-appscript from source requires gcc, included in Apple's Developer Tools.
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. Note that building py-appscript from source requires gcc, included in Apple's Developer Tools.
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
To check out the py-aemreceive, py-osascript and py-osaterminology projects for Python 2.x:
svn checkout \
https://appscript.svn.sourceforge.net/svnroot/appscript/py-aemreceive/trunk \
py-aemreceive-trunk
svn checkout \
https://appscript.svn.sourceforge.net/svnroot/appscript/py-osascript/trunk \
py-osascript-trunk
svn checkout \
https://appscript.svn.sourceforge.net/svnroot/appscript/py-osaterminology/trunk \
py-osaterminology-trunk