[buildout]
extends =
  ../../../stack/slapos.cfg
  ../git/buildout.cfg
  ../babeld/buildout.cfg
  ../openvpn/buildout.cfg

parts = 
  babeld
  re6stnet

[environment]
# Note: For now original PATH is appended to the end, as not all tools are
#       provided by SlapOS
PATH=${openvpn:location}/sbin:${babeld:location}/bin:${bzip2:location}/bin:${gettext:location}/bin:${glib:location}/bin:${libxml2:location}/bin:${libxslt:location}/bin:${ncurses:location}/bin:${openssl:location}/bin:${pkgconfig:location}/bin:${python2.7:location}/bin:${readline:location}/bin:${sqlite3:location}/bin::${buildout:bin-directory}:${xz-utils:location}/bin:$PATH

[re6stnet]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
  ${python-cffi:egg}
  ${python-cryptography:egg}
  pyOpenSSL
  re6stnet

script =
  re6stnet
  re6st-conf
  re6st-registry

initialization =
  import os
  os.environ['PATH'] = os.path.expandvars('${environment:PATH}')

entry-points =
  re6stnet=re6st.cli.node:main
  re6st-conf=re6st.cli.conf:main
  re6st-registry=re6st.cli.registry:main

[versions]
re6stnet = 0.435