First, you will need libxslt and libxml2. These are already installed on Mac OS X Leopard.

Make a local site-packages directory. Python on Mac OS X will know to look here:

mkdir -p ~/Library/Python/2.5/site-packages

Create a ~/.pydistutils.cfg containing:

[install]
install_lib = ~/Library/Python/$py_version_short/site-packages
install_scripts = ~/bin

Note: easy_install will now install into this site packages directory instead of the system one. If you want to install system packages, remove this .pydistutils.cfg file.

From the top level of your canner directory, execute the following commands:

python setup.py develop

This should put a canner executable in your ~/bin directory. In the netCannery Preferences, you specify the path to this canner executable.

Note: the python setup.py develop command should be re-run each time you update your Canner sources.

Last modified by keith on 03/27/08 12:41:47 (2 years ago)