- changed status to resolved
Cannot build the documentation with Python 3
Issue #100
resolved
Running Sphinx with Python 2 works fine. It fails with Python 3 with the following error:
PYTHONPATH=/<<PKGBUILDDIR>> /usr/bin/make -C docs html
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.5.6
making output directory...
Exception occurred:
File "/usr/lib/python3/dist-packages/sphinx/application.py", line 512, in setup_extension
mod = __import__(extension, None, None, ['setup'])
File "/<<PKGBUILDDIR>>/docs/pybtex_doctools/pygments.py", line 96
IDENTIFIER = ur'[{0}][{1}]*'.format(re.escape(NAME_CHARS), re.escape(NAME_CHARS + digits))
^
SyntaxError: invalid syntax
Comments (1)
-
- Log in to comment
Fixed, thanks!