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