Modernize to curent build standards
Migrate to pbr, flake8 and hacking. Clean up hacking warnings. Rename
requirements files. Remove cruft from tox.ini.
Change-Id: Ide78ad47de7f275240f729a2bc02745063b084ac
Reviewed-on: https://review.openstack.org/31439
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
diff --git a/tox.ini b/tox.ini
index b36dc95..47067e0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,24 +1,20 @@
[tox]
-envlist = py26,py27,pep8
+envlist = pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
-deps = -r{toxinidir}/tools/pip-requires
- -r{toxinidir}/tools/test-requires
-commands = nosetests {posargs}
+deps = -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
[testenv:pep8]
-deps = pep8==1.3.3
-commands =
- pep8 --exclude=.venv,.tox,dist,doc,openstack,*lib/python*,*egg \
- --repeat --show-source .
-
-[testenv:cover]
-setenv = NOSE_WITH_COVERAGE=1
+commands = flake8
[testenv:pyflakes]
-deps = pyflakes
-commands = pyflakes jeepyb/cmd
+commands = flake8
[testenv:venv]
commands = {posargs}
+
+[flake8]
+show-source = True
+exclude = .venv,.tox,dist,doc,build,*.egg