Permalink
Browse files

remove wrong sphinx dependancy

  • Loading branch information...
1 parent a323173 commit 697416368aa43a5f35b2082c75cff509d4101163 @ThomasChiroux committed Oct 18, 2012
Showing with 2 additions and 11 deletions.
  1. +0 −1 MANIFEST.in
  2. +2 −10 src/attowiki/rst_directives.py
View
@@ -2,4 +2,3 @@ include *.rst
include build_scripts/*.py
include src/attowiki/RELEASE-VERSION
include src/attowiki/views/*.tpl
-include src/attowiki/views/*.css
@@ -38,17 +38,9 @@ def add_node(node, **kwds):
raise ValueError('Value for key %r must be a '
'(visit, depart) function tuple' % key)
if key == 'html':
- from sphinx.writers.html import HTMLTranslator as translator
+ from docutils.writers.html4css1 import HTMLTranslator as translator
elif key == 'latex':
- from sphinx.writers.latex import LaTeXTranslator as translator
- elif key == 'text':
- from sphinx.writers.text import TextTranslator as translator
- elif key == 'man':
- from sphinx.writers.manpage import ManualPageTranslator\
- as translator
- elif key == 'texinfo':
- from sphinx.writers.texinfo import TexinfoTranslator\
- as translator
+ from docutils.writers.latex2e import LaTeXTranslator as translator
else:
# ignore invalid keys for compatibility
continue

0 comments on commit 6974163

Please sign in to comment.