1 | [buildout] |
---|
2 | develop = . |
---|
3 | parts = app data zopectl i18n test waeupdocs coverage-detect coverage-report |
---|
4 | find-links = http://download.zope.org/distribution/ |
---|
5 | newest = false |
---|
6 | extends= http://grok.zope.org/releaseinfo/grok-1.0a3.cfg |
---|
7 | versions = versions |
---|
8 | |
---|
9 | [versions] |
---|
10 | zc.sourcefactory = 0.3.5 |
---|
11 | zope.container = 3.8.1 |
---|
12 | zope.testing = 3.7.0 |
---|
13 | z3c.testsetup = 0.4.0 |
---|
14 | |
---|
15 | [app] |
---|
16 | recipe = zc.zope3recipes>=0.5.3:application |
---|
17 | eggs = waeup |
---|
18 | site.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] |
---|
52 | recipe = zc.recipe.filestorage |
---|
53 | |
---|
54 | # this section named so that the start/stop script is called bin/zopectl |
---|
55 | [zopectl] |
---|
56 | recipe = zc.zope3recipes:instance |
---|
57 | application = app |
---|
58 | zope.conf = ${data:zconfig} |
---|
59 | |
---|
60 | [test] |
---|
61 | recipe = zc.recipe.testrunner |
---|
62 | eggs = waeup |
---|
63 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
64 | |
---|
65 | # Collect test coverage data. |
---|
66 | [coverage-detect] |
---|
67 | recipe = zc.recipe.testrunner |
---|
68 | eggs = waeup |
---|
69 | defaults = ['--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] |
---|
75 | recipe = zc.recipe.egg |
---|
76 | eggs = z3c.coverage |
---|
77 | scripts = coverage |
---|
78 | arguments = ('${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] |
---|
84 | recipe = lovely.recipe:i18n |
---|
85 | package = waeup |
---|
86 | domain = waeup |
---|
87 | location = src/waeup |
---|
88 | output = locales |
---|
89 | |
---|
90 | [waeupdocs] |
---|
91 | recipe = z3c.recipe.sphinxdoc |
---|
92 | eggs = waeup [docs] |
---|
93 | default.css = |
---|
94 | layout.html = |
---|
95 | |
---|