Revert "find sphinx-build before calling build.py"

This reverts commit 07200f445a because
the latter doesn't work with virtualenv correctly.
This commit is contained in:
Victor Zverovich committed 2018-10-28 09:26:21 -07:00
1 parent 324eac1aa5
commit 38f355d87b
2 files changed
+2 -8

No files matched your search

+1 -2
View File
@@ -100,8 +100,7 @@ def build_docs(version='dev', **kwargs):
raise CalledProcessError(p.returncode, cmd)
html_dir = os.path.join(work_dir, 'html')
main_versions = reversed(versions[-3:])
sphinx_build = os.environ.get('SPHINX_EXECUTABLE', 'sphinx-build')
check_call([sphinx_build,
check_call(['sphinx-build',
'-Dbreathe_projects.format=' + os.path.abspath(doxyxml_dir),
'-Dversion=' + version, '-Drelease=' + version,
'-Aversion=' + version, '-Aversions=' + ','.join(main_versions),