tox.ini
branch3.23
changeset 11390 e5453b19bc6e
parent 11354 6b7f4c6745a0
child 11419 32c3026f7810
--- 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