diff options
author | Calum Lind <calumlind@gmail.com> | 2018-11-01 23:18:05 +0000 |
---|---|---|
committer | Calum Lind <calumlind@gmail.com> | 2018-11-01 23:18:05 +0000 |
commit | 20431cc7712e67b9249251dc47162333785d5e91 (patch) | |
tree | 60dc351f34f212cdb2cd859f78d443238c8039ca /tox.ini | |
parent | 82ecf8a4168cafdc2bf0f5c37f7fa45d55e8d265 (diff) | |
download | deluge-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.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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} |