Package list python-castellan / 837fc4c
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: I64799bb18c6c5848d23378e163481ad0fe1eea2b Signed-off-by: Doug Hellmann <doug@doughellmann.com> Doug Hellmann 3 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
33 skipsdist = True
44
55 [testenv]
6 basepython = python3
67 usedevelop = True
78 install_command = pip install {opts} {packages}
89 setenv =
1314 -r{toxinidir}/requirements.txt
1415 -r{toxinidir}/test-requirements.txt
1516 commands = python setup.py testr --slowest --testr-args='{posargs}'
17
18 [testenv:py27]
19 basepython = python2.7
1620
1721 [testenv:pep8]
1822 commands =
8286 import_exceptions = castellan.i18n
8387
8488 [testenv:lower-constraints]
85 basepython = python3
8689 deps =
8790 -c{toxinidir}/lower-constraints.txt
8891 -r{toxinidir}/test-requirements.txt