[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 | app |
---|
| 12 | i18n |
---|
| 13 | test |
---|
| 14 | mkdirs |
---|
| 15 | zpasswd |
---|
| 16 | zope_conf |
---|
| 17 | site_zcml |
---|
| 18 | zdaemon_conf |
---|
[11315] | 19 | raw_deploy_ini |
---|
| 20 | raw_debug_ini |
---|
| 21 | themed_deploy_ini |
---|
| 22 | themed_debug_ini |
---|
[8035] | 23 | profile_ini |
---|
[5495] | 24 | coverage-detect |
---|
| 25 | coverage-report |
---|
[7825] | 26 | # kofactl creation must be _after_ app! |
---|
| 27 | kofactl |
---|
[11315] | 28 | lxml |
---|
| 29 | diazo |
---|
[5495] | 30 | # For backward compatibility, telling buildout not to throw away |
---|
| 31 | # the data and log subdirectories from the parts directory. |
---|
| 32 | data |
---|
| 33 | log |
---|
[5660] | 34 | # newest = false |
---|
[5495] | 35 | |
---|
[8360] | 36 | extends = versions.cfg |
---|
[10137] | 37 | show-picked-versions = true |
---|
| 38 | update-versions-file = versions.cfg |
---|
[8360] | 39 | |
---|
[15817] | 40 | index = https://pypi.python.org/simple/ |
---|
| 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] |
---|
[11519] | 47 | waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk |
---|
| 48 | kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk |
---|
[8893] | 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 |
---|
[11315] | 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 |
---|
[11315] | 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 |
---|
[11315] | 87 | eggs = waeup.uniben [beaker, diazo] |
---|
[5503] | 88 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7825] | 89 | scripts = kofactl=kofactl |
---|
[13190] | 90 | kofaexport=kofaexport |
---|
[5503] | 91 | |
---|
[5495] | 92 | [mkdirs] |
---|
| 93 | recipe = z3c.recipe.mkdir |
---|
| 94 | paths = |
---|
| 95 | ${zope_conf:filestorage} |
---|
| 96 | ${zope_conf:logfiles} |
---|
| 97 | ${zope_conf:blobstorage} |
---|
[7587] | 98 | ${buildout:directory}/var/datacenter/media |
---|
| 99 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 100 | |
---|
[5495] | 101 | [test] |
---|
| 102 | recipe = zc.recipe.testrunner |
---|
[8020] | 103 | eggs = waeup.uniben [beaker, test] |
---|
[5495] | 104 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 105 | |
---|
[7695] | 106 | # This section named so that the i18n scripts are called bin/i18n... |
---|
[5495] | 107 | [i18n] |
---|
| 108 | recipe = z3c.recipe.i18n:i18n |
---|
[8020] | 109 | packages = waeup.uniben |
---|
| 110 | eggs = waeup.uniben |
---|
| 111 | domain = waeup.uniben |
---|
| 112 | output = src/waeup/uniben/locales |
---|
[5495] | 113 | zcml = |
---|
[4789] | 114 | |
---|
[5495] | 115 | # This section is named so that the zpasswd utility is |
---|
| 116 | # called `zpasswd` |
---|
| 117 | [zpasswd] |
---|
| 118 | recipe = z3c.recipe.dev:script |
---|
[8020] | 119 | eggs = waeup.uniben |
---|
[5495] | 120 | module = zope.app.server.zpasswd |
---|
| 121 | method = main |
---|
[3516] | 122 | |
---|
[5495] | 123 | [zope_conf] |
---|
| 124 | recipe = collective.recipe.template |
---|
| 125 | input = etc/zope.conf.in |
---|
| 126 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 127 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 128 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 129 | logfiles = ${buildout:directory}/var/log |
---|
| 130 | extra = |
---|
| 131 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 132 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 133 | |
---|
| 134 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 135 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 136 | # that contain the Data.fs and the log files. These files should be |
---|
| 137 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 138 | [data] |
---|
| 139 | recipe = zc.recipe.filestorage |
---|
| 140 | |
---|
[5495] | 141 | [log] |
---|
| 142 | recipe = zc.recipe.filestorage |
---|
[3516] | 143 | |
---|
[5495] | 144 | [site_zcml] |
---|
| 145 | recipe = collective.recipe.template |
---|
| 146 | input = etc/site.zcml.in |
---|
| 147 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 148 | |
---|
[5495] | 149 | [zdaemon_conf] |
---|
| 150 | recipe = collective.recipe.template |
---|
| 151 | input = etc/zdaemon.conf.in |
---|
| 152 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 153 | |
---|
[11315] | 154 | [raw_debug_ini] |
---|
[5495] | 155 | recipe = collective.recipe.template |
---|
[11315] | 156 | input = etc/raw/debug.ini.in |
---|
| 157 | output = ${buildout:parts-directory}/etc/raw-debug.ini |
---|
[5495] | 158 | |
---|
[11315] | 159 | [raw_deploy_ini] |
---|
[5495] | 160 | recipe = collective.recipe.template |
---|
[11315] | 161 | input = etc/raw/deploy.ini.in |
---|
| 162 | output = ${buildout:parts-directory}/etc/raw-deploy.ini |
---|
[5495] | 163 | |
---|
[11315] | 164 | [themed_debug_ini] |
---|
| 165 | recipe = collective.recipe.template |
---|
| 166 | input = etc/themed/debug.ini.in |
---|
| 167 | output = ${buildout:parts-directory}/etc/themed-debug.ini |
---|
| 168 | |
---|
| 169 | [themed_deploy_ini] |
---|
| 170 | recipe = collective.recipe.template |
---|
| 171 | input = etc/themed/deploy.ini.in |
---|
| 172 | output = ${buildout:parts-directory}/etc/themed-deploy.ini |
---|
| 173 | |
---|
[8035] | 174 | [profile_ini] |
---|
| 175 | recipe = collective.recipe.template |
---|
| 176 | input = etc/profile.ini.in |
---|
| 177 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 178 | |
---|
[4789] | 179 | # Collect test coverage data. |
---|
| 180 | [coverage-detect] |
---|
| 181 | recipe = zc.recipe.testrunner |
---|
[8020] | 182 | eggs = waeup.uniben[beaker] |
---|
[4789] | 183 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 184 | |
---|
| 185 | # Create a coverage report. |
---|
| 186 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 187 | # first! |
---|
| 188 | [coverage-report] |
---|
| 189 | recipe = zc.recipe.egg |
---|
| 190 | eggs = z3c.coverage |
---|
[5226] | 191 | scripts = coveragereport |
---|
[6398] | 192 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|
[11315] | 193 | |
---|
| 194 | [lxml] |
---|
| 195 | recipe = z3c.recipe.staticlxml |
---|
| 196 | egg = lxml |
---|
| 197 | |
---|
| 198 | [diazo] |
---|
| 199 | recipe = zc.recipe.egg |
---|
| 200 | eggs = |
---|
| 201 | diazo [wsgi] |
---|
| 202 | PasteScript |
---|
| 203 | waeup.uniben [beaker, diazo] |
---|