• Łukasz Nowak's avatar
    - use slapos.rebootstrap in version 2.0 (only 2.12 flavour) · 68c28435
    Łukasz Nowak authored
    Python will be provided by buildout, but outside of usual buildout environment
    (with own parts-directory and installed file). Because of this python binary
    which is used to run buildout will no more suffer from uncontrolled rebuilds of
    python or its dependencies, as python will be not automatically updated. By
    changing rebootstrap:version value it is possible to *add* new python
    compilation or switch to existing one.
    
    As, even if python is provided by "same" buildout, but it is out of usual
    bin/buildout control, there is no need to recompile it (after rebootstrap is
    run buildout:executable becomes "self provided python"). So that is why python
    compilation is avoided and python with dependencies can be safely deleted.
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40977 20353a03-c40f-0410-a6d1-a30d3c3de9de
    68c28435
official-2.12.cfg 1.88 KB
[buildout]
software_home = ${:directory}

extends =
  ../profiles/versions-2.12.cfg
  ../profiles/software-definition.cfg
  ../software-profiles/apache.cfg
  ../profiles/common.cfg
  ../profiles/software-common.cfg
  ../software-profiles/products-erp5.cfg
  ../software-profiles/erp5-2.12.cfg
  ../software-profiles/file.cfg
  ../software-profiles/garbage-collector.cfg
  ../software-profiles/graphviz.cfg
  ../software-profiles/tokyocabinet.cfg
  ../software-profiles/haproxy.cfg
  ../software-profiles/imagemagick.cfg
  ../software-profiles/kumo.cfg
  ../software-profiles/ghostscript.cfg
  ../software-profiles/libevent.cfg
  ../software-profiles/libtool.cfg
  ../software-profiles/memcached.cfg
  ../software-profiles/messagepack.cfg
  ../software-profiles/mroonga.cfg
  ../software-profiles/mysql-tritonn-5.0.cfg
  ../software-profiles/mysql-5.1.cfg
  ../software-profiles/sphinx.cfg
  ../software-profiles/oood.cfg
  ../software-profiles/openoffice-bin.cfg
  ../software-profiles/python-2.6.cfg
  ../software-profiles/rdiff-backup.cfg
  ../software-profiles/w3m.cfg
  ../software-profiles/varnish.cfg
  ../software-profiles/xpdf.cfg

versions = versions

parts =
  itools-build
  rdiff-backup
  apache
  file
  graphviz
  memcached
  haproxy
  varnish
  varnish-2.1
  w3m
  xpdf
  ghostscript
  mysql-tritonn-5.0
  mysql-5.1
  mroonga
  sphinx
  imagemagick
  kumo
  messagepack
  products-deps
  products-erp5
  products-erp5-development
  openoffice-bin
  oood
  python2.6
  eggs
  products
#  omelette
  bootstrap2.6
  precache-eggs
  software_home

[bootstrap2.6]
# as bootstrap in python software does not know that slapos.rebootstrap >= 2.0
# is used it is required to go back to default -- use own version of python
python = buildout

[rebootstrap]
# This is first version of python
version = 1
section = python2.6

[software_definition]
software_home = ${buildout:software_home}
executable = ${python2.6:executable}