From 52662fbb500a08dfdde63d8f1513bc882c3067a1 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Jan 25 2012 03:15:28 +0000 Subject: Additional small release needs Change the pypi name to match the expected name. Update versions in pip-requires to match other projects. Add coverage support to tox. Change-Id: Id02b039dc8c89bfdae1acc5adea06757cd326bb8 --- diff --git a/setup.py b/setup.py index 4eb2698..b17b489 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 724b197..dbc78c3 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 fce8eb1..23565b9 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