1 | [buildout] |
---|
2 | develop = . waeup.kofa |
---|
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 | profile_ini |
---|
16 | waeupdocs |
---|
17 | coverage-detect |
---|
18 | coverage-report |
---|
19 | # kofactl creation must be _after_ app! |
---|
20 | kofactl |
---|
21 | # For backward compatibility, telling buildout not to throw away |
---|
22 | # the data and log subdirectories from the parts directory. |
---|
23 | data |
---|
24 | log |
---|
25 | # newest = false |
---|
26 | |
---|
27 | #extends = versions.cfg |
---|
28 | extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg |
---|
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 | |
---|
33 | versions = versions |
---|
34 | |
---|
35 | [versions] |
---|
36 | collective.recipe.sphinxbuilder = 0.7.0 |
---|
37 | hurry.workflow = 0.11 |
---|
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 |
---|
42 | megrok.layout = 1.0.2 |
---|
43 | reportlab = 2.5 |
---|
44 | transaction = 1.1.0 |
---|
45 | z3c.testsetup = 0.6.1 |
---|
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 |
---|
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 |
---|
54 | zope.testing = 3.10.2 |
---|
55 | zope.xmlpickle = 3.4.0 |
---|
56 | # Require latest version... |
---|
57 | Sphinx = 1.0.7 |
---|
58 | ZODB3 = 3.10.3 |
---|
59 | docutils = 0.7 |
---|
60 | Jinja2 = 2.3 |
---|
61 | |
---|
62 | [app] |
---|
63 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
64 | recipe = zc.recipe.egg |
---|
65 | eggs = waeup.custom [beaker] |
---|
66 | z3c.evalexception>=2.0 |
---|
67 | Paste |
---|
68 | PasteScript |
---|
69 | PasteDeploy |
---|
70 | repoze.profile |
---|
71 | ZODB3 |
---|
72 | interpreter = python-console |
---|
73 | |
---|
74 | [kofactl] |
---|
75 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
76 | # Here we create the kofactl script again, this time with a |
---|
77 | # fixed path to zdaemon.conf as argument. |
---|
78 | recipe = zc.recipe.egg |
---|
79 | eggs = waeup.custom [beaker] |
---|
80 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
81 | scripts = kofactl=kofactl |
---|
82 | |
---|
83 | [mkdirs] |
---|
84 | recipe = z3c.recipe.mkdir |
---|
85 | paths = |
---|
86 | ${zope_conf:filestorage} |
---|
87 | ${zope_conf:logfiles} |
---|
88 | ${zope_conf:blobstorage} |
---|
89 | ${buildout:directory}/var/datacenter/media |
---|
90 | ${buildout:directory}/parts/test/datacenter |
---|
91 | |
---|
92 | [test] |
---|
93 | recipe = zc.recipe.testrunner |
---|
94 | eggs = waeup.custom [beaker, test] |
---|
95 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
96 | |
---|
97 | # This section named so that the i18n scripts are called bin/i18n... |
---|
98 | [i18n] |
---|
99 | recipe = z3c.recipe.i18n:i18n |
---|
100 | packages = waeup.custom |
---|
101 | eggs = waeup.custom |
---|
102 | domain = waeup.custom |
---|
103 | output = src/waeup/custom/locales |
---|
104 | zcml = |
---|
105 | |
---|
106 | # This section is named so that the zpasswd utility is |
---|
107 | # called `zpasswd` |
---|
108 | [zpasswd] |
---|
109 | recipe = z3c.recipe.dev:script |
---|
110 | eggs = waeup.custom |
---|
111 | module = zope.app.server.zpasswd |
---|
112 | method = main |
---|
113 | |
---|
114 | [zope_conf] |
---|
115 | recipe = collective.recipe.template |
---|
116 | input = etc/zope.conf.in |
---|
117 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
118 | filestorage = ${buildout:directory}/var/filestorage |
---|
119 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
120 | logfiles = ${buildout:directory}/var/log |
---|
121 | extra = |
---|
122 | # extra = <grokwarnings>True</grokwarnings> |
---|
123 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
124 | |
---|
125 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
126 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
127 | # that contain the Data.fs and the log files. These files should be |
---|
128 | # copied to the new locations. See the upgrade notes for more information. |
---|
129 | [data] |
---|
130 | recipe = zc.recipe.filestorage |
---|
131 | |
---|
132 | [log] |
---|
133 | recipe = zc.recipe.filestorage |
---|
134 | |
---|
135 | [site_zcml] |
---|
136 | recipe = collective.recipe.template |
---|
137 | input = etc/site.zcml.in |
---|
138 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
139 | |
---|
140 | [zdaemon_conf] |
---|
141 | recipe = collective.recipe.template |
---|
142 | input = etc/zdaemon.conf.in |
---|
143 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
144 | |
---|
145 | [deploy_ini] |
---|
146 | recipe = collective.recipe.template |
---|
147 | input = etc/deploy.ini.in |
---|
148 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
149 | |
---|
150 | [debug_ini] |
---|
151 | recipe = collective.recipe.template |
---|
152 | input = etc/debug.ini.in |
---|
153 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
154 | |
---|
155 | [profile_ini] |
---|
156 | recipe = collective.recipe.template |
---|
157 | input = etc/profile.ini.in |
---|
158 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
159 | |
---|
160 | [eggbasket] |
---|
161 | recipe = z3c.recipe.eggbasket |
---|
162 | eggs = grok |
---|
163 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
164 | |
---|
165 | [waeupdocs] |
---|
166 | recipe = collective.recipe.sphinxbuilder |
---|
167 | eggs = waeup.custom[docs] |
---|
168 | source = ${buildout:directory}/docs/source |
---|
169 | build = ${buildout:directory}/docs/build |
---|
170 | |
---|
171 | # Collect test coverage data. |
---|
172 | [coverage-detect] |
---|
173 | recipe = zc.recipe.testrunner |
---|
174 | eggs = waeup.custom[beaker] |
---|
175 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
176 | |
---|
177 | # Create a coverage report. |
---|
178 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
179 | # first! |
---|
180 | [coverage-report] |
---|
181 | recipe = zc.recipe.egg |
---|
182 | eggs = z3c.coverage |
---|
183 | scripts = coveragereport |
---|
184 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|