[10765] | 1 | [buildout] |
---|
| 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 = . |
---|
| 10 | parts = |
---|
| 11 | eggbasket |
---|
| 12 | app |
---|
| 13 | i18n |
---|
| 14 | test |
---|
| 15 | mkdirs |
---|
| 16 | zpasswd |
---|
| 17 | zope_conf |
---|
| 18 | site_zcml |
---|
| 19 | zdaemon_conf |
---|
[11272] | 20 | raw_deploy_ini |
---|
| 21 | raw_debug_ini |
---|
| 22 | themed_deploy_ini |
---|
| 23 | themed_debug_ini |
---|
[10765] | 24 | profile_ini |
---|
| 25 | coverage-detect |
---|
| 26 | coverage-report |
---|
| 27 | # kofactl creation must be _after_ app! |
---|
| 28 | kofactl |
---|
[11272] | 29 | lxml |
---|
| 30 | diazo |
---|
[10765] | 31 | # For backward compatibility, telling buildout not to throw away |
---|
| 32 | # the data and log subdirectories from the parts directory. |
---|
| 33 | data |
---|
| 34 | log |
---|
| 35 | # newest = false |
---|
| 36 | |
---|
| 37 | extends = versions.cfg |
---|
| 38 | show-picked-versions = true |
---|
| 39 | update-versions-file = versions.cfg |
---|
| 40 | |
---|
| 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 | |
---|
| 45 | [sources] |
---|
[11518] | 46 | waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk |
---|
| 47 | kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk |
---|
[10765] | 48 | |
---|
| 49 | [kofa_params] |
---|
| 50 | ## Basic parameters for deployment. |
---|
| 51 | # default is 127.0.0.1 |
---|
| 52 | host = 0.0.0.0 |
---|
| 53 | # default is 8080 |
---|
[16589] | 54 | base_port = 7201 |
---|
| 55 | zeo1_port = 7201 |
---|
| 56 | zeo2_port = 7203 |
---|
| 57 | server_port = 7200 |
---|
[10765] | 58 | # default 7. Number of pre-opened ZODB threads/client |
---|
| 59 | pool_size = 7 |
---|
| 60 | # default 20MB. Cache size of each client (ZEO only) |
---|
| 61 | client_cache = 20MB |
---|
| 62 | # default 5000. Number of objects cached. |
---|
| 63 | object_cache = 5000 |
---|
| 64 | # number of preopened paster threads, default 10 |
---|
| 65 | threadpool_workers = 10 |
---|
[16615] | 66 | devel_pkg = kofacustom.edocons |
---|
[10765] | 67 | |
---|
| 68 | [app] |
---|
| 69 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
| 70 | recipe = zc.recipe.egg |
---|
[16615] | 71 | eggs = kofacustom.edocons [beaker, diazo] |
---|
[10765] | 72 | z3c.evalexception>=2.0 |
---|
| 73 | Paste |
---|
| 74 | PasteScript |
---|
| 75 | PasteDeploy |
---|
| 76 | repoze.profile |
---|
| 77 | ZODB3 |
---|
| 78 | interpreter = python-console |
---|
| 79 | |
---|
| 80 | [kofactl] |
---|
| 81 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 82 | # Here we create the kofactl script again, this time with a |
---|
| 83 | # fixed path to zdaemon.conf as argument. |
---|
| 84 | recipe = zc.recipe.egg |
---|
[16615] | 85 | eggs = kofacustom.edocons [beaker, diazo] |
---|
[10765] | 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/datacenter/media |
---|
| 96 | ${buildout:directory}/parts/test/datacenter |
---|
| 97 | |
---|
| 98 | [test] |
---|
| 99 | recipe = zc.recipe.testrunner |
---|
[16615] | 100 | eggs = kofacustom.edocons [beaker, test] |
---|
[10765] | 101 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
| 102 | |
---|
| 103 | # This section named so that the i18n scripts are called bin/i18n... |
---|
| 104 | [i18n] |
---|
| 105 | recipe = z3c.recipe.i18n:i18n |
---|
[16615] | 106 | packages = kofacustom.edocons |
---|
| 107 | eggs = kofacustom.edocons |
---|
| 108 | domain = kofacustom.edocons |
---|
| 109 | output = src/kofacustom/edocons/locales |
---|
[10765] | 110 | zcml = |
---|
| 111 | |
---|
| 112 | # This section is named so that the zpasswd utility is |
---|
| 113 | # called `zpasswd` |
---|
| 114 | [zpasswd] |
---|
| 115 | recipe = z3c.recipe.dev:script |
---|
[16615] | 116 | eggs = kofacustom.edocons |
---|
[10765] | 117 | module = zope.app.server.zpasswd |
---|
| 118 | method = main |
---|
| 119 | |
---|
| 120 | [zope_conf] |
---|
| 121 | recipe = collective.recipe.template |
---|
| 122 | input = etc/zope.conf.in |
---|
| 123 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 124 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 125 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 126 | logfiles = ${buildout:directory}/var/log |
---|
| 127 | extra = |
---|
| 128 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 129 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 130 | |
---|
| 131 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 132 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 133 | # that contain the Data.fs and the log files. These files should be |
---|
| 134 | # copied to the new locations. See the upgrade notes for more information. |
---|
| 135 | [data] |
---|
| 136 | recipe = zc.recipe.filestorage |
---|
| 137 | |
---|
| 138 | [log] |
---|
| 139 | recipe = zc.recipe.filestorage |
---|
| 140 | |
---|
| 141 | [site_zcml] |
---|
| 142 | recipe = collective.recipe.template |
---|
| 143 | input = etc/site.zcml.in |
---|
| 144 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
| 145 | |
---|
| 146 | [zdaemon_conf] |
---|
| 147 | recipe = collective.recipe.template |
---|
| 148 | input = etc/zdaemon.conf.in |
---|
| 149 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 150 | |
---|
[11272] | 151 | [raw_debug_ini] |
---|
[10765] | 152 | recipe = collective.recipe.template |
---|
[11272] | 153 | input = etc/raw/debug.ini.in |
---|
| 154 | output = ${buildout:parts-directory}/etc/raw-debug.ini |
---|
[10765] | 155 | |
---|
[11272] | 156 | [raw_deploy_ini] |
---|
[10765] | 157 | recipe = collective.recipe.template |
---|
[11272] | 158 | input = etc/raw/deploy.ini.in |
---|
| 159 | output = ${buildout:parts-directory}/etc/raw-deploy.ini |
---|
[10765] | 160 | |
---|
[11272] | 161 | [themed_debug_ini] |
---|
| 162 | recipe = collective.recipe.template |
---|
| 163 | input = etc/themed/debug.ini.in |
---|
| 164 | output = ${buildout:parts-directory}/etc/themed-debug.ini |
---|
| 165 | |
---|
| 166 | [themed_deploy_ini] |
---|
| 167 | recipe = collective.recipe.template |
---|
| 168 | input = etc/themed/deploy.ini.in |
---|
| 169 | output = ${buildout:parts-directory}/etc/themed-deploy.ini |
---|
| 170 | |
---|
[10765] | 171 | [profile_ini] |
---|
| 172 | recipe = collective.recipe.template |
---|
| 173 | input = etc/profile.ini.in |
---|
| 174 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 175 | |
---|
| 176 | [eggbasket] |
---|
| 177 | recipe = z3c.recipe.eggbasket |
---|
| 178 | eggs = grok |
---|
| 179 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 180 | |
---|
| 181 | # Collect test coverage data. |
---|
| 182 | [coverage-detect] |
---|
| 183 | recipe = zc.recipe.testrunner |
---|
[16615] | 184 | eggs = kofacustom.edocons[beaker] |
---|
[10765] | 185 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 186 | |
---|
| 187 | # Create a coverage report. |
---|
| 188 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 189 | # first! |
---|
| 190 | [coverage-report] |
---|
| 191 | recipe = zc.recipe.egg |
---|
| 192 | eggs = z3c.coverage |
---|
| 193 | scripts = coveragereport |
---|
| 194 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|
[11272] | 195 | |
---|
| 196 | [lxml] |
---|
| 197 | recipe = z3c.recipe.staticlxml |
---|
| 198 | egg = lxml |
---|
| 199 | |
---|
| 200 | [diazo] |
---|
| 201 | recipe = zc.recipe.egg |
---|
| 202 | eggs = |
---|
| 203 | diazo [wsgi] |
---|
| 204 | PasteScript |
---|
[16615] | 205 | kofacustom.edocons [beaker, diazo] |
---|