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