buildout.cfg.in 1.08 KB
[buildout]
extends =
  file://%(SLAPOS)s/stack/slapos.cfg
  file://%(SLAPOS)s/component/chrpath/buildout.cfg
  file://%(SLAPOS)s/component/re6stnet/buildout.cfg

extends-cache = extends-cache
download-cache = download-cache

develop =
extensions = slapos.rebootstrap
newest = false

allow-picked-versions = true

parts += chrpath python

[python]
recipe = zc.recipe.egg
interpreter = ${:_buildout_section_name_}
eggs = setuptools
# https://lab.nexedi.com/nexedi/slapos.buildout/merge_requests/11
scripts = dummy

# Uguu, upstream buildout.cfg must be patched as it works the other way
# around from a packager point of view at least, thus at the end static
# path, such as Python HOME directory, are wrong...
#
# Currently:
# ./configure --prefix=BUILD_DIRECTORY && make install
# Instead of:
# ./configure --prefix=INSTALL_DIRECTORY && make install DESTDIR=BUILD_DIRECTORY
[python2.7]
configure-options +=
  --prefix=%(TARGET)s/parts/${:_buildout_section_name_}
environment +=
  DESTDIR=%(ROOT)s

[openssl]
prefix = %(TARGET)s/parts/${:_buildout_section_name_}
environment +=
  INSTALL_PREFIX=%(ROOT)s