[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 | |
---|
[8773] | 33 | [kofa_params] |
---|
| 34 | ## Basic parameters for deployment. |
---|
| 35 | # default is 127.0.0.1 |
---|
| 36 | host = 0.0.0.0 |
---|
| 37 | # default is 8080 |
---|
| 38 | base_port = 7041 |
---|
| 39 | zeo1_port = 7041 |
---|
| 40 | zeo2_port = 7042 |
---|
| 41 | zeo3_port = 7043 |
---|
| 42 | server_port = 7040 |
---|
| 43 | # default 7. Number of pre-opened ZODB threads/client |
---|
| 44 | pool_size = 7 |
---|
| 45 | # default 20MB. Cache size of each client (ZEO only) |
---|
| 46 | client_cache = 20MB |
---|
| 47 | # default 5000. Number of objects cached. |
---|
| 48 | object_cache = 5000 |
---|
| 49 | # number of preopened paster threads, default 10 |
---|
| 50 | threadpool_workers = 10 |
---|
| 51 | |
---|
[3516] | 52 | [app] |
---|
[7825] | 53 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
[5495] | 54 | recipe = zc.recipe.egg |
---|
[8620] | 55 | eggs = waeup.futminna [beaker] |
---|
[5495] | 56 | z3c.evalexception>=2.0 |
---|
| 57 | Paste |
---|
| 58 | PasteScript |
---|
| 59 | PasteDeploy |
---|
[8035] | 60 | repoze.profile |
---|
| 61 | ZODB3 |
---|
[3516] | 62 | |
---|
[7825] | 63 | [kofactl] |
---|
[5503] | 64 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[7825] | 65 | # Here we create the kofactl script again, this time with a |
---|
[5503] | 66 | # fixed path to zdaemon.conf as argument. |
---|
| 67 | recipe = zc.recipe.egg |
---|
[8620] | 68 | eggs = waeup.futminna [beaker] |
---|
[5503] | 69 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7825] | 70 | scripts = kofactl=kofactl |
---|
[5503] | 71 | |
---|
[5495] | 72 | [mkdirs] |
---|
| 73 | recipe = z3c.recipe.mkdir |
---|
| 74 | paths = |
---|
| 75 | ${zope_conf:filestorage} |
---|
| 76 | ${zope_conf:logfiles} |
---|
| 77 | ${zope_conf:blobstorage} |
---|
[7587] | 78 | ${buildout:directory}/var/datacenter/media |
---|
| 79 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 80 | |
---|
[5495] | 81 | [test] |
---|
| 82 | recipe = zc.recipe.testrunner |
---|
[8620] | 83 | eggs = waeup.futminna [beaker, test] |
---|
[5495] | 84 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 85 | |
---|
[7695] | 86 | # This section named so that the i18n scripts are called bin/i18n... |
---|
[5495] | 87 | [i18n] |
---|
| 88 | recipe = z3c.recipe.i18n:i18n |
---|
[8620] | 89 | packages = waeup.futminna |
---|
| 90 | eggs = waeup.futminna |
---|
| 91 | domain = waeup.futminna |
---|
| 92 | output = src/waeup/futminna/locales |
---|
[5495] | 93 | zcml = |
---|
[4789] | 94 | |
---|
[5495] | 95 | # This section is named so that the zpasswd utility is |
---|
| 96 | # called `zpasswd` |
---|
| 97 | [zpasswd] |
---|
| 98 | recipe = z3c.recipe.dev:script |
---|
[8620] | 99 | eggs = waeup.futminna |
---|
[5495] | 100 | module = zope.app.server.zpasswd |
---|
| 101 | method = main |
---|
[3516] | 102 | |
---|
[5495] | 103 | [zope_conf] |
---|
| 104 | recipe = collective.recipe.template |
---|
| 105 | input = etc/zope.conf.in |
---|
| 106 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 107 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 108 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 109 | logfiles = ${buildout:directory}/var/log |
---|
| 110 | extra = |
---|
| 111 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 112 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 113 | |
---|
| 114 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 115 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 116 | # that contain the Data.fs and the log files. These files should be |
---|
| 117 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 118 | [data] |
---|
| 119 | recipe = zc.recipe.filestorage |
---|
| 120 | |
---|
[5495] | 121 | [log] |
---|
| 122 | recipe = zc.recipe.filestorage |
---|
[3516] | 123 | |
---|
[5495] | 124 | [site_zcml] |
---|
| 125 | recipe = collective.recipe.template |
---|
| 126 | input = etc/site.zcml.in |
---|
| 127 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 128 | |
---|
[5495] | 129 | [zdaemon_conf] |
---|
| 130 | recipe = collective.recipe.template |
---|
| 131 | input = etc/zdaemon.conf.in |
---|
| 132 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 133 | |
---|
| 134 | [deploy_ini] |
---|
| 135 | recipe = collective.recipe.template |
---|
| 136 | input = etc/deploy.ini.in |
---|
| 137 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 138 | |
---|
| 139 | [debug_ini] |
---|
| 140 | recipe = collective.recipe.template |
---|
| 141 | input = etc/debug.ini.in |
---|
| 142 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 143 | |
---|
[8035] | 144 | [profile_ini] |
---|
| 145 | recipe = collective.recipe.template |
---|
| 146 | input = etc/profile.ini.in |
---|
| 147 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 148 | |
---|
[5495] | 149 | [eggbasket] |
---|
| 150 | recipe = z3c.recipe.eggbasket |
---|
| 151 | eggs = grok |
---|
| 152 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 153 | |
---|
| 154 | [waeupdocs] |
---|
| 155 | recipe = collective.recipe.sphinxbuilder |
---|
[8620] | 156 | eggs = waeup.futminna[docs] |
---|
[5495] | 157 | source = ${buildout:directory}/docs/source |
---|
| 158 | build = ${buildout:directory}/docs/build |
---|
| 159 | |
---|
[4789] | 160 | # Collect test coverage data. |
---|
| 161 | [coverage-detect] |
---|
| 162 | recipe = zc.recipe.testrunner |
---|
[8620] | 163 | eggs = waeup.futminna[beaker] |
---|
[4789] | 164 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 165 | |
---|
| 166 | # Create a coverage report. |
---|
| 167 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 168 | # first! |
---|
| 169 | [coverage-report] |
---|
| 170 | recipe = zc.recipe.egg |
---|
| 171 | eggs = z3c.coverage |
---|
[5226] | 172 | scripts = coveragereport |
---|
[6398] | 173 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|