comparison tox.ini @ 6026:dd676fdeda0f

setup: move test dependencies to dev_requirements.txt to make them optional Remove the need for having test tools on production systems. Installing test dependencies is made an extra explicit step. pip is the future, but doesn't have the same tests_require features as setuptools kind of has. I don't like this way of handling it without setup.py support and with explicit naming of the ugly dev_requirements.txt ... but that seems to be the way to do it.
author Mads Kiilerich <madski@unity3d.com>
date Thu, 28 Jul 2016 16:28:34 +0200
parents b2195895bbd7
children ab30729c735c
comparison
equal deleted inserted replaced
6025:51b1af58589b 6026:dd676fdeda0f
4 4
5 [testenv] 5 [testenv]
6 setenv = 6 setenv =
7 PYTHONHASHSEED = 0 7 PYTHONHASHSEED = 0
8 deps = 8 deps =
9 pytest: pytest 9 -r{toxinidir}/dev_requirements.txt
10 py26-pytest: unittest2
10 python-ldap 11 python-ldap
11 python-pam 12 python-pam
12 commands = 13 commands =
13 pytest: py.test {posargs} 14 pytest: py.test {posargs}