[3516] | 1 | [buildout] |
---|
[7825] | 2 | develop = . waeup.kofa |
---|
[5495] | 3 | parts = |
---|
| 4 | eggbasket |
---|
| 5 | app |
---|
| 6 | i18n |
---|
| 7 | test |
---|
| 8 | mkdirs |
---|
| 9 | zpasswd |
---|
| 10 | zope_conf |
---|
| 11 | site_zcml |
---|
| 12 | zdaemon_conf |
---|
| 13 | deploy_ini |
---|
| 14 | debug_ini |
---|
[8035] | 15 | profile_ini |
---|
[5495] | 16 | waeupdocs |
---|
| 17 | coverage-detect |
---|
| 18 | coverage-report |
---|
[7825] | 19 | # kofactl creation must be _after_ app! |
---|
| 20 | kofactl |
---|
[5495] | 21 | # For backward compatibility, telling buildout not to throw away |
---|
| 22 | # the data and log subdirectories from the parts directory. |
---|
| 23 | data |
---|
| 24 | log |
---|
[5660] | 25 | # newest = false |
---|
[5495] | 26 | |
---|
[8360] | 27 | extends = versions.cfg |
---|
| 28 | |
---|
[5495] | 29 | # eggs will be installed in the default buildout location |
---|
| 30 | # (see .buildout/default.cfg in your home directory) |
---|
| 31 | # unless you specify an eggs-directory option here. |
---|
| 32 | |
---|
[3516] | 33 | [app] |
---|
[7825] | 34 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
[5495] | 35 | recipe = zc.recipe.egg |
---|
[8446] | 36 | eggs = waeup.aaue [beaker] |
---|
[5495] | 37 | z3c.evalexception>=2.0 |
---|
| 38 | Paste |
---|
| 39 | PasteScript |
---|
| 40 | PasteDeploy |
---|
[8035] | 41 | repoze.profile |
---|
| 42 | ZODB3 |
---|
[3516] | 43 | |
---|
[7825] | 44 | [kofactl] |
---|
[5503] | 45 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[7825] | 46 | # Here we create the kofactl script again, this time with a |
---|
[5503] | 47 | # fixed path to zdaemon.conf as argument. |
---|
| 48 | recipe = zc.recipe.egg |
---|
[8446] | 49 | eggs = waeup.aaue [beaker] |
---|
[5503] | 50 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7825] | 51 | scripts = kofactl=kofactl |
---|
[5503] | 52 | |
---|
[5495] | 53 | [mkdirs] |
---|
| 54 | recipe = z3c.recipe.mkdir |
---|
| 55 | paths = |
---|
| 56 | ${zope_conf:filestorage} |
---|
| 57 | ${zope_conf:logfiles} |
---|
| 58 | ${zope_conf:blobstorage} |
---|
[7587] | 59 | ${buildout:directory}/var/datacenter/media |
---|
| 60 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 61 | |
---|
[5495] | 62 | [test] |
---|
| 63 | recipe = zc.recipe.testrunner |
---|
[8446] | 64 | eggs = waeup.aaue [beaker, test] |
---|
[5495] | 65 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 66 | |
---|
[7695] | 67 | # This section named so that the i18n scripts are called bin/i18n... |
---|
[5495] | 68 | [i18n] |
---|
| 69 | recipe = z3c.recipe.i18n:i18n |
---|
[8446] | 70 | packages = waeup.aaue |
---|
| 71 | eggs = waeup.aaue |
---|
| 72 | domain = waeup.aaue |
---|
| 73 | output = src/waeup/aaue/locales |
---|
[5495] | 74 | zcml = |
---|
[4789] | 75 | |
---|
[5495] | 76 | # This section is named so that the zpasswd utility is |
---|
| 77 | # called `zpasswd` |
---|
| 78 | [zpasswd] |
---|
| 79 | recipe = z3c.recipe.dev:script |
---|
[8446] | 80 | eggs = waeup.aaue |
---|
[5495] | 81 | module = zope.app.server.zpasswd |
---|
| 82 | method = main |
---|
[3516] | 83 | |
---|
[5495] | 84 | [zope_conf] |
---|
| 85 | recipe = collective.recipe.template |
---|
| 86 | input = etc/zope.conf.in |
---|
| 87 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 88 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 89 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 90 | logfiles = ${buildout:directory}/var/log |
---|
| 91 | extra = |
---|
| 92 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 93 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 94 | |
---|
| 95 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 96 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 97 | # that contain the Data.fs and the log files. These files should be |
---|
| 98 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 99 | [data] |
---|
| 100 | recipe = zc.recipe.filestorage |
---|
| 101 | |
---|
[5495] | 102 | [log] |
---|
| 103 | recipe = zc.recipe.filestorage |
---|
[3516] | 104 | |
---|
[5495] | 105 | [site_zcml] |
---|
| 106 | recipe = collective.recipe.template |
---|
| 107 | input = etc/site.zcml.in |
---|
| 108 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 109 | |
---|
[5495] | 110 | [zdaemon_conf] |
---|
| 111 | recipe = collective.recipe.template |
---|
| 112 | input = etc/zdaemon.conf.in |
---|
| 113 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 114 | |
---|
| 115 | [deploy_ini] |
---|
| 116 | recipe = collective.recipe.template |
---|
| 117 | input = etc/deploy.ini.in |
---|
| 118 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 119 | |
---|
| 120 | [debug_ini] |
---|
| 121 | recipe = collective.recipe.template |
---|
| 122 | input = etc/debug.ini.in |
---|
| 123 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 124 | |
---|
[8035] | 125 | [profile_ini] |
---|
| 126 | recipe = collective.recipe.template |
---|
| 127 | input = etc/profile.ini.in |
---|
| 128 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 129 | |
---|
[5495] | 130 | [eggbasket] |
---|
| 131 | recipe = z3c.recipe.eggbasket |
---|
| 132 | eggs = grok |
---|
| 133 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 134 | |
---|
| 135 | [waeupdocs] |
---|
| 136 | recipe = collective.recipe.sphinxbuilder |
---|
[8446] | 137 | eggs = waeup.aaue[docs] |
---|
[5495] | 138 | source = ${buildout:directory}/docs/source |
---|
| 139 | build = ${buildout:directory}/docs/build |
---|
| 140 | |
---|
[4789] | 141 | # Collect test coverage data. |
---|
| 142 | [coverage-detect] |
---|
| 143 | recipe = zc.recipe.testrunner |
---|
[8446] | 144 | eggs = waeup.aaue[beaker] |
---|
[4789] | 145 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 146 | |
---|
| 147 | # Create a coverage report. |
---|
| 148 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 149 | # first! |
---|
| 150 | [coverage-report] |
---|
| 151 | recipe = zc.recipe.egg |
---|
| 152 | eggs = z3c.coverage |
---|
[5226] | 153 | scripts = coveragereport |
---|
[6398] | 154 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|