[buildout]
extends =
  ../postgresql/buildout.cfg

[psycopg2-env]
PATH = ${postgresql:location}/bin:%(PATH)s

[psycopg2]
recipe = zc.recipe.egg:custom
egg = psycopg2
define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
environment = psycopg2-env
include-dirs =
  ${postgresql:location}/include
library-dirs =
  ${postgresql:location}/lib
rpath = 
  ${postgresql:location}/lib
