diff --git a/bindep.txt b/bindep.txt index c587dda..efc5441 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1,5 +1,5 @@ # This is a cross-platform list tracking distribution packages needed by tests; # see http://docs.openstack.org/infra/bindep/ for additional information. -pypy -pypy-dev +pypy [test] +pypy-dev [test] diff --git a/tox.ini b/tox.ini index 26cfb11..84806cc 100644 --- a/tox.ini +++ b/tox.ini @@ -56,3 +56,12 @@ commands= ignore = H101,H301,H306,H401,H403,H404,H405 show-source = True exclude = .venv,.tox,dist,doc,*egg + +[testenv:bindep] +# Do not install any requirements. We want this to be fast and work even if +# system dependencies are missing, since it's used to tell you what system +# dependencies are missing! This also means that bindep must be installed +# separately, outside of the requirements files. +usedevelop = False +deps = bindep +commands = bindep test