[buildout]
extends =
  ../curl/buildout.cfg
  ../openssl/buildout.cfg

parts =
  pycurl

[pycurl-env]
PATH = ${curl:location}/bin:${openssl:location}/bin:%(PATH)s
PYCURL_SSL_LIBRARY=openssl
CPPFLAGS=-I${openssl:location}/include
CFLAGS=-I${openssl:location}/include

[pycurl]
recipe = zc.recipe.egg:custom
egg = pycurl

rpath =
  ${curl:location}/lib/
  ${openssl:location}/lib/
environment = pycurl-env
