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