tox: Fix QT_QPA_PLATFORM_PLUGIN_PATH.

See 677cfc9410.
This commit is contained in:
Florian Bruhin 2015-05-16 14:22:56 +02:00
parent dd83a40df4
commit 4dbc4ba93f

View File

@ -15,8 +15,8 @@ envdir = {toxinidir}/.venv
usedevelop = true
[testenv:unittests]
# https://bitbucket.org/hpk42/tox/issue/246/
setenv = QT_QPA_PLATFORM_PLUGIN_PATH={envdir}/lib/python3.4/PyQt5/plugins/platforms
# https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though
setenv = QT_QPA_PLATFORM_PLUGIN_PATH={envdir}/Lib/site-packages/PyQt5/plugins/platforms
passenv = DISPLAY XAUTHORITY HOME
deps =
py==1.4.27