# HG changeset patch # User Denis Laxalde # Date 1467118924 -7200 # Node ID e5453b19bc6ef3aab58d8c150e1cdb1aa71de4e6 # Parent dcfc446d8eae9c2ede6da8a752a8fbbc93c8d49d [tox] Ensure virtualenv's python is used to build the documentation diff -r dcfc446d8eae -r e5453b19bc6e tox.ini --- a/tox.ini Mon Jun 27 14:17:19 2016 +0200 +++ b/tox.ini Tue Jun 28 15:02:04 2016 +0200 @@ -44,11 +44,10 @@ [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 [pytest] python_files = *test_*.py