summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-29 14:06:06 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-31 22:44:32 +0800
commit9e4d243f1360158555fe92cc35fae6521bfdfce5 (patch)
tree1aa9c76d81292036a8ea4fc3e886d373da5bfa09 /tox.ini
parent7be99b40106a0c585f953f6506480a2524a7711a (diff)
Reorganize requirements
- move test-requirements to ./requirements/test - freeze requirements in ./requirements/frozen{,-test}.txt - add necessary packages for requirements checking Change-Id: I451e75bd0d9654ab37940336145cf3b4d0e365fe Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 935c4d71..c758183f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,7 @@ usedevelop = True
install_command = pip install -U {opts} {packages}
deps =
-rrequirements.txt
- -rtest-requirements.txt
+ -rrequirements-test.txt
commands=
py.test \
--basetemp={envtmpdir} \
@@ -38,10 +38,11 @@ builtins = _
exclude = build,dist,doc,legacy,.eggs,.git,.tox,.venv
[testenv:reqs]
-deps=-rtest-requirements.txt
+deps=-rrequirements/test.txt
commands=
pip-missing-reqs qtip
pip-extra-reqs qtip
+ pipreqs qtip --savepath requirements-frozen.txt
[pytest]
testpaths = tests