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

Last change on this file since 7480 was 7470, checked in by uli, 13 years ago

First sketches of smart SMTP handling for our portal deploying zope.sendmail. Requires new buildout run. Also check new mail.zcml.

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