Priit Laes wrote:
> Ühel kenal päeval, N, 2009-06-04 kell 13:20, kirjutas Alan Bromborsky:
>> Gael Varoquaux wrote:
>>> On Thu, Jun 04, 2009 at 09:13:52AM -0400, Alan Bromborsky wrote:
>>>   
>>>>> When I enter "python setup.py build_sphinx" in the sympy directory I get 
>>>>> "error: invalid command 'build_sphinx'"
>>>>>       
>>> Sorry, my mistake. You need to use 'python setupegg.py build_sphinx'.
>>>
> 
> I pushed some documentation fixes to my "shining" new github repo:
> 
> http://github.com/plaes/sympy/commits/doc-fixes
> 
> PS. How many Linux users have rst2html.py command instead of just plain
> rst2html?

All except Debian and derivatives, so your patch will probably break 
compatibility in Debian ...

I suggest implementing this on our own script, it is just a matter of 
calling a function from docutils. We could even do a python -c "..." 
from the Makefile.

"""
try:
     import locale
     locale.setlocale(locale.LC_ALL, '')
except:
     pass

from docutils.core import publish_cmdline, default_description


description = ('Generates (X)HTML documents from standalone 
reStructuredText '
                'sources.  ' + default_description)

publish_cmdline(writer_name='html', description=description)
"""

BTW, how do others solve this problem?

> 
> 
> Cheers,
> Priit :)
> 
> 
> > 
> 


-- 
http://fseoane.net/blog/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to