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