From 946a22e8a2579d0b98b4256a1a87029cee4a17ff Mon Sep 17 00:00:00 2001 From: Dougal Matthews Date: Thu, 9 Mar 2017 08:13:47 +0000 Subject: [PATCH] Force the docs to be built with Python 2 Currently this will fail with a syntax error if the system defaults to Python 3. Change-Id: Ie61c1a0cf541c35dbc2080d4cfc16c0be16a3200 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 215c5db..a01e19e 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,7 @@ commands = commands = {posargs} [testenv:docs] +basepython = python2.7 commands = find . -type f -name "*.pyc" -delete python setup.py build_sphinx