Use Slapos.core 1.0.2.1
[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   ../python-openssl/buildout.cfg
21   ../readline/buildout.cfg
22   ../sqlite3/buildout.cfg
23   ../swig/buildout.cfg
24   ../zlib/buildout.cfg
25   ../patch/buildout.cfg
26
27 parts =
28   slapos
29   cfg-environment
30   sh-environment
31   py
32
33 find-links =
34   http://www.nexedi.org/static/packages/source/slapos.buildout/
35   http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
36
37 versions = versions
38
39 allow-hosts =
40   *.googlecode.com
41   *.nexedi.org
42   *.python.org
43   alastairs-place.net
44   code.google.com
45   github.com
46   peak.telecommunity.com
47
48 unzip = true
49
50 # separate from system python
51 include-site-packages = false
52 exec-sitecustomize = false
53 allowed-eggs-from-site-packages =
54
55 [environment]
56 # Note: For now original PATH is appended to the end, as not all tools are
57 #       provided by SlapOS
58 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
59 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
60 CPPFLAGS=${:CFLAGS}
61 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
62 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
63 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
64
65 [cfg-environment]
66 # Section exposes SlapOS default environment as configuration file.
67 recipe = collective.recipe.template
68 input = inline:
69   [environment]
70   PATH=${environment:PATH}
71   CFLAGS=${environment:CFLAGS}
72   CPPFLAGS=${environment:CPPFLAGS}
73   LDFLAGS=${environment:LDFLAGS}
74   PKG_CONFIG_PATH=${environment:PKG_CONFIG_PATH}
75   LD_LIBRARY_PATH=${environment:LD_LIBRARY_PATH}
76 output = ${buildout:directory}/environment.cfg
77
78 [sh-environment]
79 # Section exposes SlapOS default environment as sh file.
80 recipe = collective.recipe.template
81 input = inline:
82   export PATH="${environment:PATH}"
83   export CFLAGS="${environment:CFLAGS}"
84   export CPPFLAGS="${environment:CPPFLAGS}"
85   export LDFLAGS="${environment:LDFLAGS}"
86   export PKG_CONFIG_PATH="${environment:PKG_CONFIG_PATH}"
87   export LD_LIBRARY_PATH="${environment:LD_LIBRARY_PATH}"
88   export PS1="[SlapOS env Active] $PS1"
89 output = ${buildout:directory}/environment.sh
90
91 [lxml-python]
92 python = python2.7
93
94 [python-openssl]
95 python = python2.7
96
97 [slapos]
98 recipe = z3c.recipe.scripts
99 python = python2.7
100 eggs =
101   ${python-openssl:egg}
102   slapos.libnetworkcache
103   zc.buildout
104   ${lxml-python:egg}
105   slapos.core
106
107 initialization =
108   import os
109   os.environ['PATH'] = os.path.expandvars('${environment:PATH}')
110
111 # control scripts generation in order to avoid reinstalling bin/buildout
112 scripts =
113   bang = slapos.bang:main
114   generate-signature-key = slapos.signature:run
115   slapconsole = slapos.console:run
116   slapos-request = slapos.console:request
117   slapformat = slapos.format:main
118   slapgrid = slapos.grid.slapgrid:run
119   slapgrid-cp = slapos.grid.slapgrid:runComputerPartition
120   slapgrid-sr = slapos.grid.slapgrid:runSoftwareRelease
121   slapgrid-ur = slapos.grid.slapgrid:runUsageReport
122   slapgrid-supervisorctl = slapos.grid.svcbackend:supervisorctl
123   slapgrid-supervisord = slapos.grid.svcbackend:supervisord
124   slapproxy = slapos.proxy:main
125   slapproxy-query = slapos.proxy.query:main
126   slapos = slapos.entry:main
127   slapos-watchdog = slapos.grid.watchdog:main
128
129 [py]
130 recipe = zc.recipe.egg
131 eggs = 
132     ${slapos:eggs}
133 python = python2.7
134 interpreter = py
135 scripts = py
136
137 [versions]
138 # Use our own buildout version
139 zc.buildout = 1.6.0-dev-SlapOS-012
140
141 # Force to use zc.recipe.egg 1.x
142 zc.recipe.egg = 1.3.2
143
144 # Use own version of h.r.download to be able to open archives not supported by python2.x: .xz
145 hexagonit.recipe.download = 1.7nxd002
146
147 slapos.core = 1.0.2.1
148 Jinja2 = 2.7.1
149 MarkupSafe = 0.18
150 Pygments = 1.6
151 Werkzeug = 0.9.4
152 buildout-versions = 1.7
153 cmd2 = 0.6.7
154 collective.recipe.template = 1.10
155 itsdangerous = 0.23
156 lxml = 3.2.3
157 meld3 = 0.6.10
158 netaddr = 0.7.10
159 prettytable = 0.7.2
160 pyOpenSSL = 0.13.1
161 pyparsing = 2.0.1
162 setuptools = 1.1.6
163 slapos.libnetworkcache = 0.13.4
164 slapos.recipe.cmmi = 0.1.1
165 xml-marshaller = 0.9.7
166 z3c.recipe.scripts = 1.0.1
167
168 # Required by:
169 # slapos.core==1.0.2.1
170 Flask = 0.10.1
171
172 # Required by:
173 # slapos.core==1.0.2.1
174 bpython = 0.12
175
176 # Required by:
177 # slapos.core==1.0.2.1
178 cliff = 1.4.5
179
180 # Required by:
181 # slapos.core==1.0.2.1
182 ipython = 1.1.0
183
184 # Required by:
185 # slapos.core==1.0.2.1
186 netifaces = 0.8
187
188 # Required by:
189 # slapos.core==1.0.2.1
190 requests = 2.1.0
191
192 # Required by:
193 # slapos.core==1.0.2.1
194 supervisor = 3.0
195
196 # Required by:
197 # slapos.core==1.0.2.1
198 zope.interface = 4.0.5