summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-08-03 14:28:10 -0400
committerSimo Sorce <simo@redhat.com>2015-08-03 14:28:10 -0400
commit88d03775870a5247ac01cb85742402c0e2ed8dd1 (patch)
tree72040ac69bfce5699fa0f7d228bf834bac1bee47
parentd0e0407e37f85ff086f5f655bf5ce6c59d8e89e2 (diff)
downloadcustodia-88d03775870a5247ac01cb85742402c0e2ed8dd1.tar.gz
custodia-88d03775870a5247ac01cb85742402c0e2ed8dd1.tar.xz
custodia-88d03775870a5247ac01cb85742402c0e2ed8dd1.zip
Allow tox to use locally installed packages
Signed-off-by: Simo Sorce <simo@redhat.com>
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
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