1 | [buildout] |
---|
2 | extensions = mr.developer |
---|
3 | auto-checkout = |
---|
4 | sources-dir = sources |
---|
5 | develop = . |
---|
6 | parts = |
---|
7 | app |
---|
8 | i18n |
---|
9 | test |
---|
10 | mkdirs |
---|
11 | zpasswd |
---|
12 | zope_conf |
---|
13 | site_zcml |
---|
14 | zdaemon_conf |
---|
15 | raw_deploy_ini |
---|
16 | raw_debug_ini |
---|
17 | themed_deploy_ini |
---|
18 | themed_debug_ini |
---|
19 | profile_ini |
---|
20 | waeupdocs |
---|
21 | coverage-detect |
---|
22 | coverage-report |
---|
23 | # kofactl creation must be _after_ app! |
---|
24 | kofactl |
---|
25 | lxml |
---|
26 | diazo |
---|
27 | # For backward compatibility, telling buildout not to throw away |
---|
28 | # the data and log subdirectories from the parts directory. |
---|
29 | data |
---|
30 | log |
---|
31 | # newest = false |
---|
32 | |
---|
33 | extends = versions.cfg |
---|
34 | show-picked-versions = true |
---|
35 | update-versions-file = versions.cfg |
---|
36 | |
---|
37 | index = https://pypi.python.org/simple/ |
---|
38 | |
---|
39 | # eggs will be installed in the default buildout location |
---|
40 | # (see .buildout/default.cfg in your home directory) |
---|
41 | # unless you specify an eggs-directory option here. |
---|
42 | |
---|
43 | [sources] |
---|
44 | # None, currently. |
---|
45 | |
---|
46 | [kofa_params] |
---|
47 | ## Basic parameters for deployment. |
---|
48 | # default is 127.0.0.1 |
---|
49 | host = 0.0.0.0 |
---|
50 | # default is 8080 |
---|
51 | base_port = 8080 |
---|
52 | zeo1_port = 8080 |
---|
53 | zeo2_port = 8081 |
---|
54 | zeo3_port = 8082 |
---|
55 | server_port = 8100 |
---|
56 | # default 7. Number of pre-opened ZODB threads/client |
---|
57 | pool_size = 7 |
---|
58 | # default 20MB. Cache size of each client (ZEO only) |
---|
59 | client_cache = 20MB |
---|
60 | # default 5000. Number of objects cached. |
---|
61 | object_cache = 5000 |
---|
62 | # number of preopened paster threads, default 10 |
---|
63 | threadpool_workers = 10 |
---|
64 | # package to be developed |
---|
65 | devel_pkg = waeup.kofa |
---|
66 | |
---|
67 | [app] |
---|
68 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
69 | recipe = zc.recipe.egg |
---|
70 | eggs = waeup.kofa [beaker, diazo] |
---|
71 | z3c.evalexception>=2.0 |
---|
72 | Paste |
---|
73 | PasteScript |
---|
74 | PasteDeploy |
---|
75 | repoze.profile |
---|
76 | ZODB3 |
---|
77 | interpreter = python-console |
---|
78 | |
---|
79 | [kofactl] |
---|
80 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
81 | # Here we create the kofactl script again, this time with a |
---|
82 | # fixed path to zdaemon.conf as argument. |
---|
83 | recipe = zc.recipe.egg |
---|
84 | eggs = waeup.kofa [beaker, diazo] |
---|
85 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
86 | scripts = kofactl=kofactl |
---|
87 | |
---|
88 | [mkdirs] |
---|
89 | recipe = z3c.recipe.mkdir |
---|
90 | paths = |
---|
91 | ${zope_conf:filestorage} |
---|
92 | ${zope_conf:logfiles} |
---|
93 | ${zope_conf:blobstorage} |
---|
94 | ${buildout:directory}/var/mailqueue/cur |
---|
95 | ${buildout:directory}/var/mailqueue/tmp |
---|
96 | ${buildout:directory}/var/mailqueue/new |
---|
97 | ${buildout:directory}/var/datacenter/media |
---|
98 | ${buildout:directory}/parts/test/datacenter |
---|
99 | |
---|
100 | [test] |
---|
101 | recipe = zc.recipe.testrunner |
---|
102 | eggs = waeup.kofa [beaker, test] |
---|
103 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
104 | |
---|
105 | # this section named so that the i18n scripts are called bin/i18n... |
---|
106 | [i18n] |
---|
107 | recipe = z3c.recipe.i18n:i18n |
---|
108 | packages = waeup.kofa |
---|
109 | eggs = waeup.kofa |
---|
110 | domain = waeup.kofa |
---|
111 | output = src/waeup/kofa/locales |
---|
112 | zcml = |
---|
113 | |
---|
114 | # This section is named so that the zpasswd utility is |
---|
115 | # called `zpasswd` |
---|
116 | [zpasswd] |
---|
117 | recipe = z3c.recipe.dev:script |
---|
118 | eggs = waeup.kofa |
---|
119 | module = zope.password.zpasswd |
---|
120 | method = main |
---|
121 | |
---|
122 | [zope_conf] |
---|
123 | recipe = collective.recipe.template |
---|
124 | input = etc/zope.conf.in |
---|
125 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
126 | filestorage = ${buildout:directory}/var/filestorage |
---|
127 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
128 | logfiles = ${buildout:directory}/var/log |
---|
129 | extra = |
---|
130 | # extra = <grokwarnings>True</grokwarnings> |
---|
131 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
132 | |
---|
133 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
134 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
135 | # that contain the Data.fs and the log files. These files should be |
---|
136 | # copied to the new locations. See the upgrade notes for more information. |
---|
137 | [data] |
---|
138 | recipe = zc.recipe.filestorage |
---|
139 | |
---|
140 | [log] |
---|
141 | recipe = zc.recipe.filestorage |
---|
142 | |
---|
143 | [mailqueue] |
---|
144 | recipe = zc.recipe.filestorage |
---|
145 | |
---|
146 | [site_zcml] |
---|
147 | recipe = collective.recipe.template |
---|
148 | input = etc/site.zcml.in |
---|
149 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
150 | |
---|
151 | [zdaemon_conf] |
---|
152 | recipe = collective.recipe.template |
---|
153 | input = etc/zdaemon.conf.in |
---|
154 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
155 | |
---|
156 | [raw_debug_ini] |
---|
157 | recipe = collective.recipe.template |
---|
158 | input = etc/raw/debug.ini.in |
---|
159 | output = ${buildout:parts-directory}/etc/raw-debug.ini |
---|
160 | |
---|
161 | [raw_deploy_ini] |
---|
162 | recipe = collective.recipe.template |
---|
163 | input = etc/raw/deploy.ini.in |
---|
164 | output = ${buildout:parts-directory}/etc/raw-deploy.ini |
---|
165 | |
---|
166 | [themed_debug_ini] |
---|
167 | recipe = collective.recipe.template |
---|
168 | input = etc/themed/debug.ini.in |
---|
169 | output = ${buildout:parts-directory}/etc/themed-debug.ini |
---|
170 | |
---|
171 | [themed_deploy_ini] |
---|
172 | recipe = collective.recipe.template |
---|
173 | input = etc/themed/deploy.ini.in |
---|
174 | output = ${buildout:parts-directory}/etc/themed-deploy.ini |
---|
175 | |
---|
176 | [profile_ini] |
---|
177 | recipe = collective.recipe.template |
---|
178 | input = etc/profile.ini.in |
---|
179 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
180 | |
---|
181 | [waeupdocs] |
---|
182 | recipe = collective.recipe.sphinxbuilder |
---|
183 | eggs = waeup.kofa[docs] |
---|
184 | source = ${buildout:directory}/docs/source |
---|
185 | build = ${buildout:directory}/docs/build |
---|
186 | |
---|
187 | # Collect test coverage data. |
---|
188 | [coverage-detect] |
---|
189 | recipe = zc.recipe.testrunner |
---|
190 | eggs = waeup.kofa[beaker] |
---|
191 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
192 | |
---|
193 | # Create a coverage report. |
---|
194 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
195 | # first! |
---|
196 | [coverage-report] |
---|
197 | recipe = zc.recipe.egg |
---|
198 | eggs = z3c.coverage |
---|
199 | scripts = coveragereport |
---|
200 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|
201 | |
---|
202 | [lxml] |
---|
203 | recipe = z3c.recipe.staticlxml |
---|
204 | egg = lxml |
---|
205 | |
---|
206 | [diazo] |
---|
207 | recipe = zc.recipe.egg |
---|
208 | eggs = |
---|
209 | diazo [wsgi] |
---|
210 | PasteScript |
---|
211 | waeup.kofa [beaker,diazo] |
---|