tox: envsitespackagedir workaround for tox 2.0.1.

This commit is contained in:
Florian Bruhin 2015-05-16 14:12:33 +02:00
parent c91344cdf5
commit 677cfc9410

View File

@ -15,7 +15,8 @@ envdir = {toxinidir}/.venv
usedevelop = true
[testenv:unittests]
setenv = QT_QPA_PLATFORM_PLUGIN_PATH={envsitepackagesdir}/PyQt5/plugins/platforms
# https://bitbucket.org/hpk42/tox/issue/246/
setenv = QT_QPA_PLATFORM_PLUGIN_PATH={envdir}/lib/python3.4/PyQt5/plugins/platforms
deps =
py==1.4.27
pytest==2.7.0