tox: Fix vulture environment

We set PYTHONPATH so we can import qutebrowser.app in run_vulture.py
without installing it.

We also need to make sure all dependencies are installed so we can
actually import qutebrowser.
This commit is contained in:
Florian Bruhin 2016-08-09 13:54:54 +02:00
parent c0a407235c
commit c8d39e8934

View File

@ -85,7 +85,9 @@ commands =
basepython = python3 basepython = python3
deps = deps =
-r{toxinidir}/misc/requirements/requirements-pip.txt -r{toxinidir}/misc/requirements/requirements-pip.txt
-r{toxinidir}/requirements.txt
-r{toxinidir}/misc/requirements/requirements-vulture.txt -r{toxinidir}/misc/requirements/requirements-vulture.txt
setenv = PYTHONPATH={toxinidir}
commands = commands =
{envpython} scripts/link_pyqt.py --tox {envdir} {envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} scripts/dev/run_vulture.py {envpython} scripts/dev/run_vulture.py