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

Last change on this file since 6152 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
RevLine 
[3516]1[buildout]
2develop = .
[5495]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
[5503]18# sirpctl creation must be _after_ app!
19    sirpctl
[5495]20# For backward compatibility, telling buildout not to throw away
21# the data and log subdirectories from the parts directory.
22    data
23    log
[5660]24# newest = false
[5495]25
26#extends = versions.cfg
[5328]27extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
[5495]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
[3516]32versions = versions
33
[4789]34[versions]
[5058]35#zc.sourcefactory = 0.3.5
36#zope.testing = 3.7.0
[5074]37z3c.testsetup = 0.6.1
[5226]38hurry.workflow = 0.10
[5058]39#hurry.query = 0.9.2
[4789]40zope.xmlpickle = 3.4.0
[5058]41#hurry.yui = 2.7.0
[5347]42hurry.zoperesource = 0.6 # Pinned to circumvent breakage in 0.4.x
[5058]43megrok.layout = 1.0.2
[5347]44lovely.recipe = 1.0.0    # Pinned to prevent buildout svn-error.
[5633]45collective.recipe.sphinxbuilder = 0.7.0
46# Require lates version...
47Sphinx =
[4789]48
[3516]49[app]
[5503]50# This creates all scripts in bin/. The sirpctl created here is 'faulty'.
[5495]51recipe = zc.recipe.egg
[4919]52eggs = waeup.sirp
[5495]53       z3c.evalexception>=2.0
54       Paste
55       PasteScript
56       PasteDeploy
57interpreter = python-console
[3516]58
[5503]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
[5495]68[mkdirs]
69recipe = z3c.recipe.mkdir
70paths =
71    ${zope_conf:filestorage}
72    ${zope_conf:logfiles}
73    ${zope_conf:blobstorage}
[4789]74
[5495]75[test]
76recipe = zc.recipe.testrunner
[5855]77eggs = waeup.sirp [test]
[5495]78defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]79
[5495]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 =
[4789]88
[5495]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
[3516]96
[5495]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.
[3516]112[data]
113recipe = zc.recipe.filestorage
114
[5495]115[log]
116recipe = zc.recipe.filestorage
[3516]117
[5495]118[site_zcml]
119recipe = collective.recipe.template
120input = etc/site.zcml.in
121output = ${buildout:parts-directory}/etc/site.zcml
[3516]122
[5495]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
[5634]145eggs = waeup.sirp[docs]
[5495]146source = ${buildout:directory}/docs/source
147build = ${buildout:directory}/docs/build
148
[4789]149# Collect test coverage data.
150[coverage-detect]
151recipe = zc.recipe.testrunner
[4919]152eggs = waeup.sirp
[4789]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
[5226]161scripts = coveragereport
162arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.