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