source: main/waeup.uniben/trunk/buildout.cfg @ 8749

Last change on this file since 8749 was 8699, checked in by uli, 12 years ago

A python console is always useful. Create it (also needed for stress-testing).

File size: 4.1 KB
Line 
1[buildout]
2develop = . waeup.kofa
3parts =
4    eggbasket
5    app
6    i18n
7    test
8    mkdirs
9    zpasswd
10    zope_conf
11    site_zcml
12    zdaemon_conf
13    deploy_ini
14    debug_ini
15    profile_ini
16    waeupdocs
17    coverage-detect
18    coverage-report
19# kofactl creation must be _after_ app!
20    kofactl
21# For backward compatibility, telling buildout not to throw away
22# the data and log subdirectories from the parts directory.
23    data
24    log
25# newest = false
26
27extends = versions.cfg
28
29# eggs will be installed in the default buildout location
30# (see .buildout/default.cfg in your home directory)
31# unless you specify an eggs-directory option here.
32
33[app]
34# This creates all scripts in bin/. The kofactl created here is 'faulty'.
35recipe = zc.recipe.egg
36eggs = waeup.uniben [beaker]
37       z3c.evalexception>=2.0
38       Paste
39       PasteScript
40       PasteDeploy
41       repoze.profile
42       ZODB3
43interpreter = python-console
44
45[kofactl]
46# See http://pypi.python.org/pypi/zc.recipe.egg for details...
47# Here we create the kofactl script again, this time with a
48# fixed path to zdaemon.conf as argument.
49recipe = zc.recipe.egg
50eggs = waeup.uniben [beaker]
51arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
52scripts = kofactl=kofactl
53
54[mkdirs]
55recipe = z3c.recipe.mkdir
56paths =
57    ${zope_conf:filestorage}
58    ${zope_conf:logfiles}
59    ${zope_conf:blobstorage}
60    ${buildout:directory}/var/datacenter/media
61    ${buildout:directory}/parts/test/datacenter
62
63[test]
64recipe = zc.recipe.testrunner
65eggs = waeup.uniben [beaker, test]
66defaults = ['--tests-pattern', '^f?tests$', '-v']
67
68# This section named so that the i18n scripts are called bin/i18n...
69[i18n]
70recipe = z3c.recipe.i18n:i18n
71packages = waeup.uniben
72eggs = waeup.uniben
73domain = waeup.uniben
74output = src/waeup/uniben/locales
75zcml =
76
77# This section is named so that the zpasswd utility is
78# called `zpasswd`
79[zpasswd]
80recipe = z3c.recipe.dev:script
81eggs = waeup.uniben
82module = zope.app.server.zpasswd
83method = main
84
85[zope_conf]
86recipe = collective.recipe.template
87input = etc/zope.conf.in
88output = ${buildout:parts-directory}/etc/zope.conf
89filestorage = ${buildout:directory}/var/filestorage
90blobstorage = ${buildout:directory}/var/blobstorage
91logfiles = ${buildout:directory}/var/log
92extra =
93# extra = <grokwarnings>True</grokwarnings>
94# 'extra' is copied verbatim. Use it for product config sections and so.
95
96# The [data] and [log] parts are still in here to instruct buildout to not
97# unintentionally throw away the parts/data and parts/log subdirectories
98# that contain the Data.fs and the log files. These files should be
99# copied to the new locations. See the upgrade notes for more information.
100[data]
101recipe = zc.recipe.filestorage
102
103[log]
104recipe = zc.recipe.filestorage
105
106[site_zcml]
107recipe = collective.recipe.template
108input = etc/site.zcml.in
109output = ${buildout:parts-directory}/etc/site.zcml
110
111[zdaemon_conf]
112recipe = collective.recipe.template
113input = etc/zdaemon.conf.in
114output = ${buildout:parts-directory}/etc/zdaemon.conf
115
116[deploy_ini]
117recipe = collective.recipe.template
118input = etc/deploy.ini.in
119output = ${buildout:parts-directory}/etc/deploy.ini
120
121[debug_ini]
122recipe = collective.recipe.template
123input = etc/debug.ini.in
124output = ${buildout:parts-directory}/etc/debug.ini
125
126[profile_ini]
127recipe = collective.recipe.template
128input = etc/profile.ini.in
129output = ${buildout:parts-directory}/etc/profile.ini
130
131[eggbasket]
132recipe = z3c.recipe.eggbasket
133eggs = grok
134url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
135
136[waeupdocs]
137recipe = collective.recipe.sphinxbuilder
138eggs = waeup.uniben[docs]
139source = ${buildout:directory}/docs/source
140build = ${buildout:directory}/docs/build
141
142# Collect test coverage data.
143[coverage-detect]
144recipe = zc.recipe.testrunner
145eggs = waeup.uniben[beaker]
146defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
147
148# Create a coverage report.
149# Make sure to run bin/coverage-detect to collect the data for the report
150# first!
151[coverage-report]
152recipe = zc.recipe.egg
153eggs = z3c.coverage
154scripts = coveragereport
155arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.