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.0.cfg |
---|
7 | extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg |
---|
8 | #extends = http://svn.zope.org/*checkout*/groktoolkit/trunk/grok.cfg |
---|
9 | versions = versions |
---|
10 | |
---|
11 | [versions] |
---|
12 | #zc.sourcefactory = 0.3.5 |
---|
13 | #zope.testing = 3.7.0 |
---|
14 | z3c.testsetup = 0.6.1 |
---|
15 | hurry.workflow = 0.10 |
---|
16 | #hurry.query = 0.9.2 |
---|
17 | zope.xmlpickle = 3.4.0 |
---|
18 | #hurry.yui = 2.7.0 |
---|
19 | #hurry.zoperesource = 0.4 |
---|
20 | megrok.layout = 1.0.2 |
---|
21 | Sphinx = 0.6.4 |
---|
22 | hurry.resource = 0.4.1 # We need to pin this as hurry.resource 0.9 |
---|
23 | # requires extra packages (WebOb) we don't |
---|
24 | # like to depend on now. |
---|
25 | |
---|
26 | |
---|
27 | [app] |
---|
28 | recipe = zc.zope3recipes>=0.5.3:application |
---|
29 | eggs = waeup.sirp |
---|
30 | site.zcml = <include package="waeup.sirp" /> |
---|
31 | <include package="zope.app.twisted" /> |
---|
32 | <configure i18n_domain="waeup.sirp"> |
---|
33 | <unauthenticatedPrincipal id="zope.anybody" |
---|
34 | title="Unauthenticated User" /> |
---|
35 | <unauthenticatedGroup id="zope.Anybody" |
---|
36 | title="Unauthenticated Users" /> |
---|
37 | <authenticatedGroup id="zope.Authenticated" |
---|
38 | title="Authenticated Users" /> |
---|
39 | <everybodyGroup id="zope.Everybody" |
---|
40 | title="All Users" /> |
---|
41 | <principal id="zope.manager" |
---|
42 | title="Manager" |
---|
43 | login="grok" |
---|
44 | password_manager="Plain Text" |
---|
45 | password="grok" |
---|
46 | /> |
---|
47 | |
---|
48 | <grant permission="zope.View" |
---|
49 | principal="zope.Authenticated" /> |
---|
50 | <grant permission="zope.app.dublincore.view" |
---|
51 | principal="zope.Authenticated" /> |
---|
52 | |
---|
53 | <!-- Replace the following directive if you don't want |
---|
54 | public access --> |
---|
55 | <grant permission="zope.View" |
---|
56 | principal="zope.Anybody" /> |
---|
57 | <grant permission="zope.app.dublincore.view" |
---|
58 | principal="zope.Anybody" /> |
---|
59 | |
---|
60 | <grant permission="waeup.Public" |
---|
61 | principal="zope.Everybody" /> |
---|
62 | |
---|
63 | <role id="zope.Manager" title="Site Manager" /> |
---|
64 | <role id="zope.Member" title="Site Member" /> |
---|
65 | <grantAll role="zope.Manager" /> |
---|
66 | <grant role="zope.Manager" |
---|
67 | principal="zope.manager" /> |
---|
68 | </configure> |
---|
69 | |
---|
70 | [data] |
---|
71 | recipe = zc.recipe.filestorage |
---|
72 | |
---|
73 | # this section named so that the start/stop script is called bin/zopectl |
---|
74 | [zopectl] |
---|
75 | recipe = zc.zope3recipes:instance |
---|
76 | application = app |
---|
77 | zope.conf = ${data:zconfig} |
---|
78 | |
---|
79 | [test] |
---|
80 | recipe = zc.recipe.testrunner |
---|
81 | eggs = waeup.sirp [test] |
---|
82 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
83 | |
---|
84 | # Collect test coverage data. |
---|
85 | [coverage-detect] |
---|
86 | recipe = zc.recipe.testrunner |
---|
87 | eggs = waeup.sirp |
---|
88 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
89 | |
---|
90 | # Create a coverage report. |
---|
91 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
92 | # first! |
---|
93 | [coverage-report] |
---|
94 | recipe = zc.recipe.egg |
---|
95 | eggs = z3c.coverage |
---|
96 | scripts = coveragereport |
---|
97 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|
98 | |
---|
99 | |
---|
100 | |
---|
101 | # this section named so that the i18n scripts are called bin/i18n... |
---|
102 | [i18n] |
---|
103 | recipe = lovely.recipe:i18n |
---|
104 | package = waeup.sirp |
---|
105 | domain = waeup.sirp |
---|
106 | location = src/waeup/sirp |
---|
107 | output = locales |
---|
108 | |
---|
109 | [waeupdocs] |
---|
110 | recipe = z3c.recipe.sphinxdoc |
---|
111 | eggs = waeup.sirp [docs] |
---|
112 | default.css = |
---|
113 | layout.html = |
---|
114 | extensions = sphinx.ext.autodoc |
---|