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:
parent
c0a407235c
commit
c8d39e8934
2
tox.ini
2
tox.ini
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user