source: main/waeup.kofa/branches/uli-py3/buildout.cfg @ 17366

Last change on this file since 17366 was 15161, checked in by Henrik Bettermann, 6 years ago

Add index.

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