[tox] Simplify command line to build the doc 3.25
authorDenis Laxalde <denis.laxalde@logilab.fr>
Wed, 22 Mar 2017 14:36:05 +0100
branch3.25
changeset 12102 392d5d09f0ef
parent 12101 3fd9c12a4426
child 12103 07d75be1bb88
[tox] Simplify command line to build the doc
tox.ini
--- a/tox.ini	Fri Mar 24 09:37:51 2017 +0100
+++ b/tox.ini	Wed Mar 22 14:36:05 2017 +0100
@@ -32,7 +32,7 @@
   sphinx
   -r{toxinidir}/requirements/doc.txt
 commands =
-  {envpython} -c 'import sphinx; sphinx.main()' -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html
+  {envpython} -m sphinx -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html
 
 [testenv:check-manifest]
 skip_install = true