Python – How to install django-haystack using buildout


I'm trying to convert a current Django project in development to use zc.buildout So far, I've got all the bits figured except for Haystack figured out.

The Haystack source is available on GitHub, but I don't want to force users to install git. A suitable alternative seems to be to fetch a tarball from here

That tarball contains a setuptools, and it seems like it should be so easy to get buildout to install it. Halp!

Best Solution

It seems they've fixed the package to work from the tarball. James' fork is not working right now, but you can use the same recipe passing it the standard url:

recipe = collective.recipe.distutils
url =

This worked for me and is 100% hack free.