[buildout]
extends =
  ../libffi/buildout.cfg
  ../pkgconfig/buildout.cfg

parts =
  python-cffi

[python-cffi]
recipe = zc.recipe.egg:custom
egg = cffi
environment = python-cffi-env
library-dirs =
  ${libffi:location}/lib/
rpath =
  ${libffi:location}/lib/

[python-cffi-env]
PATH = ${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH = ${libffi:location}/lib/pkgconfig
