source: main/waeup.sirp/trunk/buildout.cfg @ 6506

Last change on this file since 6506 was 6398, checked in by Henrik Bettermann, 13 years ago

Fix path of coverage detect data.

File size: 4.4 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    waeupdocs
16    coverage-detect
17    coverage-report
18# sirpctl creation must be _after_ app!
19    sirpctl
20# For backward compatibility, telling buildout not to throw away
21# the data and log subdirectories from the parts directory.
22    data
23    log
24# newest = false
25
26#extends = versions.cfg
27extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
28# eggs will be installed in the default buildout location
29# (see .buildout/default.cfg in your home directory)
30# unless you specify an eggs-directory option here.
31
32versions = versions
33
34[versions]
35collective.recipe.sphinxbuilder = 0.7.0
36hurry.workflow = 0.11
37# Pinned to circumvent breakage in 0.4.x
38hurry.zoperesource = 0.6
39# Pinned to prevent buildout svn-error.
40lovely.recipe = 1.0.0
41megrok.layout = 1.0.2
42reportlab = 2.5
43transaction = 1.1.0
44z3c.testsetup = 0.6.1
45zc.buildout = 1.5.0
46zc.recipe.egg = 1.3.0
47zc.recipe.testrunner = 1.4.0
48zope.app.testing = 3.8.1
49# for support of @provider directive
50zope.interface = 3.6.3
51# for support of contextual default values
52zope.schema = 3.8.0
53zope.testing = 3.10.2
54zope.xmlpickle = 3.4.0
55# Require latest version...
56Sphinx =
57ZODB3 = 3.10.3
58
59[app]
60# This creates all scripts in bin/. The sirpctl created here is 'faulty'.
61recipe = zc.recipe.egg
62eggs = waeup.sirp
63       z3c.evalexception>=2.0
64       Paste
65       PasteScript
66       PasteDeploy
67interpreter = python-console
68
69[sirpctl]
70# See http://pypi.python.org/pypi/zc.recipe.egg for details...
71# Here we create the sirpctl script again, this time with a
72# fixed path to zdaemon.conf as argument.
73recipe = zc.recipe.egg
74eggs = waeup.sirp
75arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
76scripts = sirpctl=sirpctl
77
78[mkdirs]
79recipe = z3c.recipe.mkdir
80paths =
81    ${zope_conf:filestorage}
82    ${zope_conf:logfiles}
83    ${zope_conf:blobstorage}
84
85[test]
86recipe = zc.recipe.testrunner
87eggs = waeup.sirp [test]
88defaults = ['--tests-pattern', '^f?tests$', '-v']
89
90# this section named so that the i18n scripts are called bin/i18n...
91[i18n]
92recipe = z3c.recipe.i18n:i18n
93packages = waeup.sirp
94eggs = waeup.sirp
95domain = waeup.sirp
96output = src/waeup/sirp/locales
97zcml =
98
99# This section is named so that the zpasswd utility is
100# called `zpasswd`
101[zpasswd]
102recipe = z3c.recipe.dev:script
103eggs = waeup.sirp
104module = zope.app.server.zpasswd
105method = main
106
107[zope_conf]
108recipe = collective.recipe.template
109input = etc/zope.conf.in
110output = ${buildout:parts-directory}/etc/zope.conf
111filestorage = ${buildout:directory}/var/filestorage
112blobstorage = ${buildout:directory}/var/blobstorage
113logfiles = ${buildout:directory}/var/log
114extra =
115# extra = <grokwarnings>True</grokwarnings>
116# 'extra' is copied verbatim. Use it for product config sections and so.
117
118# The [data] and [log] parts are still in here to instruct buildout to not
119# unintentionally throw away the parts/data and parts/log subdirectories
120# that contain the Data.fs and the log files. These files should be
121# copied to the new locations. See the upgrade notes for more information.
122[data]
123recipe = zc.recipe.filestorage
124
125[log]
126recipe = zc.recipe.filestorage
127
128[site_zcml]
129recipe = collective.recipe.template
130input = etc/site.zcml.in
131output = ${buildout:parts-directory}/etc/site.zcml
132
133[zdaemon_conf]
134recipe = collective.recipe.template
135input = etc/zdaemon.conf.in
136output = ${buildout:parts-directory}/etc/zdaemon.conf
137
138[deploy_ini]
139recipe = collective.recipe.template
140input = etc/deploy.ini.in
141output = ${buildout:parts-directory}/etc/deploy.ini
142
143[debug_ini]
144recipe = collective.recipe.template
145input = etc/debug.ini.in
146output = ${buildout:parts-directory}/etc/debug.ini
147
148[eggbasket]
149recipe = z3c.recipe.eggbasket
150eggs = grok
151url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
152
153[waeupdocs]
154recipe = collective.recipe.sphinxbuilder
155eggs = waeup.sirp[docs]
156source = ${buildout:directory}/docs/source
157build = ${buildout:directory}/docs/build
158
159# Collect test coverage data.
160[coverage-detect]
161recipe = zc.recipe.testrunner
162eggs = waeup.sirp
163defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
164
165# Create a coverage report.
166# Make sure to run bin/coverage-detect to collect the data for the report
167# first!
168[coverage-report]
169recipe = zc.recipe.egg
170eggs = z3c.coverage
171scripts = coveragereport
172arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.