~sambuddhabasu1/mailman/fix_mailman_run_error

« back to all changes in this revision

Viewing changes to buildout.cfg

  • Committer: Barry Warsaw
  • Date: 2009-06-30 10:14:49 UTC
  • Revision ID: barry@list.org-20090630101449-hn6q37pycyughgpa
Integrate pylint and Sphinx documentation buildout targets.

* bin/lint.sh runs the linter (be very afraid)
* bin/docs runs Sphinx over the documentation (needs refining)

src/sphinxconf.py is an ugly hack to hook the buildout recipe so that we can
ignore text files in our tree that are not documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
[buildout]
2
2
parts =
 
3
    docs
 
4
    filetemplates
3
5
    interpreter
 
6
    pylint
4
7
    tags
5
8
    test
6
9
unzip = true
24
27
# Hack in extra arguments to zope.testrunner.
25
28
initialization = from mailman.testing.layers import ConfigLayer;
26
29
    ConfigLayer.hack_options_parser()
 
30
 
 
31
[docs]
 
32
recipe = z3c.recipe.sphinxdoc
 
33
eggs = mailman [docs]
 
34
index-doc = docs/README
 
35
default.css =
 
36
layout.html =
 
37
extensions = sphinxconf
 
38
 
 
39
[filetemplates]
 
40
recipe = z3c.recipe.filetemplate
 
41
source-directory = .buildout
 
42
package = mailman
 
43
eggs = mailman
 
44
 
 
45
[pylint]
 
46
recipe = zc.recipe.egg
 
47
eggs =
 
48
    logilab.pylintinstaller
 
49
    pylint==0.15.2
 
50
entry-points = pylint=pylint.lint:Run
 
51
arguments = sys.argv[1:]