Jupyter: --matplotlib=inline is nether supported nor needed
[slapos.git] / stack / lapp / buildout.cfg
1 [buildout]
2
3 ignore-existing = true
4
5 parts =
6   slapos-cookbook
7   apache-php-postgres
8   rdiff-backup
9   dropbear
10   eggs
11   instance
12   psycopg2
13
14   instance-apache-php
15   instance-postgres
16
17 #Contains the importer and exporter recipes for postgres
18   instance-postgres-import
19   instance-postgres-export
20
21 #Contains the importer and exporter recipes for apache
22   instance-apache-import
23   instance-apache-export
24
25
26 extends =
27   ../../component/apache-php/buildout.cfg
28   ../../component/apache/buildout.cfg
29   ../../component/dash/buildout.cfg
30   ../../component/dcron/buildout.cfg
31   ../../component/gzip/buildout.cfg
32   ../../component/logrotate/buildout.cfg
33   ../../component/lxml-python/buildout.cfg
34   ../../component/postgresql/buildout.cfg
35   ../../component/rdiff-backup/buildout.cfg
36   ../../component/stunnel/buildout.cfg
37   ../../component/dropbear/buildout.cfg
38   ../slapos.cfg
39   ../resilient/buildout.cfg
40
41
42 #----------------
43 #-- Application-specific part (maarch, etc.)
44
45 [application]
46 recipe = hexagonit.recipe.download
47 # If the provided tarball does not contain top directory, this option should be changed to false
48 strip-top-level-dir = true
49
50
51 #----------------
52 #-- Instance-level buildout profiles.
53
54 [instance]
55 recipe = slapos.recipe.template
56 url = ${:_profile_base_location_}/instance.cfg.in
57 output = ${buildout:directory}/instance.cfg
58 md5sum = 25d07b5101d5f566398686642ada4cee
59 mode = 0644
60
61 [instance-apache-php]
62 recipe = slapos.recipe.template
63 url = ${:_profile_base_location_}/apache/instance-apache-php.cfg.in
64 output = ${buildout:directory}/instance-apache-php.cfg
65 md5sum = 8b9e7ac376cad5235e88a45ece817e6b
66 mode = 0644
67
68 [instance-apache-import]
69 recipe = slapos.recipe.template
70 url = ${:_profile_base_location_}/apache/instance-apache-import.cfg.in
71 output = ${buildout:directory}/instance-apache-import.cfg
72 md5sum = f1dc2a71d362b5d2d36481ffefdd2293
73 mode = 0644
74
75 [instance-apache-export]
76 recipe = slapos.recipe.template:jinja2
77 template = ${:_profile_base_location_}/apache/instance-apache-export.cfg.jinja2
78 rendered = ${buildout:directory}/instance-apache-export.cfg
79 extensions = jinja2.ext.do
80
81 context = key templateapache instance-apache-php:output
82           key templatepbsreadyexport pbsready-export:output
83
84 import-list = file parts template-parts:destination
85               file replicated template-replicated:destination
86
87 md5sum = dca811871e293cf3ce1bfc52dd8dab64
88 mode = 0644
89
90 [instance-resilient]
91 recipe = slapos.recipe.template:jinja2
92 template = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
93 rendered = ${buildout:directory}/instance-resilient.cfg
94 extensions = jinja2.ext.do
95
96 context = key buildout buildout:bin-directory
97           key develop_eggs_directory buildout:develop-eggs-directory
98           key eggs_directory buildout:eggs-directory
99
100 import-list = file parts template-parts:destination
101               file replicated template-replicated:destination
102
103 md5sum = e8fd20a32c87853ecba2846f50cd0898
104 mode = 0644
105
106 [instance-postgres]
107 recipe = slapos.recipe.template
108 url = ${:_profile_base_location_}/postgres/instance-postgres.cfg.in
109 output = ${buildout:directory}/instance-postgres.cfg
110 md5sum = a2370d9a23e436166b20203f66412608
111 mode = 0644
112
113 [instance-postgres-import]
114 recipe = slapos.recipe.template
115 url = ${:_profile_base_location_}/postgres/instance-postgres-import.cfg.in
116 output = ${buildout:directory}/instance-postgres-import.cfg
117 md5sum = 7edfa157ddccc27e99bf128fc1c2b9ee
118 mode = 0644
119
120 [instance-postgres-export]
121 recipe = slapos.recipe.template
122 url = ${:_profile_base_location_}/postgres/instance-postgres-export.cfg.in
123 output = ${buildout:directory}/instance-postgres-export.cfg
124 md5sum = d95205a5fc2825e9709ed6db295111e2
125 mode = 0644
126
127
128 #----------------
129 #-- Postgres driver for Python recipes.
130
131 [psycopg2-env]
132 PATH = ${postgresql:location}/bin:%(PATH)s
133
134
135 [psycopg2]
136 recipe = zc.recipe.egg:custom
137 egg = psycopg2
138 define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
139 environment = psycopg2-env
140 include-dirs =
141     ${postgresql:location}/include
142 library-dirs =
143     ${postgresql:location}/lib
144 rpath = 
145     ${postgresql:location}/lib
146
147
148 #----------------
149 #--
150 #-- Optional part allowing applications using this stack to run a custom
151 #-- instance.cfg at the end of Apache/PHP instance deployment.
152 #-- To use it in your application, just override those two parameters, like:
153
154 [custom-application-deployment]
155 # path = /path/to/instance-custom.cfg
156 # part-list = part1 part2
157 # See software/maarch/software.cfg for an example.
158 path =
159 part-list =
160
161 #----------------
162 #-- Dummy parts in case no application configuration file is needed
163
164 [application-template]
165 filename =
166 location =
167
168 [application-configuration]
169 location =
170
171 #----------------
172
173 [eggs]
174 recipe = zc.recipe.egg
175 eggs =
176   ${lxml-python:egg}
177   ${psycopg2:egg}
178   slapos.toolbox
179
180 [versions]
181 apache-libcloud = 0.12.1
182 async = 0.6.1
183 cp.recipe.cmd = 0.4
184 gitdb = 0.5.4
185 plone.recipe.command = 1.1
186 pycrypto = 2.6
187 slapos.recipe.template = 2.4.2
188 slapos.toolbox = 0.40.4
189 smmap = 0.8.2
190
191 # Required by:
192 # slapos.toolbox==0.40.2
193 GitPython = 0.3.2.RC1
194
195 # Required by:
196 # slapos.toolbox==0.40.2
197 atomize = 0.1.1
198
199 # Required by:
200 # slapos.toolbox==0.40.2
201 feedparser = 5.1.3
202
203 # Required by:
204 # slapos.toolbox==0.40.2
205 paramiko = 1.16.0
206
207 # Required by:
208 # slapos.recipe.maarch==0.4
209 psycopg2 = 2.4.6
210
211 # Required by:
212 # zope.testing==4.1.2
213 zope.exceptions = 4.0.6
214
215 # Required by:
216 # cp.recipe.cmd==0.4
217 zope.testing = 4.1.2