hi folks,
i've been using zc.buildout to build, compile, install xappy.. and wanted to share the configuration for whats its worth.
zc.buildout
is a tool for generating repeatable software installations, typically in a sandbox directory. its become best practice for zope/plone developers, and i also use it for django, pylons. though it has explicit support for eggs, its not really python specific, and can be used for all sorts of software.. the python cheeseshop/pypi has over 50 recipes for use with buildout.
the buildout.conf for xappy and the standard zc.buildout
bootstrap script are attached.
to try them out, you can create a directory drop the two attached files in there and run
$ python bootstrap.py
$ ./bin/buildout -v
at this point its downloaded, and compiled xapian, xapian bindings, and pulled xappy from svn. it also generates a python interpreter script that sets up the python path appropriately.
$ ./bin/python
# you can play around with xappy now.
>> import xappy
>> import xapian
cheers,
kapil