[3516] | 1 | [buildout] |
---|
[8893] | 2 | # See http://pypi.python.org/pypi/mr.developer for details |
---|
| 3 | extensions = mr.developer |
---|
| 4 | auto-checkout = waeup.kofa kofacustom.nigeria |
---|
| 5 | # We cannot use 'src' (the default) as the checked out projects won't |
---|
| 6 | # work properly with paster (paster looks up any upper directory |
---|
| 7 | # egg-info dirs and then complains about not-available packages). |
---|
| 8 | sources-dir = sources |
---|
| 9 | develop = . |
---|
[5495] | 10 | parts = |
---|
| 11 | eggbasket |
---|
| 12 | app |
---|
| 13 | i18n |
---|
| 14 | test |
---|
| 15 | mkdirs |
---|
| 16 | zpasswd |
---|
| 17 | zope_conf |
---|
| 18 | site_zcml |
---|
| 19 | zdaemon_conf |
---|
[11140] | 20 | raw_deploy_ini |
---|
| 21 | raw_debug_ini |
---|
| 22 | themed_deploy_ini |
---|
| 23 | themed_debug_ini |
---|
[8035] | 24 | profile_ini |
---|
[5495] | 25 | waeupdocs |
---|
| 26 | coverage-detect |
---|
| 27 | coverage-report |
---|
[7825] | 28 | # kofactl creation must be _after_ app! |
---|
| 29 | kofactl |
---|
[11140] | 30 | lxml |
---|
| 31 | diazo |
---|
[5495] | 32 | # For backward compatibility, telling buildout not to throw away |
---|
| 33 | # the data and log subdirectories from the parts directory. |
---|
| 34 | data |
---|
| 35 | log |
---|
[5660] | 36 | # newest = false |
---|
[5495] | 37 | |
---|
[8360] | 38 | extends = versions.cfg |
---|
[10137] | 39 | show-picked-versions = true |
---|
| 40 | update-versions-file = versions.cfg |
---|
[8360] | 41 | |
---|
[5495] | 42 | # eggs will be installed in the default buildout location |
---|
| 43 | # (see .buildout/default.cfg in your home directory) |
---|
| 44 | # unless you specify an eggs-directory option here. |
---|
| 45 | |
---|
[8893] | 46 | [sources] |
---|
[11140] | 47 | waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/branches/uli-diazo-themed |
---|
[8893] | 48 | kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk |
---|
| 49 | |
---|
[8770] | 50 | [kofa_params] |
---|
| 51 | ## Basic parameters for deployment. |
---|
| 52 | # default is 127.0.0.1 |
---|
| 53 | host = 0.0.0.0 |
---|
| 54 | # default is 8080 |
---|
| 55 | base_port = 7011 |
---|
| 56 | zeo1_port = 7011 |
---|
| 57 | zeo2_port = 7012 |
---|
| 58 | zeo3_port = 7013 |
---|
| 59 | server_port = 7010 |
---|
| 60 | # default 7. Number of pre-opened ZODB threads/client |
---|
| 61 | pool_size = 7 |
---|
| 62 | # default 20MB. Cache size of each client (ZEO only) |
---|
| 63 | client_cache = 20MB |
---|
| 64 | # default 5000. Number of objects cached. |
---|
| 65 | object_cache = 5000 |
---|
| 66 | # number of preopened paster threads, default 10 |
---|
| 67 | threadpool_workers = 10 |
---|
[11140] | 68 | devel_pkg = waeup.uniben |
---|
[8770] | 69 | |
---|
[3516] | 70 | [app] |
---|
[7825] | 71 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
[5495] | 72 | recipe = zc.recipe.egg |
---|
[11140] | 73 | eggs = waeup.uniben [beaker, diazo] |
---|
[5495] | 74 | z3c.evalexception>=2.0 |
---|
| 75 | Paste |
---|
| 76 | PasteScript |
---|
| 77 | PasteDeploy |
---|
[8035] | 78 | repoze.profile |
---|
| 79 | ZODB3 |
---|
[8699] | 80 | interpreter = python-console |
---|
[3516] | 81 | |
---|
[7825] | 82 | [kofactl] |
---|
[5503] | 83 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[7825] | 84 | # Here we create the kofactl script again, this time with a |
---|
[5503] | 85 | # fixed path to zdaemon.conf as argument. |
---|
| 86 | recipe = zc.recipe.egg |
---|
[11140] | 87 | eggs = waeup.uniben [beaker, diazo] |
---|
[5503] | 88 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7825] | 89 | scripts = kofactl=kofactl |
---|
[5503] | 90 | |
---|
[5495] | 91 | [mkdirs] |
---|
| 92 | recipe = z3c.recipe.mkdir |
---|
| 93 | paths = |
---|
| 94 | ${zope_conf:filestorage} |
---|
| 95 | ${zope_conf:logfiles} |
---|
| 96 | ${zope_conf:blobstorage} |
---|
[7587] | 97 | ${buildout:directory}/var/datacenter/media |
---|
| 98 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 99 | |
---|
[5495] | 100 | [test] |
---|
| 101 | recipe = zc.recipe.testrunner |
---|
[8020] | 102 | eggs = waeup.uniben [beaker, test] |
---|
[5495] | 103 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 104 | |
---|
[7695] | 105 | # This section named so that the i18n scripts are called bin/i18n... |
---|
[5495] | 106 | [i18n] |
---|
| 107 | recipe = z3c.recipe.i18n:i18n |
---|
[8020] | 108 | packages = waeup.uniben |
---|
| 109 | eggs = waeup.uniben |
---|
| 110 | domain = waeup.uniben |
---|
| 111 | output = src/waeup/uniben/locales |
---|
[5495] | 112 | zcml = |
---|
[4789] | 113 | |
---|
[5495] | 114 | # This section is named so that the zpasswd utility is |
---|
| 115 | # called `zpasswd` |
---|
| 116 | [zpasswd] |
---|
| 117 | recipe = z3c.recipe.dev:script |
---|
[8020] | 118 | eggs = waeup.uniben |
---|
[5495] | 119 | module = zope.app.server.zpasswd |
---|
| 120 | method = main |
---|
[3516] | 121 | |
---|
[5495] | 122 | [zope_conf] |
---|
| 123 | recipe = collective.recipe.template |
---|
| 124 | input = etc/zope.conf.in |
---|
| 125 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 126 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 127 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 128 | logfiles = ${buildout:directory}/var/log |
---|
| 129 | extra = |
---|
| 130 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 131 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 132 | |
---|
| 133 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 134 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 135 | # that contain the Data.fs and the log files. These files should be |
---|
| 136 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 137 | [data] |
---|
| 138 | recipe = zc.recipe.filestorage |
---|
| 139 | |
---|
[5495] | 140 | [log] |
---|
| 141 | recipe = zc.recipe.filestorage |
---|
[3516] | 142 | |
---|
[5495] | 143 | [site_zcml] |
---|
| 144 | recipe = collective.recipe.template |
---|
| 145 | input = etc/site.zcml.in |
---|
| 146 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 147 | |
---|
[5495] | 148 | [zdaemon_conf] |
---|
| 149 | recipe = collective.recipe.template |
---|
| 150 | input = etc/zdaemon.conf.in |
---|
| 151 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 152 | |
---|
[11140] | 153 | [raw_debug_ini] |
---|
[5495] | 154 | recipe = collective.recipe.template |
---|
[11140] | 155 | input = etc/raw/debug.ini.in |
---|
| 156 | output = ${buildout:parts-directory}/etc/raw-debug.ini |
---|
[5495] | 157 | |
---|
[11140] | 158 | [raw_deploy_ini] |
---|
[5495] | 159 | recipe = collective.recipe.template |
---|
[11140] | 160 | input = etc/raw/deploy.ini.in |
---|
| 161 | output = ${buildout:parts-directory}/etc/raw-deploy.ini |
---|
[5495] | 162 | |
---|
[11140] | 163 | [themed_debug_ini] |
---|
| 164 | recipe = collective.recipe.template |
---|
| 165 | input = etc/themed/debug.ini.in |
---|
| 166 | output = ${buildout:parts-directory}/etc/themed-debug.ini |
---|
| 167 | |
---|
| 168 | [themed_deploy_ini] |
---|
| 169 | recipe = collective.recipe.template |
---|
| 170 | input = etc/themed/deploy.ini.in |
---|
| 171 | output = ${buildout:parts-directory}/etc/themed-deploy.ini |
---|
| 172 | |
---|
[8035] | 173 | [profile_ini] |
---|
| 174 | recipe = collective.recipe.template |
---|
| 175 | input = etc/profile.ini.in |
---|
| 176 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 177 | |
---|
[5495] | 178 | [eggbasket] |
---|
| 179 | recipe = z3c.recipe.eggbasket |
---|
| 180 | eggs = grok |
---|
| 181 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 182 | |
---|
| 183 | [waeupdocs] |
---|
| 184 | recipe = collective.recipe.sphinxbuilder |
---|
[8020] | 185 | eggs = waeup.uniben[docs] |
---|
[5495] | 186 | source = ${buildout:directory}/docs/source |
---|
| 187 | build = ${buildout:directory}/docs/build |
---|
| 188 | |
---|
[4789] | 189 | # Collect test coverage data. |
---|
| 190 | [coverage-detect] |
---|
| 191 | recipe = zc.recipe.testrunner |
---|
[8020] | 192 | eggs = waeup.uniben[beaker] |
---|
[4789] | 193 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 194 | |
---|
| 195 | # Create a coverage report. |
---|
| 196 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 197 | # first! |
---|
| 198 | [coverage-report] |
---|
| 199 | recipe = zc.recipe.egg |
---|
| 200 | eggs = z3c.coverage |
---|
[5226] | 201 | scripts = coveragereport |
---|
[6398] | 202 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|
[11140] | 203 | |
---|
| 204 | [lxml] |
---|
| 205 | recipe = z3c.recipe.staticlxml |
---|
| 206 | egg = lxml |
---|
| 207 | |
---|
| 208 | [diazo] |
---|
| 209 | recipe = zc.recipe.egg |
---|
| 210 | eggs = |
---|
| 211 | diazo [wsgi] |
---|
| 212 | PasteScript |
---|
| 213 | waeup.uniben [beaker, diazo] |
---|