common.cfg 1.47 KB
Newer Older
1 2 3
# Common configuration for public erp5 code (business templates and products).
# it also defines standard repository sources (find-link) and default structure
# parts (create-directories).
4

5
[buildout]
6
extends = links.cfg
7

8
extensions =
9
  slapos.zcbworkarounds
10
  mr.developer
11
  buildout.dumppickedversions
12
  slapos.rebootstrap
13 14 15

dump-picked-versions-file = dumped-versions.cfg
overwrite-picked-versions-file = true
16

17 18 19 20 21 22 23 24 25 26
[itools]
# This part should not contain contain dependencies to other parts and should
# contain only paths relative to software_home as it will be used directly by
# instances. It should probably be moved to a .cfg file inside
# "instance-profiles"
pkgname = itools-0.50.8
location = ${buildout:software_home}/parts/itools
lib = ${:location}/lib
source = ${:location}/src

27 28 29 30 31 32 33
[create-directories]
recipe = plone.recipe.command
command =
  mkdir -p ${buildout:etc-directory}
  mkdir -p ${buildout:var-directory}
  mkdir -p ${buildout:log-directory}
  mkdir -p ${buildout:data-bin-directory}
34
update-command = ${:command}
35

36 37
[software_home]
recipe = collective.recipe.template
38 39 40 41 42 43 44 45 46 47
input = inline:
  [buildout]
  software_home = ${buildout:software_home}
  eggs-directory = ${buildout:eggs-directory}
  develop-eggs-directory = ${buildout:develop-eggs-directory}

  [software_definition]
  software_home = ${buildout:software_home}
  executable = ${software_definition:executable}
  mysql_software = ${software_definition:mysql_software}
48
output = ${buildout:software_home}/instance-profiles/software-home.inc