diff --git a/setup.py b/setup.py index 4eb269810..b17b489f4 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ version_info = { } """ % (branch_nick, revid, revno)) -Name = 'quantum-client' +Name = 'python-quantumclient' Url = "https://launchpad.net/quantum" Version = version.canonical_version_string() License = 'Apache License 2.0' diff --git a/tools/pip-requires b/tools/pip-requires index 724b19783..dbc78c3de 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -2,16 +2,16 @@ # split of "common" quantum code between quantum-server and quantum-client. # Should be removed from here and setup.py once we fix that. Paste -PasteDeploy +PasteDeploy==1.5.0 +python-gflags==1.3 +WebOb==1.0.8 distribute>=0.6.24 -python-gflags -webob +coverage nose nosexcover pep8==0.6.1 -tissue -e git+https://review.openstack.org/p/openstack-dev/openstack-nose.git#egg=openstack.nose_plugin -e git+https://review.openstack.org/p/openstack/quantum#egg=quantum-dev diff --git a/tox.ini b/tox.ini index fce8eb1d9..23565b9dd 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,9 @@ commands = nosetests [testenv:pep8] commands = pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source quantum setup.py version.py +[testenv:cover] +commands = nosetests --with-coverage --cover-html --cover-erase --cover-package=quantum + [testenv:hudson] downloadcache = ~/cache/pip @@ -23,3 +26,6 @@ deps = file://{toxinidir}/.cache.bundle deps = file://{toxinidir}/.cache.bundle commands = pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source quantum setup.py version.py +[testenv:jenkinscover] +deps = file://{toxinidir}/.cache.bundle +commands = nosetests --cover-erase --cover-package=quantum --with-xcoverage