Use python 2 version of sphinx-build

This commit is contained in:
Kovid Goyal 2014-05-02 09:14:22 +05:30
parent 5a57212647
commit 6830bbdfe1

View File

@ -81,7 +81,7 @@ class Manual(Command):
os.makedirs('.build'+os.sep+'html') os.makedirs('.build'+os.sep+'html')
os.environ['__appname__'] = __appname__ os.environ['__appname__'] = __appname__
os.environ['__version__'] = __version__ os.environ['__version__'] = __version__
subprocess.check_call(['sphinx-build', '-b', 'html', '-t', 'online', subprocess.check_call(['sphinx-build2', '-b', 'html', '-t', 'online',
'-d', '.build/doctrees', '.', '.build/html']) '-d', '.build/doctrees', '.', '.build/html'])
subprocess.check_call(['sphinx-build', '-b', 'myepub', '-d', subprocess.check_call(['sphinx-build', '-b', 'myepub', '-d',
'.build/doctrees', '.', '.build/epub']) '.build/doctrees', '.', '.build/epub'])