slapos.cfg 2.49 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
# Explicitly disable download-cache
download-cache =

11 12 13 14
# Generate list of automatically chosen eggs version
extensions +=
  buildout-versions

15
# Use shacache and lxml
16
extends =
17
  ../component/lxml-python/buildout.cfg
18
  ../component/python-openssl/buildout.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
19

20 21 22 23 24 25 26 27
# 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/
28
  http://www.nexedi.org/static/packages/source/
29
  http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
30 31 32

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

53
# Define where is defined what version of eggs we should use
54 55
versions = versions

56 57 58
# Define networkcache with shacache.org
networkcache-section = networkcache

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

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

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