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