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

Last change on this file since 6269 was 6194, checked in by uli, 13 years ago

Require reportlab for PDF generation.

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