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