source: main/kofacustom.nigeria/branches/uli-autoinclude-less/buildout.cfg @ 8872

Last change on this file since 8872 was 8851, checked in by uli, 12 years ago

Create also console scripts from waeup.kofa.

File size: 5.0 KB
Line 
1[buildout]
2# See http://pypi.python.org/pypi/mr.developer for details
3extensions = mr.developer
4# Install waeup.kofa as develop egg
5auto-checkout = waeup.kofa
6develop = .
7parts =
8    eggbasket
9    app
10    i18n
11    test
12    mkdirs
13    zpasswd
14    zope_conf
15    site_zcml
16    zdaemon_conf
17    deploy_ini
18    debug_ini
19    profile_ini
20# waeupdocs
21    coverage-detect
22    coverage-report
23# kofactl creation must be _after_ app!
24    kofactl
25# For backward compatibility, telling buildout not to throw away
26# the data and log subdirectories from the parts directory.
27    data
28    log
29# newest = false
30
31extends = versions.cfg
32
33# eggs will be installed in the default buildout location
34# (see .buildout/default.cfg in your home directory)
35# unless you specify an eggs-directory option here.
36
37[sources]
38waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk
39
40[kofa_params]
41## Basic parameters for deployment.
42# default is 127.0.0.1
43host = 0.0.0.0
44# default is 8080
45base_port = 8080
46zeo1_port = 8080
47zeo2_port = 8081
48zeo3_port = 8082
49server_port = 8100
50# default 7. Number of pre-opened ZODB threads/client
51pool_size = 7
52# default 20MB. Cache size of each client (ZEO only)
53client_cache = 20MB
54# default 5000. Number of objects cached.
55object_cache = 5000
56# number of preopened paster threads, default 10
57threadpool_workers = 10
58devel_pkg = kofacustom.nigeria
59
60[app]
61# This creates all scripts in bin/. The kofactl created here is 'faulty'.
62recipe = zc.recipe.egg
63eggs = kofacustom.nigeria [beaker]
64       z3c.evalexception>=2.0
65       Paste
66       PasteScript
67       PasteDeploy
68       repoze.profile
69       ZODB3
70interpreter = python-console
71
72[kofactl]
73# See http://pypi.python.org/pypi/zc.recipe.egg for details...
74# Here we create the kofactl script again, this time with a
75# fixed path to zdaemon.conf as argument.
76recipe = zc.recipe.egg
77eggs = kofacustom.nigeria [beaker]
78       waeup.kofa
79arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
80scripts = kofactl=kofactl
81
82[mkdirs]
83recipe = z3c.recipe.mkdir
84paths =
85    ${zope_conf:filestorage}
86    ${zope_conf:logfiles}
87    ${zope_conf:blobstorage}
88    ${buildout:directory}/var/mailqueue/cur
89    ${buildout:directory}/var/mailqueue/tmp
90    ${buildout:directory}/var/mailqueue/new
91    ${buildout:directory}/var/datacenter/media
92    ${buildout:directory}/parts/test/datacenter
93
94[test]
95recipe = zc.recipe.testrunner
96eggs = kofacustom.nigeria [beaker, test]
97defaults = ['--tests-pattern', '^f?tests$', '-v']
98
99# this section named so that the i18n scripts are called bin/i18n...
100[i18n]
101recipe = z3c.recipe.i18n:i18n
102packages = kofacustom.nigeria
103eggs = kofacustom.nigeria
104domain = waeup.custom
105output = src/kofacustom/nigeria/locales
106zcml =
107
108# This section is named so that the zpasswd utility is
109# called `zpasswd`
110[zpasswd]
111recipe = z3c.recipe.dev:script
112eggs = kofacustom.nigeria
113module = zope.app.server.zpasswd
114method = main
115
116[zope_conf]
117recipe = collective.recipe.template
118input = etc/zope.conf.in
119output = ${buildout:parts-directory}/etc/zope.conf
120filestorage = ${buildout:directory}/var/filestorage
121blobstorage = ${buildout:directory}/var/blobstorage
122logfiles = ${buildout:directory}/var/log
123extra =
124# extra = <grokwarnings>True</grokwarnings>
125# 'extra' is copied verbatim. Use it for product config sections and so.
126
127# The [data] and [log] parts are still in here to instruct buildout to not
128# unintentionally throw away the parts/data and parts/log subdirectories
129# that contain the Data.fs and the log files. These files should be
130# copied to the new locations. See the upgrade notes for more information.
131[data]
132recipe = zc.recipe.filestorage
133
134[log]
135recipe = zc.recipe.filestorage
136
137[mailqueue]
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[deploy_ini]
151recipe = collective.recipe.template
152input = etc/deploy.ini.in
153output = ${buildout:parts-directory}/etc/deploy.ini
154
155[debug_ini]
156recipe = collective.recipe.template
157input = etc/debug.ini.in
158output = ${buildout:parts-directory}/etc/debug.ini
159
160[profile_ini]
161recipe = collective.recipe.template
162input = etc/profile.ini.in
163output = ${buildout:parts-directory}/etc/profile.ini
164
165[eggbasket]
166recipe = z3c.recipe.eggbasket
167eggs = grok
168url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
169
170#[waeupdocs]
171#recipe = collective.recipe.sphinxbuilder
172#eggs = kofacustom.nigeria[docs]
173#source = ${buildout:directory}/docs/source
174#build = ${buildout:directory}/docs/build
175
176# Collect test coverage data.
177[coverage-detect]
178recipe = zc.recipe.testrunner
179eggs = kofacustom.nigeria[beaker]
180defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
181
182# Create a coverage report.
183# Make sure to run bin/coverage-detect to collect the data for the report
184# first!
185[coverage-report]
186recipe = zc.recipe.egg
187eggs = z3c.coverage
188scripts = coveragereport
189arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.