official.cfg 2.25 KB
Newer Older
1 2
[buildout]
extends =
3 4
  ../instance-profiles/mysql.cfg
  ../instance-profiles/oood.cfg
5
  ../instance-profiles/supervisor.cfg
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
  ../instance-profiles/zope.cfg
  ../profiles/versions.cfg
  ../software-profiles/apache.cfg
  ../software-profiles/erp5.cfg
  ../software-profiles/flare.cfg
  ../software-profiles/haproxy.cfg
  ../software-profiles/imagemagick.cfg
  ../software-profiles/libevent.cfg
  ../software-profiles/memcached.cfg
  ../software-profiles/mysql-tritonn-5.0.cfg
  ../software-profiles/ocropus.cfg
  ../software-profiles/oood.cfg
  ../software-profiles/openoffice-bin.cfg
  ../software-profiles/python-2.4.cfg
  ../software-profiles/varnish.cfg
  ../software-profiles/zope-2.8.cfg
22

23 24 25
var-directory = ${:directory}/var
etc-directory = ${:var-directory}/etc
log-directory = ${:var-directory}/log
26
data-bin-directory = ${:var-directory}/bin
27

Łukasz Nowak's avatar
Łukasz Nowak committed
28 29 30
eggs-directory = ${software_definition:software_home}/eggs
develop-eggs-directory = ${software_definition:software_home}/develop-eggs

31
python = software_definition
32 33 34 35 36 37 38 39
versions = versions
find-links =
    http://download.zope.org/distribution/
    http://download.hforge.org/itools/0.20/
    http://download.hforge.org/itools/
    http://dist.repoze.org
    http://www.nexedi.org/static/packages/source/

40 41
parts =
  pythonbin
42
  eggs
Łukasz Nowak's avatar
Łukasz Nowak committed
43
  apache
44
  memcached
45
#  ocropus
Łukasz Nowak's avatar
Łukasz Nowak committed
46
#  haproxy
47
  varnish
48 49
  mysql-tritonn-5.0
  zope-2.8
50 51
  cmf15
  itools
52
  mysql-python
53 54 55
  products-other
  products-deps
  products-erp5
56
  products-development
57
  bt5-erp5
Łukasz Nowak's avatar
Łukasz Nowak committed
58
  openoffice-bin
Łukasz Nowak's avatar
Łukasz Nowak committed
59
  oood
60

61 62 63 64 65 66 67
[show-requirements]
recipe = plone.recipe.command
command =
  echo "Required binary files: ${requirements:binary}"
  echo "Required header files: ${requirements:development}"
update-command = ${:command}

68
[create-directories]
69
recipe = plone.recipe.command
70 71 72 73
command =
  mkdir -p ${buildout:etc-directory}
  mkdir -p ${buildout:var-directory}
  mkdir -p ${buildout:log-directory}
74
  mkdir -p ${buildout:data-bin-directory}
75

76
[software_definition]
77
software_home = ${buildout:directory}
78 79 80 81
mysql_software = ${:software_home}/parts/mysql-tritonn-5.0
oood_software = ${:software_home}/parts/oood
openoffice_software = ${:software_home}/parts/openoffice-bin
zope_software = ${:software_home}/parts/zope-2.8
82
executable = ${:software_home}/parts/python${buildout:python_version}/bin/python${buildout:python_version}