source: main/kofacustom.skeleton/trunk/buildout.cfg @ 11157

Last change on this file since 11157 was 10765, checked in by Henrik Bettermann, 11 years ago

Fill trunk.

File size: 5.2 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    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
34extends = versions.cfg
35show-picked-versions = true
36update-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]
43waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
44kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
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
52
53# zeo1_port = 7011
54# zeo2_port = 7012
55# zeo3_port = 7013
56# server_port = 7010
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
66[app]
67# This creates all scripts in bin/. The kofactl created here is 'faulty'.
68recipe = zc.recipe.egg
69eggs = kofacustom.skeleton [beaker]
70       z3c.evalexception>=2.0
71       Paste
72       PasteScript
73       PasteDeploy
74       repoze.profile
75       ZODB3
76interpreter = python-console
77
78[kofactl]
79# See http://pypi.python.org/pypi/zc.recipe.egg for details...
80# Here we create the kofactl script again, this time with a
81# fixed path to zdaemon.conf as argument.
82recipe = zc.recipe.egg
83eggs = kofacustom.skeleton [beaker]
84arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
85scripts = kofactl=kofactl
86
87[mkdirs]
88recipe = z3c.recipe.mkdir
89paths =
90    ${zope_conf:filestorage}
91    ${zope_conf:logfiles}
92    ${zope_conf:blobstorage}
93    ${buildout:directory}/var/datacenter/media
94    ${buildout:directory}/parts/test/datacenter
95
96[test]
97recipe = zc.recipe.testrunner
98eggs = kofacustom.skeleton [beaker, test]
99defaults = ['--tests-pattern', '^f?tests$', '-v']
100
101# This section named so that the i18n scripts are called bin/i18n...
102[i18n]
103recipe = z3c.recipe.i18n:i18n
104packages = kofacustom.skeleton
105eggs = kofacustom.skeleton
106domain = kofacustom.skeleton
107output = src/kofacustom/skeleton/locales
108zcml =
109
110# This section is named so that the zpasswd utility is
111# called `zpasswd`
112[zpasswd]
113recipe = z3c.recipe.dev:script
114eggs = kofacustom.skeleton
115module = zope.app.server.zpasswd
116method = main
117
118[zope_conf]
119recipe = collective.recipe.template
120input = etc/zope.conf.in
121output = ${buildout:parts-directory}/etc/zope.conf
122filestorage = ${buildout:directory}/var/filestorage
123blobstorage = ${buildout:directory}/var/blobstorage
124logfiles = ${buildout:directory}/var/log
125extra =
126# extra = <grokwarnings>True</grokwarnings>
127# 'extra' is copied verbatim. Use it for product config sections and so.
128
129# The [data] and [log] parts are still in here to instruct buildout to not
130# unintentionally throw away the parts/data and parts/log subdirectories
131# that contain the Data.fs and the log files. These files should be
132# copied to the new locations. See the upgrade notes for more information.
133[data]
134recipe = zc.recipe.filestorage
135
136[log]
137recipe = zc.recipe.filestorage
138
139[site_zcml]
140recipe = collective.recipe.template
141input = etc/site.zcml.in
142output = ${buildout:parts-directory}/etc/site.zcml
143
144[zdaemon_conf]
145recipe = collective.recipe.template
146input = etc/zdaemon.conf.in
147output = ${buildout:parts-directory}/etc/zdaemon.conf
148
149[deploy_ini]
150recipe = collective.recipe.template
151input = etc/deploy.ini.in
152output = ${buildout:parts-directory}/etc/deploy.ini
153
154[debug_ini]
155recipe = collective.recipe.template
156input = etc/debug.ini.in
157output = ${buildout:parts-directory}/etc/debug.ini
158
159[profile_ini]
160recipe = collective.recipe.template
161input = etc/profile.ini.in
162output = ${buildout:parts-directory}/etc/profile.ini
163
164[eggbasket]
165recipe = z3c.recipe.eggbasket
166eggs = grok
167url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
168
169[waeupdocs]
170recipe = collective.recipe.sphinxbuilder
171eggs = kofacustom.skeleton[docs]
172source = ${buildout:directory}/docs/source
173build = ${buildout:directory}/docs/build
174
175# Collect test coverage data.
176[coverage-detect]
177recipe = zc.recipe.testrunner
178eggs = kofacustom.skeleton[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')
Note: See TracBrowser for help on using the repository browser.