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