slapos.cfg 2.65 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
  mr.developer
17

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

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

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

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

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

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

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

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