# HG changeset patch # User Denis Laxalde # Date 1467118924 -7200 # Node ID 12bebe48b45140f87e5930c6e21093d180dac67e # Parent 51e988f9870e0fdcf882b43856e1884ccb5309da [tox] Ensure virtualenv's python is used to build the documentation diff -r 51e988f9870e -r 12bebe48b451 tox.ini --- a/tox.ini Fri Jun 24 13:08:52 2016 +0200 +++ b/tox.ini Tue Jun 28 15:02:04 2016 +0200 @@ -24,8 +24,7 @@ [testenv:doc] changedir = doc -whitelist_externals = - sphinx-build deps = sphinx -commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html +commands = + {envpython} -c 'import sphinx; sphinx.main()' -b html -d {envtmpdir}/doctrees . {envtmpdir}/html