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