source: main/waeup.custom/trunk/buildout.cfg @ 7725

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

Upgrade custom package and add internationalization.

I also added dolmen.beaker but I'm not sure if I did it right.

File size: 4.6 KB
RevLine 
[3516]1[buildout]
[6887]2develop = . waeup.sirp
[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...
[7695]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
[7695]64eggs = waeup.custom [beaker]
[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
[7695]76eggs = waeup.custom [beaker]
[5503]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}
[7587]86    ${buildout:directory}/var/datacenter/media
87    ${buildout:directory}/parts/test/datacenter
[4789]88
[5495]89[test]
90recipe = zc.recipe.testrunner
[7695]91eggs = waeup.custom [beaker, test]
[5495]92defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]93
[7695]94# This section named so that the i18n scripts are called bin/i18n...
[5495]95[i18n]
96recipe = z3c.recipe.i18n:i18n
[6887]97packages = waeup.custom
98eggs = waeup.custom
99domain = waeup.custom
100output = src/waeup/custom/locales
[5495]101zcml =
[4789]102
[5495]103# This section is named so that the zpasswd utility is
104# called `zpasswd`
105[zpasswd]
106recipe = z3c.recipe.dev:script
[6887]107eggs = waeup.custom
[5495]108module = zope.app.server.zpasswd
109method = main
[3516]110
[5495]111[zope_conf]
112recipe = collective.recipe.template
113input = etc/zope.conf.in
114output = ${buildout:parts-directory}/etc/zope.conf
115filestorage = ${buildout:directory}/var/filestorage
116blobstorage = ${buildout:directory}/var/blobstorage
117logfiles = ${buildout:directory}/var/log
118extra =
119# extra = <grokwarnings>True</grokwarnings>
120# 'extra' is copied verbatim. Use it for product config sections and so.
121
122# The [data] and [log] parts are still in here to instruct buildout to not
123# unintentionally throw away the parts/data and parts/log subdirectories
124# that contain the Data.fs and the log files. These files should be
125# copied to the new locations. See the upgrade notes for more information.
[3516]126[data]
127recipe = zc.recipe.filestorage
128
[5495]129[log]
130recipe = zc.recipe.filestorage
[3516]131
[5495]132[site_zcml]
133recipe = collective.recipe.template
134input = etc/site.zcml.in
135output = ${buildout:parts-directory}/etc/site.zcml
[3516]136
[5495]137[zdaemon_conf]
138recipe = collective.recipe.template
139input = etc/zdaemon.conf.in
140output = ${buildout:parts-directory}/etc/zdaemon.conf
141
142[deploy_ini]
143recipe = collective.recipe.template
144input = etc/deploy.ini.in
145output = ${buildout:parts-directory}/etc/deploy.ini
146
147[debug_ini]
148recipe = collective.recipe.template
149input = etc/debug.ini.in
150output = ${buildout:parts-directory}/etc/debug.ini
151
152[eggbasket]
153recipe = z3c.recipe.eggbasket
154eggs = grok
155url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
156
157[waeupdocs]
158recipe = collective.recipe.sphinxbuilder
[6887]159eggs = waeup.custom[docs]
[5495]160source = ${buildout:directory}/docs/source
161build = ${buildout:directory}/docs/build
162
[4789]163# Collect test coverage data.
164[coverage-detect]
165recipe = zc.recipe.testrunner
[7695]166eggs = waeup.custom[beaker]
[4789]167defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
168
169# Create a coverage report.
170# Make sure to run bin/coverage-detect to collect the data for the report
171# first!
172[coverage-report]
173recipe = zc.recipe.egg
174eggs = z3c.coverage
[5226]175scripts = coveragereport
[6398]176arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.