update egg versions.
[slapos.git] / component / slapos / buildout.cfg
1 # This file is used to install SlapOS Node itself.
2
3 [buildout]
4 extends =
5   ../../stack/shacache-client.cfg
6   ../bison/buildout.cfg
7   ../bzip2/buildout.cfg
8   ../gdbm/buildout.cfg
9   ../gettext/buildout.cfg
10   ../glib/buildout.cfg
11   ../libxml2/buildout.cfg
12   ../libxslt/buildout.cfg
13   ../lxml-python/buildout.cfg
14   ../m4/buildout.cfg
15   ../ncurses/buildout.cfg
16   ../openssl/buildout.cfg
17   ../pkgconfig/buildout.cfg
18   ../popt/buildout.cfg
19   ../python-2.7/buildout.cfg
20   ../readline/buildout.cfg
21   ../sqlite3/buildout.cfg
22   ../swig/buildout.cfg
23   ../zlib/buildout.cfg
24   ../patch/buildout.cfg
25
26 parts =
27   slapos
28   cfg-environment
29   sh-environment
30   py
31
32 find-links =
33   http://www.nexedi.org/static/packages/source/slapos.buildout/
34   http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
35
36 versions = versions
37
38 allow-hosts =
39   *.googlecode.com
40   *.nexedi.org
41   *.python.org
42   alastairs-place.net
43   code.google.com
44   github.com
45   peak.telecommunity.com
46
47 unzip = true
48
49 # separate from system python
50 include-site-packages = false
51 exec-sitecustomize = false
52 allowed-eggs-from-site-packages =
53
54 [environment]
55 # Note: For now original PATH is appended to the end, as not all tools are
56 #       provided by SlapOS
57 PATH=${bison:location}/bin:${bzip2:location}/bin:${gettext:location}/bin:${glib:location}/bin:${libxml2:location}/bin:${libxslt:location}/bin:${m4:location}/bin:${ncurses:location}/bin:${openssl:location}/bin:${pkgconfig:location}/bin:${python2.7:location}/bin:${readline:location}/bin:${sqlite3:location}/bin:${swig:location}/bin:${buildout:bin-directory}:${patch:location}/bin:$PATH
58 CFLAGS=-I${bzip2:location}/include -I${gdbm:location}/include -I${gettext:location}/include -I${glib:location}/include -I${libxml2:location}/include -I${libxslt:location}/include -I${ncurses:location}/include -I${openssl:location}/include -I${popt:location}/include -I${readline:location}/include -I${sqlite3:location}/include -I${zlib:location}/include
59 CPPFLAGS=${:CFLAGS}
60 LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${libxslt:location}/lib -Wl,-rpath=${libxslt:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${sqlite3:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
61 PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${libxml2:location}/lib/pkgconfig:${libxslt:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${popt:location}/lib/pkgconfig:${python2.7:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig
62 LD_LIBRARY_PATH=${bzip2:location}/lib:${gdbm:location}/lib:${gettext:location}/lib:${glib:location}/lib:${libxml2:location}/lib:${libxslt:location}/lib:${ncurses:location}/lib:${openssl:location}/lib:${popt:location}/lib:${readline:location}/lib:${sqlite3:location}/lib:${zlib:location}/lib
63
64 [cfg-environment]
65 # Section exposes SlapOS default environment as configuration file.
66 recipe = collective.recipe.template
67 input = inline:
68   [environment]
69   PATH=${environment:PATH}
70   CFLAGS=${environment:CFLAGS}
71   CPPFLAGS=${environment:CPPFLAGS}
72   LDFLAGS=${environment:LDFLAGS}
73   PKG_CONFIG_PATH=${environment:PKG_CONFIG_PATH}
74   LD_LIBRARY_PATH=${environment:LD_LIBRARY_PATH}
75 output = ${buildout:directory}/environment.cfg
76
77 [sh-environment]
78 # Section exposes SlapOS default environment as sh file.
79 recipe = collective.recipe.template
80 input = inline:
81   export PATH="${environment:PATH}"
82   export CFLAGS="${environment:CFLAGS}"
83   export CPPFLAGS="${environment:CPPFLAGS}"
84   export LDFLAGS="${environment:LDFLAGS}"
85   export PKG_CONFIG_PATH="${environment:PKG_CONFIG_PATH}"
86   export LD_LIBRARY_PATH="${environment:LD_LIBRARY_PATH}"
87   export PS1="[SlapOS env Active] $PS1"
88 output = ${buildout:directory}/environment.sh
89
90 [lxml-python]
91 python = python2.7
92
93 [slapos]
94 recipe = z3c.recipe.scripts
95 python = python2.7
96 eggs =
97   slapos.libnetworkcache
98   zc.buildout
99   ${lxml-python:egg}
100   slapos.core
101
102 initialization =
103   import os
104   os.environ['PATH'] = os.path.expandvars('${environment:PATH}')
105
106 # control scripts generation in order to avoid reinstalling bin/buildout
107 scripts =
108   bang = slapos.bang:main
109   generate-signature-key = slapos.signature:run
110   slapconsole = slapos.console:run
111   slapos-request = slapos.console:request
112   slapformat = slapos.format:main
113   slapgrid = slapos.grid.slapgrid:run
114   slapgrid-cp = slapos.grid.slapgrid:runComputerPartition
115   slapgrid-sr = slapos.grid.slapgrid:runSoftwareRelease
116   slapgrid-ur = slapos.grid.slapgrid:runUsageReport
117   slapgrid-supervisorctl = slapos.grid.svcbackend:supervisorctl
118   slapgrid-supervisord = slapos.grid.svcbackend:supervisord
119   slapproxy = slapos.proxy:main
120   slapproxy-query = slapos.proxy.query:main
121   slapos = slapos.entry:main
122   slapos-watchdog = slapos.grid.watchdog:main
123
124 [py]
125 recipe = zc.recipe.egg
126 eggs = 
127     ${slapos:eggs}
128 python = python2.7
129 interpreter = py
130 scripts = py
131
132 [versions]
133 # Use our own buildout version
134 zc.buildout = 1.6.0-dev-SlapOS-010
135
136 # Force to use zc.recipe.egg 1.x
137 zc.recipe.egg = 1.3.2
138
139 # Use own version of h.r.download to be able to open archives not supported by python2.x: .xz
140 hexagonit.recipe.download = 1.6nxd002
141
142 Jinja2 = 2.7
143 MarkupSafe = 0.18
144 Werkzeug = 0.8.3
145 buildout-versions = 1.7
146 collective.recipe.template = 1.10
147 lxml = 3.1.2
148 meld3 = 0.6.10
149 netaddr = 0.7.10
150 slapos.libnetworkcache = 0.13.4
151 xml-marshaller = 0.9.7
152 z3c.recipe.scripts = 1.0.1
153
154 # Required by:
155 # slapos.core==0.35.2-dev
156 Flask = 0.9
157
158 # Required by:
159 # slapos.core==0.35.2-dev
160 netifaces = 0.8
161
162 # Required by:
163 # slapos.core==0.35.2-dev
164 # slapos.libnetworkcache==0.13.3
165 # supervisor==3.0b1
166 # zc.buildout==1.6.0-dev-SlapOS-010
167 # zope.interface==4.0.5
168 setuptools = 0.6c12dev-r88846
169
170 # Required by:
171 # slapos.core==0.35.2-dev
172 supervisor = 3.0b2
173
174 # Required by:
175 # slapos.core==0.35.2-dev
176 zope.interface = 4.0.5