af5e6b5fb7
The Python core team[*1] stopped supporting python 2.6. Some Python
libraries started following the same path and trying to support 2.6
becomes painful...
For example, most of you already noticed, oslo.config dropped 2.6
support. I tried to work around it with the following commit:
2250171098
But this forces users of decent distributions (e.g Ubuntu 14.04) to
upgrade pip (old pip versions can't understand version conditions).
[*1]
http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
22 lines
434 B
INI
22 lines
434 B
INI
[tox]
|
|
envlist = py27,py34,pypy,pep8
|
|
|
|
[testenv]
|
|
deps = -U
|
|
-r{toxinidir}/tools/pip-requires
|
|
-r{toxinidir}/tools/test-requires
|
|
--no-cache-dir
|
|
usedevelop = True
|
|
passenv= NOSE_VERBOSE
|
|
commands =
|
|
python ryu/tests/run_tests.py '{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
pep8
|
|
|
|
[pep8]
|
|
exclude = pbr-*,.venv,.tox,.git,doc,dist,tools,vcsversion.py,.pyc,ryu/contrib,dictconfig.py
|
|
ignore = E113,E116,E402,E711,E731,E501,W503
|
|
|