source: main/kofacustom.dspg/trunk/buildout.cfg @ 15344

Last change on this file since 15344 was 14716, checked in by Henrik Bettermann, 7 years ago

Rename package (step 2).

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