software.cfg 2.24 KB
Newer Older
1
[buildout]
2 3 4 5 6 7 8 9 10 11 12
extensions =
  slapos.rebootstrap
  slapos.zcbworkarounds
  mr.developer

find-links = http://www.nexedi.org/static/packages/source/slapos.buildout/
    http://dist.repoze.org
    http://www.nexedi.org/static/packages/source/

versions = versions
rebootstrap-section = python2.6
Łukasz Nowak's avatar
Łukasz Nowak committed
13

14
extends =
15 16 17 18 19
  ../../component/python-2.6/buildout.cfg
  ../../component/subversion/buildout.cfg
  ../../component/git/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/zip/buildout.cfg
20

21
parts =
22
  template
23 24 25 26 27
  bootstrap
  eggs
  subversion
  zip
  git
28
  checkrecipe
29

30 31 32 33 34
# Separate from site eggs
allowed-eggs-from-site-packages =
include-site-packages = false
exec-sitecustomize = false

35 36 37 38 39 40 41 42 43 44 45 46
# Use only quite well working sites.
allow-hosts =
  *.nexedi.org
  *.python.org
  *.sourceforge.net
  dist.repoze.org
  effbot.org
  github.com
  peak.telecommunity.com
  psutil.googlecode.com
  www.dabeaz.com

47 48 49
develop =
  ${:parts-directory}/slapos.cookbook-repository

50 51 52 53 54 55
[checkrecipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link

56 57 58 59
[slapos.cookbook-repository]
recipe = plone.recipe.command
stop-on-error = true
location = ${buildout:parts-directory}/${:_buildout_section_name_}
Romain Courteaud's avatar
Romain Courteaud committed
60
command = ${git:location}/bin/git clone -b erp5testnode --quiet http://git.erp5.org/repos/slapos.git ${:location}
61 62
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet

63 64 65 66 67 68 69 70 71 72 73 74
[bootstrap]
recipe = zc.recipe.egg
eggs = zc.buildout
suffix =
scripts =
    buildout=bootstrap2.6
arguments = sys.argv[1:] + ["bootstrap"]

[rebootstrap]
section = python2.6
version = 1

75 76
[versions]
# Use SlapOS patched zc.buildout
77
zc.buildout = 1.5.3-dev-SlapOS-002
78

79 80
[eggs]
recipe = zc.recipe.egg
81 82 83 84 85 86
# Just so buildout executes [slapos.cookbook-repository] before [eggs], as
# - [eggs] references [slapos.cookbook-repository]
# - [instance-recipe] needs [slapos.cookbook-repository] to be finished
# - we cannot rely on anything else being executed before [eggs]
dummy =
  ${slapos.cookbook-repository:location}
87 88
eggs =
  ${lxml-python:egg}
89
  slapos.core
90
  slapos.cookbook
91 92

[template]
93 94
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
95 96
output = ${buildout:directory}/template.cfg
mode = 0644