summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-04-13 16:08:24 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-04-13 16:08:24 -0400
commit4de1ee38fb2a6aff0fb73f20087540ccc9daccba (patch)
treec44b32cc01b67daa3191f15647ff0fe37d4493b7
parent5f70c35a0d4b0df60015461d73ef8bef5d5ab7a4 (diff)
downloadoslosphinx-4de1ee38fb2a6aff0fb73f20087540ccc9daccba.tar.gz
set default python to python3
Set the default python to python3 except for the py27 environment. We have to set that explicitly to override the new default. Change-Id: I9d9b80a6e177f7a3a1e20be8da5f603b95ad2deb Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ae632a1..a8c9c38 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,12 +3,16 @@ minversion = 2.0
envlist = pep8
[testenv]
+basepython = python3
install_command = pip install {opts} {packages}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
+[testenv:py27]
+basepython = python2.7
+
[testenv:pep8]
commands =
flake8 oslosphinx