[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 |
---|
[16983] | 53 | base_port = 7221 |
---|
| 54 | zeo1_port = 7221 |
---|
| 55 | zeo2_port = 7222 |
---|
| 56 | server_port = 7220 |
---|
[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 |
---|
[16983] | 65 | devel_pkg = kofacustom.lpng |
---|
[10765] | 66 | |
---|
| 67 | [app] |
---|
| 68 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
| 69 | recipe = zc.recipe.egg |
---|
[16983] | 70 | eggs = kofacustom.lpng [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 |
---|
[16983] | 84 | eggs = kofacustom.lpng [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 |
---|
[16983] | 99 | eggs = kofacustom.lpng [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 |
---|
[16983] | 105 | packages = kofacustom.lpng |
---|
| 106 | eggs = kofacustom.lpng |
---|
| 107 | domain = kofacustom.lpng |
---|
| 108 | output = src/kofacustom/lpng/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 |
---|
[16983] | 115 | eggs = kofacustom.lpng |
---|
[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 | [eggbasket] |
---|
| 176 | recipe = z3c.recipe.eggbasket |
---|
| 177 | eggs = grok |
---|
| 178 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 179 | |
---|
| 180 | # Collect test coverage data. |
---|
| 181 | [coverage-detect] |
---|
| 182 | recipe = zc.recipe.testrunner |
---|
[16983] | 183 | eggs = kofacustom.lpng[beaker] |
---|
[10765] | 184 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 185 | |
---|
| 186 | # Create a coverage report. |
---|
| 187 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 188 | # first! |
---|
| 189 | [coverage-report] |
---|
| 190 | recipe = zc.recipe.egg |
---|
| 191 | eggs = z3c.coverage |
---|
| 192 | scripts = coveragereport |
---|
| 193 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|
[11272] | 194 | |
---|
| 195 | [lxml] |
---|
| 196 | recipe = z3c.recipe.staticlxml |
---|
| 197 | egg = lxml |
---|
| 198 | |
---|
| 199 | [diazo] |
---|
| 200 | recipe = zc.recipe.egg |
---|
| 201 | eggs = |
---|
| 202 | diazo [wsgi] |
---|
| 203 | PasteScript |
---|
[16983] | 204 | kofacustom.lpng [beaker, diazo] |
---|