> Right. So if we patch sympy with the patch above, it will stop working > on Debian/Ubuntu and maybe other distros. > > One option is to just ship the rst2html.py wrapper with sympy, if you > look into it, essentially what it is doing is just: > > from docutils.core import publish_cmdline > publish_cmdline(writer_name='html') > > > Ondrej >
I think one way to be distro-independent is make a local copy of rst2html in doc/ and patch the doc/Makefile like this: diff --git a/doc/Makefile b/doc/Makefile index b7a1f41..2e027fd 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,7 +1,7 @@ # Makefile for Sphinx documentation # PYTHON = python -RST2HTML = rst2html +RST2HTML = ./rst2html # You can set these variables from the command line. SPHINXOPTS = As rst3html is rather small,(23 lines with comments) this way won't make sympy much fater. -- Cheers, Grissiom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---