William Stein schreef:
I removed some sentences before this one, but this one remained It hasn't anything to do with the actual question.On Tue, May 5, 2009 at 12:56 AM, Ton Biegstraaten <ton.biegstraa...@gmail.com> wrote:Hi, I like to have some advice on how to develop my own code and have a proper documentation for it. In python all is clear, you write a .py file and supply the docstring with proper reST text and code for epydoc, doctest and/or Sphinx. With nzmath you can do a lot of math things (and it works also on my phone :-)Why is the above senence about nzmath here? It seems like a subliminal message. Well, not quite actually. The manual says define a SAGE_ROOT, but that's not enough also.Sage uses .sage files and worksheets, and the way to document is described in the development manual.You can also just write Python code (with a .py extension) and putimport sage.all at the top of your file, then use Sage functions via "sage.all". Then everything is just like you describe with Python above. I found http://wiki.sagemath.org/Sage_in_systemwide_python , but that example also gives an error. When I added an environment variable SAGE_DOC (the error was complaining about not finding it) it worked (using the LD_LIBRARY_PATH line). thanks, Ton Biegstraaten --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~--- |
- [sage-support] How to work properly with sage Ton Biegstraaten
- [sage-support] Re: How to work properly with sa... William Stein
- [sage-support] Re: How to work properly wit... Ton Biegstraaten
- [sage-support] Re: How to work properly... Iwan Lappo-Danilewski