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

parts =
  lxml-python

[lxml-python-env]
PATH = ${libxslt:location}/bin:%(PATH)s

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

# Note: Workaround lxml.de issues blocking buildout runs
# Empty index makes setuptools NOT trying to find any meta information about
# lxml...
index =
# ...so it is wise to tell where lxml can be found
find-links =
  http://pypi.python.org/pypi/lxml/2.2.8
  http://pypi.python.org/pypi/lxml/2.3
# Note: Whenever someone is going to remove it, one shall check, that buildout
# can run in newest mode, without any locally downloaded cache

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