source: main/waeup.sirp/branches/ulif-fasttables/buildout.cfg @ 5270

Last change on this file since 5270 was 5261, checked in by uli, 14 years ago
  • Extend Grok 1.1 which is known to work.
  • Pin hurry.resource.
  • Enable sphinx.ext.autodoc for auto documenting.
File size: 3.6 KB
Line 
1[buildout]
2develop = .
3parts = app data zopectl i18n test waeupdocs coverage-detect coverage-report
4find-links = http://download.zope.org/distribution/
5#newest = false
6#extends= http://grok.zope.org/releaseinfo/grok-1.0.cfg
7extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
8#extends = http://svn.zope.org/*checkout*/groktoolkit/trunk/grok.cfg
9versions = versions
10
11[versions]
12#zc.sourcefactory = 0.3.5
13#zope.testing = 3.7.0
14z3c.testsetup = 0.6.1
15hurry.workflow = 0.10
16#hurry.query = 0.9.2
17zope.xmlpickle = 3.4.0
18#hurry.yui = 2.7.0
19#hurry.zoperesource = 0.4
20megrok.layout = 1.0.2
21Sphinx = 0.6.4
22hurry.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]
28recipe = zc.zope3recipes>=0.5.3:application
29eggs = waeup.sirp
30site.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]
71recipe = zc.recipe.filestorage
72
73# this section named so that the start/stop script is called bin/zopectl
74[zopectl]
75recipe = zc.zope3recipes:instance
76application = app
77zope.conf = ${data:zconfig}
78
79[test]
80recipe = zc.recipe.testrunner
81eggs = waeup.sirp [test]
82defaults = ['--tests-pattern', '^f?tests$', '-v']
83
84# Collect test coverage data.
85[coverage-detect]
86recipe = zc.recipe.testrunner
87eggs = waeup.sirp
88defaults = ['--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]
94recipe = zc.recipe.egg
95eggs = z3c.coverage
96scripts = coveragereport
97arguments = ('${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]
103recipe = lovely.recipe:i18n
104package = waeup.sirp
105domain = waeup.sirp
106location = src/waeup/sirp
107output = locales
108
109[waeupdocs]
110recipe = z3c.recipe.sphinxdoc
111eggs = waeup.sirp [docs]
112default.css =
113layout.html =
114extensions = sphinx.ext.autodoc
Note: See TracBrowser for help on using the repository browser.