source: main/waeup.kofa/trunk/buildout.cfg @ 7929

Last change on this file since 7929 was 7904, checked in by uli, 13 years ago

Rollback last commit partially. These changes were not meant to be checked in.

File size: 4.9 KB
Line 
1[buildout]
2develop = .
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
27#extends = versions.cfg
28extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
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
33versions = versions
34
35[versions]
36collective.recipe.sphinxbuilder = 0.7.0
37hurry.workflow = 0.11
38# Pinned to circumvent breakage in 0.4.x
39hurry.zoperesource = 0.6
40# Pinned to prevent buildout svn-error.
41lovely.recipe = 1.0.0
42megrok.layout = 1.0.2
43reportlab = 2.5
44transaction = 1.1.0
45z3c.testsetup = 0.6.1
46zc.buildout = 1.5.0
47zc.recipe.egg = 1.3.0
48zc.recipe.testrunner = 1.4.0
49zope.app.testing = 3.8.1
50# for support of @provider directive
51zope.interface = 3.6.3
52# for support of contextual default values
53zope.schema = 3.8.0
54zope.testing = 3.10.2
55zope.xmlpickle = 3.4.0
56# Require latest version...
57Sphinx = 1.0.7
58ZODB3 = 3.10.3
59docutils = 0.7
60Jinja2 = 2.3
61
62[app]
63# This creates all scripts in bin/. The kofactl created here is 'faulty'.
64recipe = zc.recipe.egg
65eggs = waeup.kofa [beaker]
66       z3c.evalexception>=2.0
67       Paste
68       PasteScript
69       PasteDeploy
70       repoze.profile
71interpreter = python-console
72
73[kofactl]
74# See http://pypi.python.org/pypi/zc.recipe.egg for details...
75# Here we create the kofactl script again, this time with a
76# fixed path to zdaemon.conf as argument.
77recipe = zc.recipe.egg
78eggs = waeup.kofa [beaker]
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 = waeup.kofa [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 = waeup.kofa
103eggs = waeup.kofa
104domain = waeup.kofa
105output = src/waeup/kofa/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 = waeup.kofa
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]
171recipe = collective.recipe.sphinxbuilder
172eggs = waeup.kofa[docs]
173source = ${buildout:directory}/docs/source
174build = ${buildout:directory}/docs/build
175
176# Collect test coverage data.
177[coverage-detect]
178recipe = zc.recipe.testrunner
179eggs = waeup.kofa[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.