[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

[pycurl]
recipe = zc.recipe.egg:custom
egg = pycurl
include-dirs =
  ${openssl:location}/include
library-dirs =
  ${openssl:location}/lib
rpath = ${:library-dirs}
  ${curl:location}/lib
environment = pycurl-env
