[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] |
---|
[5058] | 35 | #zc.sourcefactory = 0.3.5 |
---|
| 36 | #zope.testing = 3.7.0 |
---|
[5074] | 37 | z3c.testsetup = 0.6.1 |
---|
[5226] | 38 | hurry.workflow = 0.10 |
---|
[5058] | 39 | #hurry.query = 0.9.2 |
---|
[4789] | 40 | zope.xmlpickle = 3.4.0 |
---|
[5058] | 41 | #hurry.yui = 2.7.0 |
---|
[5347] | 42 | hurry.zoperesource = 0.6 # Pinned to circumvent breakage in 0.4.x |
---|
[5058] | 43 | megrok.layout = 1.0.2 |
---|
[5347] | 44 | lovely.recipe = 1.0.0 # Pinned to prevent buildout svn-error. |
---|
[5633] | 45 | collective.recipe.sphinxbuilder = 0.7.0 |
---|
[6194] | 46 | reportlab = 2.5 |
---|
[5633] | 47 | # Require lates version... |
---|
| 48 | Sphinx = |
---|
[4789] | 49 | |
---|
[3516] | 50 | [app] |
---|
[5503] | 51 | # This creates all scripts in bin/. The sirpctl created here is 'faulty'. |
---|
[5495] | 52 | recipe = zc.recipe.egg |
---|
[4919] | 53 | eggs = waeup.sirp |
---|
[5495] | 54 | z3c.evalexception>=2.0 |
---|
| 55 | Paste |
---|
| 56 | PasteScript |
---|
| 57 | PasteDeploy |
---|
| 58 | interpreter = python-console |
---|
[3516] | 59 | |
---|
[5503] | 60 | [sirpctl] |
---|
| 61 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 62 | # Here we create the sirpctl script again, this time with a |
---|
| 63 | # fixed path to zdaemon.conf as argument. |
---|
| 64 | recipe = zc.recipe.egg |
---|
| 65 | eggs = waeup.sirp |
---|
| 66 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
| 67 | scripts = sirpctl=sirpctl |
---|
| 68 | |
---|
[5495] | 69 | [mkdirs] |
---|
| 70 | recipe = z3c.recipe.mkdir |
---|
| 71 | paths = |
---|
| 72 | ${zope_conf:filestorage} |
---|
| 73 | ${zope_conf:logfiles} |
---|
| 74 | ${zope_conf:blobstorage} |
---|
[4789] | 75 | |
---|
[5495] | 76 | [test] |
---|
| 77 | recipe = zc.recipe.testrunner |
---|
[5855] | 78 | eggs = waeup.sirp [test] |
---|
[5495] | 79 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 80 | |
---|
[5495] | 81 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 82 | [i18n] |
---|
| 83 | recipe = z3c.recipe.i18n:i18n |
---|
| 84 | packages = waeup.sirp |
---|
| 85 | eggs = waeup.sirp |
---|
| 86 | domain = waeup.sirp |
---|
| 87 | output = src/waeup/sirp/locales |
---|
| 88 | zcml = |
---|
[4789] | 89 | |
---|
[5495] | 90 | # This section is named so that the zpasswd utility is |
---|
| 91 | # called `zpasswd` |
---|
| 92 | [zpasswd] |
---|
| 93 | recipe = z3c.recipe.dev:script |
---|
| 94 | eggs = waeup.sirp |
---|
| 95 | module = zope.app.server.zpasswd |
---|
| 96 | method = main |
---|
[3516] | 97 | |
---|
[5495] | 98 | [zope_conf] |
---|
| 99 | recipe = collective.recipe.template |
---|
| 100 | input = etc/zope.conf.in |
---|
| 101 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 102 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 103 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 104 | logfiles = ${buildout:directory}/var/log |
---|
| 105 | extra = |
---|
| 106 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 107 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 108 | |
---|
| 109 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 110 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 111 | # that contain the Data.fs and the log files. These files should be |
---|
| 112 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 113 | [data] |
---|
| 114 | recipe = zc.recipe.filestorage |
---|
| 115 | |
---|
[5495] | 116 | [log] |
---|
| 117 | recipe = zc.recipe.filestorage |
---|
[3516] | 118 | |
---|
[5495] | 119 | [site_zcml] |
---|
| 120 | recipe = collective.recipe.template |
---|
| 121 | input = etc/site.zcml.in |
---|
| 122 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 123 | |
---|
[5495] | 124 | [zdaemon_conf] |
---|
| 125 | recipe = collective.recipe.template |
---|
| 126 | input = etc/zdaemon.conf.in |
---|
| 127 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 128 | |
---|
| 129 | [deploy_ini] |
---|
| 130 | recipe = collective.recipe.template |
---|
| 131 | input = etc/deploy.ini.in |
---|
| 132 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 133 | |
---|
| 134 | [debug_ini] |
---|
| 135 | recipe = collective.recipe.template |
---|
| 136 | input = etc/debug.ini.in |
---|
| 137 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 138 | |
---|
| 139 | [eggbasket] |
---|
| 140 | recipe = z3c.recipe.eggbasket |
---|
| 141 | eggs = grok |
---|
| 142 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 143 | |
---|
| 144 | [waeupdocs] |
---|
| 145 | recipe = collective.recipe.sphinxbuilder |
---|
[5634] | 146 | eggs = waeup.sirp[docs] |
---|
[5495] | 147 | source = ${buildout:directory}/docs/source |
---|
| 148 | build = ${buildout:directory}/docs/build |
---|
| 149 | |
---|
[4789] | 150 | # Collect test coverage data. |
---|
| 151 | [coverage-detect] |
---|
| 152 | recipe = zc.recipe.testrunner |
---|
[4919] | 153 | eggs = waeup.sirp |
---|
[4789] | 154 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 155 | |
---|
| 156 | # Create a coverage report. |
---|
| 157 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 158 | # first! |
---|
| 159 | [coverage-report] |
---|
| 160 | recipe = zc.recipe.egg |
---|
| 161 | eggs = z3c.coverage |
---|
[5226] | 162 | scripts = coveragereport |
---|
| 163 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|