[3516] | 1 | [buildout] |
---|
| 2 | develop = . |
---|
[5495] | 3 | parts = |
---|
| 4 | eggbasket |
---|
| 5 | app |
---|
| 6 | i18n |
---|
| 7 | test |
---|
| 8 | mkdirs |
---|
| 9 | zpasswd |
---|
| 10 | zope_conf |
---|
| 11 | site_zcml |
---|
| 12 | zdaemon_conf |
---|
| 13 | deploy_ini |
---|
| 14 | debug_ini |
---|
[7482] | 15 | profile_ini |
---|
[5495] | 16 | waeupdocs |
---|
| 17 | coverage-detect |
---|
| 18 | coverage-report |
---|
[5503] | 19 | # sirpctl creation must be _after_ app! |
---|
| 20 | sirpctl |
---|
[5495] | 21 | # For backward compatibility, telling buildout not to throw away |
---|
| 22 | # the data and log subdirectories from the parts directory. |
---|
| 23 | data |
---|
| 24 | log |
---|
[5660] | 25 | # newest = false |
---|
[5495] | 26 | |
---|
| 27 | #extends = versions.cfg |
---|
[5328] | 28 | extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg |
---|
[5495] | 29 | # eggs will be installed in the default buildout location |
---|
| 30 | # (see .buildout/default.cfg in your home directory) |
---|
| 31 | # unless you specify an eggs-directory option here. |
---|
| 32 | |
---|
[3516] | 33 | versions = versions |
---|
| 34 | |
---|
[4789] | 35 | [versions] |
---|
[6287] | 36 | collective.recipe.sphinxbuilder = 0.7.0 |
---|
[6349] | 37 | hurry.workflow = 0.11 |
---|
[6287] | 38 | # Pinned to circumvent breakage in 0.4.x |
---|
| 39 | hurry.zoperesource = 0.6 |
---|
| 40 | # Pinned to prevent buildout svn-error. |
---|
| 41 | lovely.recipe = 1.0.0 |
---|
[5058] | 42 | megrok.layout = 1.0.2 |
---|
[6194] | 43 | reportlab = 2.5 |
---|
[6308] | 44 | transaction = 1.1.0 |
---|
[6287] | 45 | z3c.testsetup = 0.6.1 |
---|
[6308] | 46 | zc.buildout = 1.5.0 |
---|
| 47 | zc.recipe.egg = 1.3.0 |
---|
| 48 | zc.recipe.testrunner = 1.4.0 |
---|
| 49 | zope.app.testing = 3.8.1 |
---|
[6287] | 50 | # for support of @provider directive |
---|
| 51 | zope.interface = 3.6.3 |
---|
| 52 | # for support of contextual default values |
---|
| 53 | zope.schema = 3.8.0 |
---|
[6308] | 54 | zope.testing = 3.10.2 |
---|
[6287] | 55 | zope.xmlpickle = 3.4.0 |
---|
| 56 | # Require latest version... |
---|
[7063] | 57 | Sphinx = 1.0.7 |
---|
[6308] | 58 | ZODB3 = 3.10.3 |
---|
[6871] | 59 | docutils = 0.7 |
---|
| 60 | Jinja2 = 2.3 |
---|
[4789] | 61 | |
---|
[3516] | 62 | [app] |
---|
[5503] | 63 | # This creates all scripts in bin/. The sirpctl created here is 'faulty'. |
---|
[5495] | 64 | recipe = zc.recipe.egg |
---|
[7571] | 65 | eggs = waeup.sirp [beaker] |
---|
[5495] | 66 | z3c.evalexception>=2.0 |
---|
| 67 | Paste |
---|
| 68 | PasteScript |
---|
| 69 | PasteDeploy |
---|
[7482] | 70 | repoze.profile |
---|
[5495] | 71 | interpreter = python-console |
---|
[3516] | 72 | |
---|
[5503] | 73 | [sirpctl] |
---|
| 74 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[6287] | 75 | # Here we create the sirpctl script again, this time with a |
---|
[5503] | 76 | # fixed path to zdaemon.conf as argument. |
---|
| 77 | recipe = zc.recipe.egg |
---|
[7571] | 78 | eggs = waeup.sirp [beaker] |
---|
[5503] | 79 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
| 80 | scripts = sirpctl=sirpctl |
---|
| 81 | |
---|
[5495] | 82 | [mkdirs] |
---|
| 83 | recipe = z3c.recipe.mkdir |
---|
| 84 | paths = |
---|
| 85 | ${zope_conf:filestorage} |
---|
| 86 | ${zope_conf:logfiles} |
---|
| 87 | ${zope_conf:blobstorage} |
---|
[7470] | 88 | ${buildout:directory}/var/mailqueue/cur |
---|
| 89 | ${buildout:directory}/var/mailqueue/tmp |
---|
| 90 | ${buildout:directory}/var/mailqueue/new |
---|
[7578] | 91 | ${buildout:directory}/var/datacenter/media |
---|
[7583] | 92 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 93 | |
---|
[5495] | 94 | [test] |
---|
| 95 | recipe = zc.recipe.testrunner |
---|
[7571] | 96 | eggs = waeup.sirp [beaker, test] |
---|
[5495] | 97 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 98 | |
---|
[5495] | 99 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 100 | [i18n] |
---|
| 101 | recipe = z3c.recipe.i18n:i18n |
---|
| 102 | packages = waeup.sirp |
---|
| 103 | eggs = waeup.sirp |
---|
| 104 | domain = waeup.sirp |
---|
| 105 | output = src/waeup/sirp/locales |
---|
| 106 | zcml = |
---|
[4789] | 107 | |
---|
[5495] | 108 | # This section is named so that the zpasswd utility is |
---|
| 109 | # called `zpasswd` |
---|
| 110 | [zpasswd] |
---|
| 111 | recipe = z3c.recipe.dev:script |
---|
| 112 | eggs = waeup.sirp |
---|
| 113 | module = zope.app.server.zpasswd |
---|
| 114 | method = main |
---|
[3516] | 115 | |
---|
[5495] | 116 | [zope_conf] |
---|
| 117 | recipe = collective.recipe.template |
---|
| 118 | input = etc/zope.conf.in |
---|
| 119 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 120 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 121 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 122 | logfiles = ${buildout:directory}/var/log |
---|
| 123 | extra = |
---|
| 124 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 125 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 126 | |
---|
| 127 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 128 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 129 | # that contain the Data.fs and the log files. These files should be |
---|
| 130 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 131 | [data] |
---|
| 132 | recipe = zc.recipe.filestorage |
---|
| 133 | |
---|
[5495] | 134 | [log] |
---|
| 135 | recipe = zc.recipe.filestorage |
---|
[3516] | 136 | |
---|
[7470] | 137 | [mailqueue] |
---|
| 138 | recipe = zc.recipe.filestorage |
---|
| 139 | |
---|
[5495] | 140 | [site_zcml] |
---|
| 141 | recipe = collective.recipe.template |
---|
| 142 | input = etc/site.zcml.in |
---|
| 143 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 144 | |
---|
[5495] | 145 | [zdaemon_conf] |
---|
| 146 | recipe = collective.recipe.template |
---|
| 147 | input = etc/zdaemon.conf.in |
---|
| 148 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 149 | |
---|
| 150 | [deploy_ini] |
---|
| 151 | recipe = collective.recipe.template |
---|
| 152 | input = etc/deploy.ini.in |
---|
| 153 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 154 | |
---|
| 155 | [debug_ini] |
---|
| 156 | recipe = collective.recipe.template |
---|
| 157 | input = etc/debug.ini.in |
---|
| 158 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 159 | |
---|
[7482] | 160 | [profile_ini] |
---|
| 161 | recipe = collective.recipe.template |
---|
| 162 | input = etc/profile.ini.in |
---|
| 163 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 164 | |
---|
[5495] | 165 | [eggbasket] |
---|
| 166 | recipe = z3c.recipe.eggbasket |
---|
| 167 | eggs = grok |
---|
| 168 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 169 | |
---|
| 170 | [waeupdocs] |
---|
| 171 | recipe = collective.recipe.sphinxbuilder |
---|
[5634] | 172 | eggs = waeup.sirp[docs] |
---|
[5495] | 173 | source = ${buildout:directory}/docs/source |
---|
| 174 | build = ${buildout:directory}/docs/build |
---|
| 175 | |
---|
[4789] | 176 | # Collect test coverage data. |
---|
| 177 | [coverage-detect] |
---|
| 178 | recipe = zc.recipe.testrunner |
---|
[7571] | 179 | eggs = waeup.sirp[beaker] |
---|
[4789] | 180 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 181 | |
---|
| 182 | # Create a coverage report. |
---|
| 183 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 184 | # first! |
---|
| 185 | [coverage-report] |
---|
| 186 | recipe = zc.recipe.egg |
---|
| 187 | eggs = z3c.coverage |
---|
[5226] | 188 | scripts = coveragereport |
---|
[6398] | 189 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|