[buildout]
extends =
  ../libxml2/buildout.cfg
  ../libxslt/buildout.cfg
  ../zlib/buildout.cfg

parts =
  lxml-python

[lxml-python-env]
WITH_XSLT_CONFIG = ${libxslt:location}/bin/xslt-config
WITH_XML2_CONFIG = ${libxml2:location}/bin/xml2-config

[lxml-python]
recipe = zc.recipe.egg:custom
egg = lxml

rpath =
  ${libxml2:location}/lib/
  ${libxslt:location}/lib/
  ${zlib:location}/lib/
environment = lxml-python-env
