[Python-Dev] The docs, reloaded (original) (raw)

skip at pobox.com skip at pobox.com
Tue May 22 17:00:27 CEST 2007


Neal> I know almost nothing about docutils internals.  How do I
Neal> 'install' the above?

Me either. Here's what I did:

* download and expand the latest docutils snapshot
* replicate Jens's work in a directory called "math" at the top level of
  the docutils directory
* edited setup.py to get them installed:

diff -u setup.py.1 setup.py --- setup.py.1 2007-03-21 18:45:38.000000000 -0500 +++ setup.py 2007-05-22 07:07:25.000000000 -0500 @@ -115,6 +115,9 @@ 'tools/rst2xml.py', 'tools/rst2pseudoxml.py', 'tools/rstpep2html.py',

"""Distutils setup parameters."""

* ran "python setup.py install"

That's probably more than necessary, but with the math subdir I can easily move the whole thing to a new snapshot and the setup.py change lets me install them transparently.

Skip



More information about the Python-Dev mailing list