Don't depend on sphinx to build

This commit is contained in:
Andrew Resch 2009-07-22 23:52:18 +00:00
parent 5278c82580
commit aef0a4616f
1 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,12 @@ from distutils import cmd, sysconfig
from distutils.command.build import build as _build
from distutils.command.clean import clean as _clean
from setuptools.command.install import install as _install
from sphinx.setup_command import BuildDoc
try:
from sphinx.setup_command import BuildDoc
except ImportError:
class BuildDoc(object):
pass
import msgfmt
import os