Have you considered setting this up with a virtual environment? I got it working with these simple steps:
## After activating the virtual environment
$ pip install "django>=1.5,<=1.6" django-appconf django-jsonfield south pil psycopg2
## Note that installing psycopg2 via pip removes an apt-get dependancy
## Now install pycairo to the virtualenv
$ curl http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2 | tar jxv
$ ./waf --prefix=$VIRTUALENV configure
$ ./waf build
$ ./waf install
Personally, I like to keep all the python dependancies in the virtual environment to avoid clashing with any other projects I'm working on. Also, this reduces the number of Ubuntu-specific dependencies slightly.
Have you considered setting this up with a virtual environment? I got it working with these simple steps:
Personally, I like to keep all the python dependancies in the virtual environment to avoid clashing with any other projects I'm working on. Also, this reduces the number of Ubuntu-specific dependencies slightly.