source: main/waeup.aaue/trunk/buildout.cfg @ 8728

Last change on this file since 8728 was 8446, checked in by Henrik Bettermann, 12 years ago

Rename uniben and aaue also in root.

File size: 4.0 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.aaue [beaker]
37       z3c.evalexception>=2.0
38       Paste
39       PasteScript
40       PasteDeploy
41       repoze.profile
42       ZODB3
43
44[kofactl]
45# See http://pypi.python.org/pypi/zc.recipe.egg for details...
46# Here we create the kofactl script again, this time with a
47# fixed path to zdaemon.conf as argument.
48recipe = zc.recipe.egg
49eggs = waeup.aaue [beaker]
50arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
51scripts = kofactl=kofactl
52
53[mkdirs]
54recipe = z3c.recipe.mkdir
55paths =
56    ${zope_conf:filestorage}
57    ${zope_conf:logfiles}
58    ${zope_conf:blobstorage}
59    ${buildout:directory}/var/datacenter/media
60    ${buildout:directory}/parts/test/datacenter
61
62[test]
63recipe = zc.recipe.testrunner
64eggs = waeup.aaue [beaker, test]
65defaults = ['--tests-pattern', '^f?tests$', '-v']
66
67# This section named so that the i18n scripts are called bin/i18n...
68[i18n]
69recipe = z3c.recipe.i18n:i18n
70packages = waeup.aaue
71eggs = waeup.aaue
72domain = waeup.aaue
73output = src/waeup/aaue/locales
74zcml =
75
76# This section is named so that the zpasswd utility is
77# called `zpasswd`
78[zpasswd]
79recipe = z3c.recipe.dev:script
80eggs = waeup.aaue
81module = zope.app.server.zpasswd
82method = main
83
84[zope_conf]
85recipe = collective.recipe.template
86input = etc/zope.conf.in
87output = ${buildout:parts-directory}/etc/zope.conf
88filestorage = ${buildout:directory}/var/filestorage
89blobstorage = ${buildout:directory}/var/blobstorage
90logfiles = ${buildout:directory}/var/log
91extra =
92# extra = <grokwarnings>True</grokwarnings>
93# 'extra' is copied verbatim. Use it for product config sections and so.
94
95# The [data] and [log] parts are still in here to instruct buildout to not
96# unintentionally throw away the parts/data and parts/log subdirectories
97# that contain the Data.fs and the log files. These files should be
98# copied to the new locations. See the upgrade notes for more information.
99[data]
100recipe = zc.recipe.filestorage
101
102[log]
103recipe = zc.recipe.filestorage
104
105[site_zcml]
106recipe = collective.recipe.template
107input = etc/site.zcml.in
108output = ${buildout:parts-directory}/etc/site.zcml
109
110[zdaemon_conf]
111recipe = collective.recipe.template
112input = etc/zdaemon.conf.in
113output = ${buildout:parts-directory}/etc/zdaemon.conf
114
115[deploy_ini]
116recipe = collective.recipe.template
117input = etc/deploy.ini.in
118output = ${buildout:parts-directory}/etc/deploy.ini
119
120[debug_ini]
121recipe = collective.recipe.template
122input = etc/debug.ini.in
123output = ${buildout:parts-directory}/etc/debug.ini
124
125[profile_ini]
126recipe = collective.recipe.template
127input = etc/profile.ini.in
128output = ${buildout:parts-directory}/etc/profile.ini
129
130[eggbasket]
131recipe = z3c.recipe.eggbasket
132eggs = grok
133url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
134
135[waeupdocs]
136recipe = collective.recipe.sphinxbuilder
137eggs = waeup.aaue[docs]
138source = ${buildout:directory}/docs/source
139build = ${buildout:directory}/docs/build
140
141# Collect test coverage data.
142[coverage-detect]
143recipe = zc.recipe.testrunner
144eggs = waeup.aaue[beaker]
145defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
146
147# Create a coverage report.
148# Make sure to run bin/coverage-detect to collect the data for the report
149# first!
150[coverage-report]
151recipe = zc.recipe.egg
152eggs = z3c.coverage
153scripts = coveragereport
154arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.