summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2018-11-01 23:18:05 +0000
committerCalum Lind <calumlind@gmail.com>2018-11-01 23:18:05 +0000
commit20431cc7712e67b9249251dc47162333785d5e91 (patch)
tree60dc351f34f212cdb2cd859f78d443238c8039ca /tox.ini
parent82ecf8a4168cafdc2bf0f5c37f7fa45d55e8d265 (diff)
downloaddeluge-20431cc7712e67b9249251dc47162333785d5e91.tar.gz
deluge-20431cc7712e67b9249251dc47162333785d5e91.tar.bz2
deluge-20431cc7712e67b9249251dc47162333785d5e91.zip
[Docs] Fix build errors getting Deluge version
The use of pkg_resource.require caused an unwanted requirements lookup that errored out the sphinx build when no dependencies are installed. This is fixed by switching to pkg_resources.get_distribution. Also changed the tox docs env to not install Deluge as the setup.py now contains install_requires which is unwanted.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index bb6b096a5..ad933169b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -156,6 +156,7 @@ deps =
[testenv:docs]
basepython = python2.7
sitepackages = {[docsbase]sitepackages}
+skip_install = True
deps = {[docsbase]deps}
commands =
python setup.py clean_docs
@@ -165,6 +166,7 @@ commands =
[testenv:docscoverage]
basepython = python2.7
sitepackages = {[docsbase]sitepackages}
+skip_install = True
changedir = {[docsbase]changedir}
deps =
{[docsbase]deps}