Pass toxinidir to the definition of requirements

Allow to run tox from any directory.

Change-Id: I5fcfa00e8bd6dd2f46e66e6405a3bb8031f6a67c
This commit is contained in:
Frederic Lepied 2014-11-26 16:50:42 +01:00
parent cb32def5c5
commit 2a58ddc82d
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ envlist = py27,py33,pep8
[testenv]
usedevelop = True
deps =
-rrequirements.txt
-r{toxinidir}/requirements.txt
mock
coverage
commands =
@ -14,7 +14,7 @@ commands =
[testenv:pep8]
basepython = python2.7
deps =
-rrequirements.txt
-r{toxinidir}/requirements.txt
hacking
docutils
commands =