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