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

Last change on this file since 5970 was 5855, checked in by uli, 14 years ago

Make test runner really respect the test requirements of our package.

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