slapos.cfg 1.87 KB
Newer Older
1 2 3 4
# This stack list all parameters used in every Software Release or other stack.
# Software Releases or Stacks can safely extend this stack.

[buildout]
5 6
# Developers need to add explicitely this part in their software profile
parts = slapos-cookbook
7

8 9 10 11
# Generate list of automatically chosen eggs version
extensions +=
  buildout-versions

12
# Use shacache and lxml
13
extends =
14
  ../component/lxml-python/buildout.cfg
15

16 17 18 19 20 21 22 23
# Separate from site eggs
allowed-eggs-from-site-packages =
include-site-packages = false
exec-sitecustomize = false

# Add location for modified non-official slapos.buildout
find-links +=
  http://www.nexedi.org/static/packages/source/slapos.buildout/
24
  http://www.nexedi.org/static/packages/source/
25 26 27

# Use only quite well working sites.
allow-hosts +=
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
28
  *.googlecode.com
29 30 31 32
  *.nexedi.org
  *.python.org
  *.sourceforge.net
  alastairs-place.net
33
  bitbucket.org
34 35 36
  dist.repoze.org
  effbot.org
  github.com
37
  launchpad.net
38
  peak.telecommunity.com
39
  sourceforge.net
40 41 42 43 44 45 46
  www.dabeaz.com
  www.owlfish.com

# XXX: Workaround of SlapOS limitation
# Unzippig of eggs is required, as SlapOS do not yet provide nicely working
# development / fast switching environment for whole software
unzip = true
47

48
# Define where is defined what version of eggs we should use
49 50
versions = versions

51 52 53
# Define networkcache with shacache.org
networkcache-section = networkcache

54
# Install slapos.cookbook containing all officials recipes
55 56
# Explicitely define dependencies as well, because of buildout limitation
# if using "develop"
57 58 59
[slapos-cookbook]
recipe = zc.recipe.egg
eggs =
60
  ${lxml-python:egg}
61
  slapos.cookbook
62 63 64 65 66
  inotifyx
  netaddr
  slapos.core
  xml_marshaller
  pytz
67

68
[versions]
69
# Use SlapOS patched zc.buildout
70
zc.buildout = 1.6.0-dev-SlapOS-010
71

72 73
# zc.recipe.egg 2.0.0a is buggy
zc.recipe.egg = 1.3.2
74 75 76 77

[networkcache]
download-cache-url = http://www.shacache.org/shacache
download-dir-url = http://www.shacache.org/shadir