[Numpy-discussion] numpy-docs and sphinx

Nils Wagner nwagner@iam.uni-stuttgart...
Mon Nov 10 01:42:16 CST 2008


Hi all,

I tried to build the NumPy Reference Guide.

svn/numpy-docs > make html
mkdir -p build
./ext/autosummary_generate.py source/reference/*.rst \
         -p dump.xml -o source/reference/generated
Traceback (most recent call last):
   File "./ext/autosummary_generate.py", line 18, in ?
     from autosummary import import_by_name
   File 
"/data/home/nwagner/svn/numpy-docs/ext/autosummary.py", 
line 59, in ?
     import sphinx.addnodes, sphinx.roles, sphinx.builder
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/Sphinx-0.5dev_20081110-py2.5.egg/sphinx/__init__.py", 
line 70
     '-c' not in (opt[0] for opt in opts):
                           ^
SyntaxError: invalid syntax
make: *** [build/generate-stamp] Fehler 1

How can I fix that problem ?

Nils


More information about the Numpy-discussion mailing list