[tox]
envlist = @TOX_ENVLIST@
minversion = 1.4
skipdist = True
setupdir = @py_bin@/dist

[testenv]
usedevelop = False
setenv =
    VIRTUAL_ENV={envdir}
    DEBUG=True
passenv =
    PKG_CONFIG_PATH
    CFLAGS
    SASLPASSWD
    VALGRIND
commands =
    @CMAKE_SOURCE_DIR@/tests/python/proton-test '{posargs:--ignore-file=@CMAKE_SOURCE_DIR@/tests/python/tox-blacklist}'
deps =
    unittest2

[testenv:pep8]
commands = flake8

[testenv:docs]
commands = python setup.py build_sphinx
