source: main/kofacustom.edocons/trunk/buildout.cfg @ 17581

Last change on this file since 17581 was 17321, checked in by Henrik Bettermann, 2 years ago

Adjust to base package.

File size: 5.4 KB
Line 
1[buildout]
2# See http://pypi.python.org/pypi/mr.developer for details
3extensions = mr.developer
4auto-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).
8sources-dir = sources
9develop = .
10parts =
11    app
12    i18n
13    test
14    mkdirs
15    zpasswd
16    zope_conf
17    site_zcml
18    zdaemon_conf
19    raw_deploy_ini
20    raw_debug_ini
21    themed_deploy_ini
22    themed_debug_ini
23    profile_ini
24    coverage-detect
25    coverage-report
26# kofactl creation must be _after_ app!
27    kofactl
28    lxml
29    diazo
30# For backward compatibility, telling buildout not to throw away
31# the data and log subdirectories from the parts directory.
32    data
33    log
34# newest = false
35
36extends = versions.cfg
37show-picked-versions = true
38update-versions-file = versions.cfg
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]
45waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
46kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
47
48[kofa_params]
49## Basic parameters for deployment.
50# default is 127.0.0.1
51host = 0.0.0.0
52# default is 8080
53base_port = 7201
54zeo1_port = 7201
55zeo2_port = 7203
56server_port = 7200
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
65devel_pkg = kofacustom.edocons
66
67[app]
68# This creates all scripts in bin/. The kofactl created here is 'faulty'.
69recipe = zc.recipe.egg
70eggs = kofacustom.edocons [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 = kofacustom.edocons [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/datacenter/media
95    ${buildout:directory}/parts/test/datacenter
96
97[test]
98recipe = zc.recipe.testrunner
99eggs = kofacustom.edocons [beaker, test]
100defaults = ['--tests-pattern', '^f?tests$', '-v']
101
102# This section named so that the i18n scripts are called bin/i18n...
103[i18n]
104recipe = z3c.recipe.i18n:i18n
105packages = kofacustom.edocons
106eggs = kofacustom.edocons
107domain = kofacustom.edocons
108output = src/kofacustom/edocons/locales
109zcml =
110
111# This section is named so that the zpasswd utility is
112# called `zpasswd`
113[zpasswd]
114recipe = z3c.recipe.dev:script
115eggs = kofacustom.edocons
116module = zope.app.server.zpasswd
117method = main
118
119[zope_conf]
120recipe = collective.recipe.template
121input = etc/zope.conf.in
122output = ${buildout:parts-directory}/etc/zope.conf
123filestorage = ${buildout:directory}/var/filestorage
124blobstorage = ${buildout:directory}/var/blobstorage
125logfiles = ${buildout:directory}/var/log
126extra =
127# extra = <grokwarnings>True</grokwarnings>
128# 'extra' is copied verbatim. Use it for product config sections and so.
129
130# The [data] and [log] parts are still in here to instruct buildout to not
131# unintentionally throw away the parts/data and parts/log subdirectories
132# that contain the Data.fs and the log files. These files should be
133# copied to the new locations. See the upgrade notes for more information.
134[data]
135recipe = zc.recipe.filestorage
136
137[log]
138recipe = zc.recipe.filestorage
139
140[site_zcml]
141recipe = collective.recipe.template
142input = etc/site.zcml.in
143output = ${buildout:parts-directory}/etc/site.zcml
144
145[zdaemon_conf]
146recipe = collective.recipe.template
147input = etc/zdaemon.conf.in
148output = ${buildout:parts-directory}/etc/zdaemon.conf
149
150[raw_debug_ini]
151recipe = collective.recipe.template
152input = etc/raw/debug.ini.in
153output = ${buildout:parts-directory}/etc/raw-debug.ini
154
155[raw_deploy_ini]
156recipe = collective.recipe.template
157input = etc/raw/deploy.ini.in
158output = ${buildout:parts-directory}/etc/raw-deploy.ini
159
160[themed_debug_ini]
161recipe = collective.recipe.template
162input = etc/themed/debug.ini.in
163output = ${buildout:parts-directory}/etc/themed-debug.ini
164
165[themed_deploy_ini]
166recipe = collective.recipe.template
167input = etc/themed/deploy.ini.in
168output = ${buildout:parts-directory}/etc/themed-deploy.ini
169
170[profile_ini]
171recipe = collective.recipe.template
172input = etc/profile.ini.in
173output = ${buildout:parts-directory}/etc/profile.ini
174
175# Collect test coverage data.
176[coverage-detect]
177recipe = zc.recipe.testrunner
178eggs = kofacustom.edocons[beaker]
179defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
180
181# Create a coverage report.
182# Make sure to run bin/coverage-detect to collect the data for the report
183# first!
184[coverage-report]
185recipe = zc.recipe.egg
186eggs = z3c.coverage
187scripts = coveragereport
188arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
189
190[lxml]
191recipe = z3c.recipe.staticlxml
192egg = lxml
193
194[diazo]
195recipe = zc.recipe.egg
196eggs =
197    diazo [wsgi]
198    PasteScript
199    kofacustom.edocons [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.