[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 | app |
---|
| 12 | i18n |
---|
| 13 | test |
---|
| 14 | mkdirs |
---|
| 15 | zpasswd |
---|
| 16 | zope_conf |
---|
| 17 | site_zcml |
---|
| 18 | zdaemon_conf |
---|
[11272] | 19 | raw_deploy_ini |
---|
| 20 | raw_debug_ini |
---|
| 21 | themed_deploy_ini |
---|
| 22 | themed_debug_ini |
---|
[10765] | 23 | profile_ini |
---|
| 24 | coverage-detect |
---|
| 25 | coverage-report |
---|
| 26 | # kofactl creation must be _after_ app! |
---|
| 27 | kofactl |
---|
[11272] | 28 | lxml |
---|
| 29 | diazo |
---|
[10765] | 30 | # For backward compatibility, telling buildout not to throw away |
---|
| 31 | # the data and log subdirectories from the parts directory. |
---|
| 32 | data |
---|
| 33 | log |
---|
| 34 | # newest = false |
---|
| 35 | |
---|
| 36 | extends = versions.cfg |
---|
| 37 | show-picked-versions = true |
---|
| 38 | update-versions-file = versions.cfg |
---|
| 39 | |
---|
| 40 | # eggs will be installed in the default buildout location |
---|
| 41 | # (see .buildout/default.cfg in your home directory) |
---|
| 42 | # unless you specify an eggs-directory option here. |
---|
| 43 | |
---|
| 44 | [sources] |
---|
[11518] | 45 | waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/trunk |
---|
| 46 | kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk |
---|
[10765] | 47 | |
---|
| 48 | [kofa_params] |
---|
| 49 | ## Basic parameters for deployment. |
---|
| 50 | # default is 127.0.0.1 |
---|
| 51 | host = 0.0.0.0 |
---|
| 52 | # default is 8080 |
---|
[16589] | 53 | base_port = 7201 |
---|
| 54 | zeo1_port = 7201 |
---|
| 55 | zeo2_port = 7203 |
---|
| 56 | server_port = 7200 |
---|
[10765] | 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 |
---|
[16615] | 65 | devel_pkg = kofacustom.edocons |
---|
[10765] | 66 | |
---|
| 67 | [app] |
---|
| 68 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
| 69 | recipe = zc.recipe.egg |
---|
[16615] | 70 | eggs = kofacustom.edocons [beaker, diazo] |
---|
[10765] | 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 |
---|
[16615] | 84 | eggs = kofacustom.edocons [beaker, diazo] |
---|
[10765] | 85 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
| 86 | scripts = kofactl=kofactl |
---|
| 87 | |
---|
| 88 | [mkdirs] |
---|
| 89 | recipe = z3c.recipe.mkdir |
---|
| 90 | paths = |
---|
| 91 | ${zope_conf:filestorage} |
---|
| 92 | ${zope_conf:logfiles} |
---|
| 93 | ${zope_conf:blobstorage} |
---|
| 94 | ${buildout:directory}/var/datacenter/media |
---|
| 95 | ${buildout:directory}/parts/test/datacenter |
---|
| 96 | |
---|
| 97 | [test] |
---|
| 98 | recipe = zc.recipe.testrunner |
---|
[16615] | 99 | eggs = kofacustom.edocons [beaker, test] |
---|
[10765] | 100 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
| 101 | |
---|
| 102 | # This section named so that the i18n scripts are called bin/i18n... |
---|
| 103 | [i18n] |
---|
| 104 | recipe = z3c.recipe.i18n:i18n |
---|
[16615] | 105 | packages = kofacustom.edocons |
---|
| 106 | eggs = kofacustom.edocons |
---|
| 107 | domain = kofacustom.edocons |
---|
| 108 | output = src/kofacustom/edocons/locales |
---|
[10765] | 109 | zcml = |
---|
| 110 | |
---|
| 111 | # This section is named so that the zpasswd utility is |
---|
| 112 | # called `zpasswd` |
---|
| 113 | [zpasswd] |
---|
| 114 | recipe = z3c.recipe.dev:script |
---|
[16615] | 115 | eggs = kofacustom.edocons |
---|
[10765] | 116 | module = zope.app.server.zpasswd |
---|
| 117 | method = main |
---|
| 118 | |
---|
| 119 | [zope_conf] |
---|
| 120 | recipe = collective.recipe.template |
---|
| 121 | input = etc/zope.conf.in |
---|
| 122 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 123 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 124 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 125 | logfiles = ${buildout:directory}/var/log |
---|
| 126 | extra = |
---|
| 127 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 128 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 129 | |
---|
| 130 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 131 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 132 | # that contain the Data.fs and the log files. These files should be |
---|
| 133 | # copied to the new locations. See the upgrade notes for more information. |
---|
| 134 | [data] |
---|
| 135 | recipe = zc.recipe.filestorage |
---|
| 136 | |
---|
| 137 | [log] |
---|
| 138 | recipe = zc.recipe.filestorage |
---|
| 139 | |
---|
| 140 | [site_zcml] |
---|
| 141 | recipe = collective.recipe.template |
---|
| 142 | input = etc/site.zcml.in |
---|
| 143 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
| 144 | |
---|
| 145 | [zdaemon_conf] |
---|
| 146 | recipe = collective.recipe.template |
---|
| 147 | input = etc/zdaemon.conf.in |
---|
| 148 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 149 | |
---|
[11272] | 150 | [raw_debug_ini] |
---|
[10765] | 151 | recipe = collective.recipe.template |
---|
[11272] | 152 | input = etc/raw/debug.ini.in |
---|
| 153 | output = ${buildout:parts-directory}/etc/raw-debug.ini |
---|
[10765] | 154 | |
---|
[11272] | 155 | [raw_deploy_ini] |
---|
[10765] | 156 | recipe = collective.recipe.template |
---|
[11272] | 157 | input = etc/raw/deploy.ini.in |
---|
| 158 | output = ${buildout:parts-directory}/etc/raw-deploy.ini |
---|
[10765] | 159 | |
---|
[11272] | 160 | [themed_debug_ini] |
---|
| 161 | recipe = collective.recipe.template |
---|
| 162 | input = etc/themed/debug.ini.in |
---|
| 163 | output = ${buildout:parts-directory}/etc/themed-debug.ini |
---|
| 164 | |
---|
| 165 | [themed_deploy_ini] |
---|
| 166 | recipe = collective.recipe.template |
---|
| 167 | input = etc/themed/deploy.ini.in |
---|
| 168 | output = ${buildout:parts-directory}/etc/themed-deploy.ini |
---|
| 169 | |
---|
[10765] | 170 | [profile_ini] |
---|
| 171 | recipe = collective.recipe.template |
---|
| 172 | input = etc/profile.ini.in |
---|
| 173 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 174 | |
---|
| 175 | # Collect test coverage data. |
---|
| 176 | [coverage-detect] |
---|
| 177 | recipe = zc.recipe.testrunner |
---|
[16615] | 178 | eggs = kofacustom.edocons[beaker] |
---|
[10765] | 179 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 180 | |
---|
| 181 | # Create a coverage report. |
---|
| 182 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 183 | # first! |
---|
| 184 | [coverage-report] |
---|
| 185 | recipe = zc.recipe.egg |
---|
| 186 | eggs = z3c.coverage |
---|
| 187 | scripts = coveragereport |
---|
| 188 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|
[11272] | 189 | |
---|
| 190 | [lxml] |
---|
| 191 | recipe = z3c.recipe.staticlxml |
---|
| 192 | egg = lxml |
---|
| 193 | |
---|
| 194 | [diazo] |
---|
| 195 | recipe = zc.recipe.egg |
---|
| 196 | eggs = |
---|
| 197 | diazo [wsgi] |
---|
| 198 | PasteScript |
---|
[16615] | 199 | kofacustom.edocons [beaker, diazo] |
---|