summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Dickinson <me@not.mn>2016-09-23 13:01:07 -0700
committerJohn Dickinson <me@not.mn>2016-09-23 13:21:58 -0700
commit46937f8620ddaae42187f221c34b5e1a3b66468b (patch)
treeb245b38a3d2d7e9f774d105a46c8f71086f58858
parenta9f21662dfcc8504c536d629d5721771ecc62d23 (diff)
downloadpython-swiftclient-46937f8620ddaae42187f221c34b5e1a3b66468b.tar.gz
add pypy to the bindep "test" profile
According to the bindep docs (http://docs.openstack.org/infra/bindep/readme.html#profiles), we can specify profiles for each entry listed. Also added a bindep env to tox.ini. Change-Id: Ifb59d3ef2934c3d72ba84b337c38bb7eb14774bb
-rw-r--r--bindep.txt4
-rw-r--r--tox.ini9
2 files changed, 11 insertions, 2 deletions
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