slapos.cfg 2.68 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
python = python2.7

7
# Developers need to add explicitely this part in their software profile
8
# parts = slapos-cookbook
9

10 11 12
# Explicitly disable download-cache
download-cache =

13 14 15
# Generate list of automatically chosen eggs version
extensions +=
  buildout-versions
16 17
  buildout.dumppickedversions
  mr.developer
18

19
# Use shacache and lxml
20
extends =
21
  ../component/python-2.7/buildout.cfg
22
  ../component/lxml-python/buildout.cfg
23 24
  ../component/python-cffi/buildout.cfg
  ../component/python-cryptography/buildout.cfg
25

26 27 28 29 30 31 32 33
# 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/
34
  http://www.nexedi.org/static/packages/source/
35
  http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
36 37 38

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

59
# Define where is defined what version of eggs we should use
60 61
versions = versions

62 63 64
# Define networkcache with shacache.org
networkcache-section = networkcache

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

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

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