From 0c9b7ae35c7695e427e76c502fe3471b927b6791 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 25 Jun 2015 21:41:23 -0400 Subject: [PATCH] Add tox target to find missing requirements Change-Id: I230b4ae8910e660f6488d980597e0777e6f0bd1f --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index d1e9c9e4..2c8cd5b2 100644 --- a/tox.ini +++ b/tox.ini @@ -38,3 +38,11 @@ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build [hacking] import_exceptions = oslo_service._i18n + +[testenv:pip-missing-reqs] +# do not install test-requirements as that will pollute the virtualenv for +# determining missing packages +# this also means that pip-missing-reqs must be installed separately, outside +# of the requirements.txt files +deps = pip_missing_reqs +commands = pip-missing-reqs -d --ignore-module=oslo_service* --ignore-module=pkg_resources --ignore-file=oslo_service/tests/* oslo_service \ No newline at end of file