From: W. Trevor King Date: Mon, 12 Nov 2012 18:07:44 +0000 (-0500) Subject: release.py: use Python 2.7 for sphinx-build X-Git-Tag: 1.1.0~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b0bf9d18cce9e0f70db29fa7083cfcfba64545f0;p=be.git release.py: use Python 2.7 for sphinx-build --- diff --git a/release.py b/release.py index c248eda..2650a3f 100755 --- a/release.py +++ b/release.py @@ -134,7 +134,8 @@ def make_html_docs(docdir): """Generate docs so users won't need to install Sphinx, etc. """ print('generate HTML docs in {}'.format(docdir)) - status,stdout,stderr = invoke(['make', 'dirhtml'], cwd=docdir) + status,stdout,stderr = invoke( + ['make', 'SPHINXBUILD=sphinx-build-2.7', 'dirhtml'], cwd=docdir) def create_tarball(tag): release_name='be-%s' % tag