summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorPanagiotis Karalis <panos.pkaralis@gmail.com>2019-08-07 10:46:52 +0300
committerDan Xu <xudan16@huawei.com>2019-09-16 06:45:00 +0000
commit005d868d68dbb0e70b3f92a685ea269c4f646fd7 (patch)
treedcb1f0f64606b58f0c33e9dc96131fdbe4ed6398 /tox.ini
parentf0c44b1ae02ffbdb87da81dac7b6754c641d8c04 (diff)
Move the proj to python3
The aim of this patch is to upgrade python version of this project from python2 to python3. Signed-off-by: Panagiotis Karalis <panos.pkaralis@gmail.com> Change-Id: I3d3ef01176fda1b23a0542a24625be2f3368c40e
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 1fb696a4..b8efce64 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,14 +12,14 @@ minversion = 2.5
skipsdist = True
envlist =
pep8,
- py27,
+ py35,
docs,
docs-linkcheck
[testenv]
-basepython=python2
+basepython=python3.5
usedevelop = True
-install_command = pip install -U {opts} {packages}
+install_command = pip3 install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
@@ -59,7 +59,7 @@ deps = -rdocs/requirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
[testenv:yamllint]
-basepython = python2.7
+basepython = python3.5
files =
etc
commands =