source: waeup/branches/ulif-rewrite/buildout.cfg @ 4498

Last change on this file since 4498 was 4400, checked in by uli, 15 years ago

Use latest grok.

File size: 2.9 KB
Line 
1[buildout]
2develop = .
3parts = app data zopectl i18n test waeupdocs coverage-detect coverage-report
4find-links = http://download.zope.org/distribution/
5newest = false
6extends= http://grok.zope.org/releaseinfo/grok-1.0a4.cfg
7versions = versions
8
9[versions]
10zc.sourcefactory = 0.3.5
11zope.container = 3.8.1
12zope.testing = 3.7.0
13z3c.testsetup = 0.4.0
14
15[app]
16recipe = zc.zope3recipes>=0.5.3:application
17eggs = waeup
18site.zcml = <include package="waeup" />
19            <include package="zope.app.twisted" />
20
21            <configure i18n_domain="waeup">
22              <unauthenticatedPrincipal id="zope.anybody"
23                                        title="Unauthenticated User" />
24              <unauthenticatedGroup id="zope.Anybody"
25                                    title="Unauthenticated Users" />
26              <authenticatedGroup id="zope.Authenticated"
27                                title="Authenticated Users" />
28              <everybodyGroup id="zope.Everybody"
29                              title="All Users" />
30              <principal id="zope.manager"
31                         title="Manager"
32                         login="grok"
33                         password_manager="Plain Text"
34                         password="grok"
35                         />
36
37              <!-- Replace the following directive if you don't want
38                   public access -->
39              <grant permission="zope.View"
40                     principal="zope.Anybody" />
41              <grant permission="zope.app.dublincore.view"
42                     principal="zope.Anybody" />
43
44              <role id="zope.Manager" title="Site Manager" />
45              <role id="zope.Member" title="Site Member" />
46              <grantAll role="zope.Manager" />
47              <grant role="zope.Manager"
48                     principal="zope.manager" />
49           </configure>
50
51[data]
52recipe = zc.recipe.filestorage
53
54# this section named so that the start/stop script is called bin/zopectl
55[zopectl]
56recipe = zc.zope3recipes:instance
57application = app
58zope.conf = ${data:zconfig}
59
60[test]
61recipe = zc.recipe.testrunner
62eggs = waeup
63defaults = ['--tests-pattern', '^f?tests$', '-v']
64
65# Collect test coverage data.
66[coverage-detect]
67recipe = zc.recipe.testrunner
68eggs = waeup
69defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
70
71# Create a coverage report.
72# Make sure to run bin/coverage-detect to collect the data for the report
73# first!
74[coverage-report]
75recipe = zc.recipe.egg
76eggs = z3c.coverage
77scripts = coverage
78arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:parts-directory}/coverage-detect/coverage/report')
79
80
81
82# this section named so that the i18n scripts are called bin/i18n...
83[i18n]
84recipe = lovely.recipe:i18n
85package = waeup
86domain = waeup
87location = src/waeup
88output = locales
89
90[waeupdocs]
91recipe = z3c.recipe.sphinxdoc
92eggs = waeup [docs]
93default.css =
94layout.html =
95
Note: See TracBrowser for help on using the repository browser.