Pass toxinidir to the definition of requirements
Allow to run tox from any directory. Change-Id: I5fcfa00e8bd6dd2f46e66e6405a3bb8031f6a67c
This commit is contained in:
parent
cb32def5c5
commit
2a58ddc82d
4
tox.ini
4
tox.ini
|
@ -4,7 +4,7 @@ envlist = py27,py33,pep8
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
deps =
|
deps =
|
||||||
-rrequirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
mock
|
mock
|
||||||
coverage
|
coverage
|
||||||
commands =
|
commands =
|
||||||
|
@ -14,7 +14,7 @@ commands =
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
deps =
|
deps =
|
||||||
-rrequirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
hacking
|
hacking
|
||||||
docutils
|
docutils
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue