slapos.cfg 2.57 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 19
  ../component/python-cffi/buildout.cfg
  ../component/python-cryptography/buildout.cfg
20

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

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

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

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

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

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

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