From 88d03775870a5247ac01cb85742402c0e2ed8dd1 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 3 Aug 2015 14:28:10 -0400 Subject: Allow tox to use locally installed packages Signed-off-by: Simo Sorce --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index e737ba2..3572322 100644 --- a/tox.ini +++ b/tox.ini @@ -7,6 +7,7 @@ deps = coverage -r{toxinidir}/requirements.txt cryptography +sitepackages = True commands = coverage run -m pytest --capture=no --strict {posargs} coverage report -m @@ -17,6 +18,7 @@ deps = flake8 flake8-import-order pep8-naming +sitepackages = True commands = flake8 {posargs} @@ -26,15 +28,17 @@ deps = flake8 flake8-import-order pep8-naming +sitepackages = True commands = flake8 {posargs} [testenv:doc] +basepython = python2.7 deps = doc8 docutils markdown -basepython = python2.7 +sitepackages = True commands = doc8 --allow-long-titles README python setup.py check --restructuredtext --metadata --strict @@ -43,6 +47,7 @@ commands = [testenv:sphinx] basepython = python2.7 +sitepackages = True changedir = docs/source deps = sphinx < 1.3.0 -- cgit