[3516] | 1 | [buildout] |
---|
| 2 | develop = . |
---|
[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 |
---|
[7482] | 15 | profile_ini |
---|
[5495] | 16 | waeupdocs |
---|
| 17 | coverage-detect |
---|
| 18 | coverage-report |
---|
[7808] | 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 | |
---|
[8357] | 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 | |
---|
[8662] | 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 = 8080 |
---|
| 39 | zeo1_port = 8080 |
---|
| 40 | zeo2_port = 8081 |
---|
| 41 | zeo3_port = 8082 |
---|
| 42 | server_port = 8100 |
---|
| 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 |
---|
[9169] | 51 | # package to be developed |
---|
| 52 | devel_pkg = waeup.kofa |
---|
[8662] | 53 | |
---|
[3516] | 54 | [app] |
---|
[7808] | 55 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
[5495] | 56 | recipe = zc.recipe.egg |
---|
[7808] | 57 | eggs = waeup.kofa [beaker] |
---|
[5495] | 58 | z3c.evalexception>=2.0 |
---|
| 59 | Paste |
---|
| 60 | PasteScript |
---|
| 61 | PasteDeploy |
---|
[7482] | 62 | repoze.profile |
---|
[8006] | 63 | ZODB3 |
---|
[5495] | 64 | interpreter = python-console |
---|
[3516] | 65 | |
---|
[7808] | 66 | [kofactl] |
---|
[5503] | 67 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[7808] | 68 | # Here we create the kofactl script again, this time with a |
---|
[5503] | 69 | # fixed path to zdaemon.conf as argument. |
---|
| 70 | recipe = zc.recipe.egg |
---|
[7808] | 71 | eggs = waeup.kofa [beaker] |
---|
[5503] | 72 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7808] | 73 | scripts = kofactl=kofactl |
---|
[5503] | 74 | |
---|
[5495] | 75 | [mkdirs] |
---|
| 76 | recipe = z3c.recipe.mkdir |
---|
| 77 | paths = |
---|
| 78 | ${zope_conf:filestorage} |
---|
| 79 | ${zope_conf:logfiles} |
---|
| 80 | ${zope_conf:blobstorage} |
---|
[7470] | 81 | ${buildout:directory}/var/mailqueue/cur |
---|
| 82 | ${buildout:directory}/var/mailqueue/tmp |
---|
| 83 | ${buildout:directory}/var/mailqueue/new |
---|
[7578] | 84 | ${buildout:directory}/var/datacenter/media |
---|
[7583] | 85 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 86 | |
---|
[5495] | 87 | [test] |
---|
| 88 | recipe = zc.recipe.testrunner |
---|
[7808] | 89 | eggs = waeup.kofa [beaker, test] |
---|
[5495] | 90 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 91 | |
---|
[5495] | 92 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 93 | [i18n] |
---|
| 94 | recipe = z3c.recipe.i18n:i18n |
---|
[7808] | 95 | packages = waeup.kofa |
---|
| 96 | eggs = waeup.kofa |
---|
| 97 | domain = waeup.kofa |
---|
| 98 | output = src/waeup/kofa/locales |
---|
[5495] | 99 | zcml = |
---|
[4789] | 100 | |
---|
[5495] | 101 | # This section is named so that the zpasswd utility is |
---|
| 102 | # called `zpasswd` |
---|
| 103 | [zpasswd] |
---|
| 104 | recipe = z3c.recipe.dev:script |
---|
[7808] | 105 | eggs = waeup.kofa |
---|
[5495] | 106 | module = zope.app.server.zpasswd |
---|
| 107 | method = main |
---|
[3516] | 108 | |
---|
[5495] | 109 | [zope_conf] |
---|
| 110 | recipe = collective.recipe.template |
---|
| 111 | input = etc/zope.conf.in |
---|
| 112 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 113 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 114 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 115 | logfiles = ${buildout:directory}/var/log |
---|
| 116 | extra = |
---|
| 117 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 118 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 119 | |
---|
| 120 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 121 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 122 | # that contain the Data.fs and the log files. These files should be |
---|
| 123 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 124 | [data] |
---|
| 125 | recipe = zc.recipe.filestorage |
---|
| 126 | |
---|
[5495] | 127 | [log] |
---|
| 128 | recipe = zc.recipe.filestorage |
---|
[3516] | 129 | |
---|
[7470] | 130 | [mailqueue] |
---|
| 131 | recipe = zc.recipe.filestorage |
---|
| 132 | |
---|
[5495] | 133 | [site_zcml] |
---|
| 134 | recipe = collective.recipe.template |
---|
| 135 | input = etc/site.zcml.in |
---|
| 136 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 137 | |
---|
[5495] | 138 | [zdaemon_conf] |
---|
| 139 | recipe = collective.recipe.template |
---|
| 140 | input = etc/zdaemon.conf.in |
---|
| 141 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 142 | |
---|
| 143 | [deploy_ini] |
---|
| 144 | recipe = collective.recipe.template |
---|
| 145 | input = etc/deploy.ini.in |
---|
| 146 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 147 | |
---|
| 148 | [debug_ini] |
---|
| 149 | recipe = collective.recipe.template |
---|
| 150 | input = etc/debug.ini.in |
---|
| 151 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 152 | |
---|
[7482] | 153 | [profile_ini] |
---|
| 154 | recipe = collective.recipe.template |
---|
| 155 | input = etc/profile.ini.in |
---|
| 156 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 157 | |
---|
[5495] | 158 | [eggbasket] |
---|
| 159 | recipe = z3c.recipe.eggbasket |
---|
| 160 | eggs = grok |
---|
| 161 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 162 | |
---|
| 163 | [waeupdocs] |
---|
| 164 | recipe = collective.recipe.sphinxbuilder |
---|
[7808] | 165 | eggs = waeup.kofa[docs] |
---|
[5495] | 166 | source = ${buildout:directory}/docs/source |
---|
| 167 | build = ${buildout:directory}/docs/build |
---|
| 168 | |
---|
[4789] | 169 | # Collect test coverage data. |
---|
| 170 | [coverage-detect] |
---|
| 171 | recipe = zc.recipe.testrunner |
---|
[7808] | 172 | eggs = waeup.kofa[beaker] |
---|
[4789] | 173 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 174 | |
---|
| 175 | # Create a coverage report. |
---|
| 176 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 177 | # first! |
---|
| 178 | [coverage-report] |
---|
| 179 | recipe = zc.recipe.egg |
---|
| 180 | eggs = z3c.coverage |
---|
[5226] | 181 | scripts = coveragereport |
---|
[6398] | 182 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|