diff options
author | Davanum Srinivas <davanum@gmail.com> | 2015-06-25 21:25:35 -0400 |
---|---|---|
committer | Roman Podoliaka <rpodolyaka@mirantis.com> | 2015-06-26 15:17:24 +0300 |
commit | 8d1bb486fda1dec45069cb47bcae445456a008e3 (patch) | |
tree | 70f991f513e7d5fd15440c0f441e20b28f00df17 /tox.ini | |
parent | 8811644c41715aac0968079ffb22b2300303947b (diff) | |
download | oslo-db-8d1bb486fda1dec45069cb47bcae445456a008e3.tar.gz |
Add tox target to find missing requirements
Change-Id: I8c0f7bb9718c851e20a1ea7e2d066cf5f664e9a1
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,6 +1,6 @@ [tox] minversion = 1.6 -envlist = py26,py27,py34,pep8 +envlist = py26,py27,py34,pep8,pip-missing-reqs # NOTE(dhellmann): We cannot set skipdist=True # for oslo libraries because of the namespace package. #skipsdist = True @@ -60,3 +60,11 @@ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build [hacking] import_exceptions = oslo_db._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_db* --ignore-module=pkg_resources --ignore-file=oslo_db/tests/* oslo_db
\ No newline at end of file |