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