[8800] | 1 | [buildout] |
---|
[8815] | 2 | # See http://pypi.python.org/pypi/mr.developer for details |
---|
| 3 | extensions = mr.developer |
---|
| 4 | # Install waeup.kofa as develop egg |
---|
| 5 | auto-checkout = waeup.kofa |
---|
[8891] | 6 | sources-dir = sources |
---|
[8815] | 7 | develop = . |
---|
[8800] | 8 | parts = |
---|
| 9 | app |
---|
[8808] | 10 | i18n |
---|
[8800] | 11 | test |
---|
| 12 | mkdirs |
---|
| 13 | zpasswd |
---|
| 14 | zope_conf |
---|
| 15 | site_zcml |
---|
| 16 | zdaemon_conf |
---|
[11090] | 17 | raw_deploy_ini |
---|
| 18 | raw_debug_ini |
---|
| 19 | themed_deploy_ini |
---|
| 20 | themed_debug_ini |
---|
[8800] | 21 | profile_ini |
---|
| 22 | # waeupdocs |
---|
| 23 | coverage-detect |
---|
| 24 | coverage-report |
---|
| 25 | # kofactl creation must be _after_ app! |
---|
| 26 | kofactl |
---|
[11090] | 27 | lxml |
---|
| 28 | diazo |
---|
[8800] | 29 | # For backward compatibility, telling buildout not to throw away |
---|
| 30 | # the data and log subdirectories from the parts directory. |
---|
| 31 | data |
---|
| 32 | log |
---|
| 33 | # newest = false |
---|
| 34 | |
---|
| 35 | extends = versions.cfg |
---|
[10136] | 36 | show-picked-versions = true |
---|
| 37 | update-versions-file = versions.cfg |
---|
[8800] | 38 | |
---|
[15800] | 39 | index = https://pypi.python.org/simple/ |
---|
[11090] | 40 | |
---|
[8800] | 41 | # eggs will be installed in the default buildout location |
---|
| 42 | # (see .buildout/default.cfg in your home directory) |
---|
| 43 | # unless you specify an eggs-directory option here. |
---|
| 44 | |
---|
[8815] | 45 | [sources] |
---|
[13260] | 46 | waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk |
---|
[8800] | 47 | [kofa_params] |
---|
| 48 | ## Basic parameters for deployment. |
---|
| 49 | # default is 127.0.0.1 |
---|
| 50 | host = 0.0.0.0 |
---|
| 51 | # default is 8080 |
---|
| 52 | base_port = 8080 |
---|
| 53 | zeo1_port = 8080 |
---|
| 54 | zeo2_port = 8081 |
---|
| 55 | zeo3_port = 8082 |
---|
| 56 | server_port = 8100 |
---|
| 57 | # default 7. Number of pre-opened ZODB threads/client |
---|
| 58 | pool_size = 7 |
---|
| 59 | # default 20MB. Cache size of each client (ZEO only) |
---|
| 60 | client_cache = 20MB |
---|
| 61 | # default 5000. Number of objects cached. |
---|
| 62 | object_cache = 5000 |
---|
| 63 | # number of preopened paster threads, default 10 |
---|
| 64 | threadpool_workers = 10 |
---|
| 65 | devel_pkg = kofacustom.nigeria |
---|
| 66 | |
---|
| 67 | [app] |
---|
| 68 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
| 69 | recipe = zc.recipe.egg |
---|
[11090] | 70 | eggs = kofacustom.nigeria [beaker, diazo] |
---|
[8800] | 71 | z3c.evalexception>=2.0 |
---|
| 72 | Paste |
---|
| 73 | PasteScript |
---|
| 74 | PasteDeploy |
---|
| 75 | repoze.profile |
---|
| 76 | ZODB3 |
---|
| 77 | interpreter = python-console |
---|
| 78 | |
---|
| 79 | [kofactl] |
---|
| 80 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 81 | # Here we create the kofactl script again, this time with a |
---|
| 82 | # fixed path to zdaemon.conf as argument. |
---|
| 83 | recipe = zc.recipe.egg |
---|
[11090] | 84 | eggs = kofacustom.nigeria [beaker, diazo] |
---|
[8851] | 85 | waeup.kofa |
---|
[8800] | 86 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
| 87 | scripts = kofactl=kofactl |
---|
| 88 | |
---|
| 89 | [mkdirs] |
---|
| 90 | recipe = z3c.recipe.mkdir |
---|
| 91 | paths = |
---|
| 92 | ${zope_conf:filestorage} |
---|
| 93 | ${zope_conf:logfiles} |
---|
| 94 | ${zope_conf:blobstorage} |
---|
| 95 | ${buildout:directory}/var/mailqueue/cur |
---|
| 96 | ${buildout:directory}/var/mailqueue/tmp |
---|
| 97 | ${buildout:directory}/var/mailqueue/new |
---|
| 98 | ${buildout:directory}/var/datacenter/media |
---|
| 99 | ${buildout:directory}/parts/test/datacenter |
---|
| 100 | |
---|
| 101 | [test] |
---|
| 102 | recipe = zc.recipe.testrunner |
---|
| 103 | eggs = kofacustom.nigeria [beaker, test] |
---|
| 104 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
| 105 | |
---|
| 106 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 107 | [i18n] |
---|
| 108 | recipe = z3c.recipe.i18n:i18n |
---|
| 109 | packages = kofacustom.nigeria |
---|
| 110 | eggs = kofacustom.nigeria |
---|
[9854] | 111 | domain = kofacustom.nigeria |
---|
[8800] | 112 | output = src/kofacustom/nigeria/locales |
---|
| 113 | zcml = |
---|
| 114 | |
---|
| 115 | # This section is named so that the zpasswd utility is |
---|
| 116 | # called `zpasswd` |
---|
| 117 | [zpasswd] |
---|
| 118 | recipe = z3c.recipe.dev:script |
---|
| 119 | eggs = kofacustom.nigeria |
---|
| 120 | module = zope.app.server.zpasswd |
---|
| 121 | method = main |
---|
| 122 | |
---|
| 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. |
---|
| 138 | [data] |
---|
| 139 | recipe = zc.recipe.filestorage |
---|
| 140 | |
---|
| 141 | [log] |
---|
| 142 | recipe = zc.recipe.filestorage |
---|
| 143 | |
---|
| 144 | [mailqueue] |
---|
| 145 | recipe = zc.recipe.filestorage |
---|
| 146 | |
---|
| 147 | [site_zcml] |
---|
| 148 | recipe = collective.recipe.template |
---|
| 149 | input = etc/site.zcml.in |
---|
| 150 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
| 151 | |
---|
| 152 | [zdaemon_conf] |
---|
| 153 | recipe = collective.recipe.template |
---|
| 154 | input = etc/zdaemon.conf.in |
---|
| 155 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 156 | |
---|
[11090] | 157 | [raw_debug_ini] |
---|
[8800] | 158 | recipe = collective.recipe.template |
---|
[11090] | 159 | input = etc/raw/debug.ini.in |
---|
| 160 | output = ${buildout:parts-directory}/etc/raw-debug.ini |
---|
[8800] | 161 | |
---|
[11090] | 162 | [raw_deploy_ini] |
---|
[8800] | 163 | recipe = collective.recipe.template |
---|
[11090] | 164 | input = etc/raw/deploy.ini.in |
---|
| 165 | output = ${buildout:parts-directory}/etc/raw-deploy.ini |
---|
[8800] | 166 | |
---|
[11090] | 167 | [themed_debug_ini] |
---|
| 168 | recipe = collective.recipe.template |
---|
| 169 | input = etc/themed/debug.ini.in |
---|
| 170 | output = ${buildout:parts-directory}/etc/themed-debug.ini |
---|
| 171 | |
---|
| 172 | [themed_deploy_ini] |
---|
| 173 | recipe = collective.recipe.template |
---|
| 174 | input = etc/themed/deploy.ini.in |
---|
| 175 | output = ${buildout:parts-directory}/etc/themed-deploy.ini |
---|
| 176 | |
---|
[8800] | 177 | [profile_ini] |
---|
| 178 | recipe = collective.recipe.template |
---|
| 179 | input = etc/profile.ini.in |
---|
| 180 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 181 | |
---|
| 182 | #[waeupdocs] |
---|
| 183 | #recipe = collective.recipe.sphinxbuilder |
---|
| 184 | #eggs = kofacustom.nigeria[docs] |
---|
| 185 | #source = ${buildout:directory}/docs/source |
---|
| 186 | #build = ${buildout:directory}/docs/build |
---|
| 187 | |
---|
| 188 | # Collect test coverage data. |
---|
| 189 | [coverage-detect] |
---|
| 190 | recipe = zc.recipe.testrunner |
---|
| 191 | eggs = kofacustom.nigeria[beaker] |
---|
| 192 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 193 | |
---|
| 194 | # Create a coverage report. |
---|
| 195 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 196 | # first! |
---|
| 197 | [coverage-report] |
---|
| 198 | recipe = zc.recipe.egg |
---|
| 199 | eggs = z3c.coverage |
---|
| 200 | scripts = coveragereport |
---|
[13473] | 201 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|
[11090] | 202 | |
---|
| 203 | [lxml] |
---|
| 204 | recipe = z3c.recipe.staticlxml |
---|
| 205 | egg = lxml |
---|
| 206 | |
---|
| 207 | [diazo] |
---|
| 208 | recipe = zc.recipe.egg |
---|
| 209 | eggs = |
---|
| 210 | diazo [wsgi] |
---|
| 211 | PasteScript |
---|
| 212 | kofacustom.nigeria [beaker,diazo] |
---|