source: main/waeup.kofa/trunk/buildout.cfg @ 15016

Last change on this file since 15016 was 13470, checked in by uli, 9 years ago

Remove Sphinx development package.

We used our own-made Sphinx package because the stock package is not
able to cope with membernames containing dots. While dots in
(Python-object) membernames are w/o doubt a bad habit, they occur in
grokked objects all the way: 'grokcore.directive.name' and similar are
members of regular grok.Applciation, grok.Container and
grok.Model classes.

With a workaound in conf.py we simply ignore these members and there
is no urgent need for the dependency of the home-brewed Sphinx stuff.

This also eases building of docker containers (no need to install git
in the first place).

File size: 5.4 KB
Line 
1[buildout]
2extensions = mr.developer
3auto-checkout =
4sources-dir = sources
5develop = .
6parts =
7    eggbasket
8    app
9    i18n
10    test
11    mkdirs
12    zpasswd
13    zope_conf
14    site_zcml
15    zdaemon_conf
16    raw_deploy_ini
17    raw_debug_ini
18    themed_deploy_ini
19    themed_debug_ini
20    profile_ini
21    waeupdocs
22    coverage-detect
23    coverage-report
24# kofactl creation must be _after_ app!
25    kofactl
26    lxml
27    diazo
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
34extends = versions.cfg
35show-picked-versions = true
36update-versions-file = versions.cfg
37
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
49host = 0.0.0.0
50# default is 8080
51base_port = 8080
52zeo1_port = 8080
53zeo2_port = 8081
54zeo3_port = 8082
55server_port = 8100
56# default 7. Number of pre-opened ZODB threads/client
57pool_size = 7
58# default 20MB. Cache size of each client (ZEO only)
59client_cache = 20MB
60# default 5000. Number of objects cached.
61object_cache = 5000
62# number of preopened paster threads, default 10
63threadpool_workers = 10
64# package to be developed
65devel_pkg = waeup.kofa
66
67[app]
68# This creates all scripts in bin/. The kofactl created here is 'faulty'.
69recipe = zc.recipe.egg
70eggs = waeup.kofa [beaker, diazo]
71       z3c.evalexception>=2.0
72       Paste
73       PasteScript
74       PasteDeploy
75       repoze.profile
76       ZODB3
77interpreter = 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.
83recipe = zc.recipe.egg
84eggs = waeup.kofa [beaker, diazo]
85arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
86scripts = kofactl=kofactl
87
88[mkdirs]
89recipe = z3c.recipe.mkdir
90paths =
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]
101recipe = zc.recipe.testrunner
102eggs = waeup.kofa [beaker, test]
103defaults = ['--tests-pattern', '^f?tests$', '-v']
104
105# this section named so that the i18n scripts are called bin/i18n...
106[i18n]
107recipe = z3c.recipe.i18n:i18n
108packages = waeup.kofa
109eggs = waeup.kofa
110domain = waeup.kofa
111output = src/waeup/kofa/locales
112zcml =
113
114# This section is named so that the zpasswd utility is
115# called `zpasswd`
116[zpasswd]
117recipe = z3c.recipe.dev:script
118eggs = waeup.kofa
119module = zope.app.server.zpasswd
120method = main
121
122[zope_conf]
123recipe = collective.recipe.template
124input = etc/zope.conf.in
125output = ${buildout:parts-directory}/etc/zope.conf
126filestorage = ${buildout:directory}/var/filestorage
127blobstorage = ${buildout:directory}/var/blobstorage
128logfiles = ${buildout:directory}/var/log
129extra =
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]
138recipe = zc.recipe.filestorage
139
140[log]
141recipe = zc.recipe.filestorage
142
143[mailqueue]
144recipe = zc.recipe.filestorage
145
146[site_zcml]
147recipe = collective.recipe.template
148input = etc/site.zcml.in
149output = ${buildout:parts-directory}/etc/site.zcml
150
151[zdaemon_conf]
152recipe = collective.recipe.template
153input = etc/zdaemon.conf.in
154output = ${buildout:parts-directory}/etc/zdaemon.conf
155
156[raw_debug_ini]
157recipe = collective.recipe.template
158input = etc/raw/debug.ini.in
159output = ${buildout:parts-directory}/etc/raw-debug.ini
160
161[raw_deploy_ini]
162recipe = collective.recipe.template
163input = etc/raw/deploy.ini.in
164output = ${buildout:parts-directory}/etc/raw-deploy.ini
165
166[themed_debug_ini]
167recipe = collective.recipe.template
168input = etc/themed/debug.ini.in
169output = ${buildout:parts-directory}/etc/themed-debug.ini
170
171[themed_deploy_ini]
172recipe = collective.recipe.template
173input = etc/themed/deploy.ini.in
174output = ${buildout:parts-directory}/etc/themed-deploy.ini
175
176[profile_ini]
177recipe = collective.recipe.template
178input = etc/profile.ini.in
179output = ${buildout:parts-directory}/etc/profile.ini
180
181[eggbasket]
182recipe = z3c.recipe.eggbasket
183eggs = grok
184url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
185
186[waeupdocs]
187recipe = collective.recipe.sphinxbuilder
188eggs = waeup.kofa[docs]
189source = ${buildout:directory}/docs/source
190build = ${buildout:directory}/docs/build
191
192# Collect test coverage data.
193[coverage-detect]
194recipe = zc.recipe.testrunner
195eggs = waeup.kofa[beaker]
196defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
197
198# Create a coverage report.
199# Make sure to run bin/coverage-detect to collect the data for the report
200# first!
201[coverage-report]
202recipe = zc.recipe.egg
203eggs = z3c.coverage
204scripts = coveragereport
205arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report')
206
207[lxml]
208recipe = z3c.recipe.staticlxml
209egg = lxml
210
211[diazo]
212recipe = zc.recipe.egg
213eggs =
214    diazo [wsgi]
215    PasteScript
216    waeup.kofa [beaker,diazo]
Note: See TracBrowser for help on using the repository browser.