slapos.cfg 2.38 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
# Developers need to add explicitely this part in their software profile
6
# 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
  http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
26 27 28

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

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

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

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

74
[versions]
75
# Use SlapOS patched zc.buildout
76
zc.buildout = 1.6.0-dev-SlapOS-012
77
# zc.recipe.egg 2.x is for Buildout 2
78
zc.recipe.egg = 1.3.2
79
# Use own version of h.r.download to be able to open xz-like archives
80
hexagonit.recipe.download = 1.7nxd002
81 82 83
# Use pinned version of setuptools. Other versions work, but changing
# version makes buildout recompile everything. Developers' nightmare.
setuptools = 0.9.8
84 85
# Official egg of prettytable has permission problems in EGG-INFO.
prettytable = 0.7.3-nxd001
86 87 88 89

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