How to build sympy documentation on Windows XP:

 1. Go to 
"http://sourceforge.net/project/showfiles.php?group_id=9328&package_id=9393&release_id=490307";
 and download UnxUtils.zip
 2. Extract UnxUtils.zip (I put the extracted directory in C:\).
 3. Add "C:\UnxUtils\usr\local\wbin" to PATH
 4. Go to "wbin" subdirectory and copy "mkdir.exe" to "umkdir.exe".  You need 
to do this so that you do not use the windows "mkdir".
 5. Install "ez_setup.py" (http://peak.telecommunity.com/dist/ez_setup.py) in 
"C:\Python26\Scripts"
 6. Add "C:\Python26\Scripts" to PATH
 7. Install sphinx with "ez_setup.py -U Sphinx"
 8. Install "git" for windows
 9. git sympy distribution.
10. Go to sympy/doc.
11. Open "Makefile" with editor.
12. Change all "mkdir" to "umkdir".
13. Change "rst2html" to "rst2html.py" on line 4 of Makefile.
14. In the "html:" group change:
        "umkdir -p _build/html _build/doctrees" to "umkdir -p _build/doctrees"
        "$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html" to 
"$(SPHINXBUILDpy) -b html $(ALLSPHINXOPTS) _build/html"
        "cp -r src/pics _build/html/" to "cp -r src/pics _build/html"
        "cp -r src/figures _build/html/" to "cp -r src/figures _build/html"
        "cp -r src/spt-patches _build/html/" to "cp -r src/spt-patches 
_build/html"
15. Note that you have to change "umkdir -p _build/html _build/doctrees" to 
"umkdir -p _build/doctrees" because the version
    of mkdir (which we have renamed umkdir) with UnxUtils terminates with an 
error if it is asked to make an existing directory.
16. "make html" and that should do it!

Comment: In order to make the build process more independent of the OS the 
Makefile should be replaced with a python script. This would allow one to get 
rid of the need for the unix utilities on windows systems and the problem with 
inconsistencies in the cp and mkdir commands.


--~--~---------~--~----~------------~-------~--~----~
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