Skip to content

Commit 52662fb

Browse files
committed
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
1 parent e83eee7 commit 52662fb

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def run_git_command(cmd):
4949
}
5050
""" % (branch_nick, revid, revno))
5151

52-
Name = 'quantum-client'
52+
Name = 'python-quantumclient'
5353
Url = "https://launchpad.net/quantum"
5454
Version = version.canonical_version_string()
5555
License = 'Apache License 2.0'

tools/pip-requires

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
# split of "common" quantum code between quantum-server and quantum-client.
33
# Should be removed from here and setup.py once we fix that.
44
Paste
5-
PasteDeploy
5+
PasteDeploy==1.5.0
6+
python-gflags==1.3
7+
WebOb==1.0.8
68

79
distribute>=0.6.24
8-
python-gflags
9-
webob
1010

11+
coverage
1112
nose
1213
nosexcover
1314
pep8==0.6.1
14-
tissue
1515

1616
-e git+https://review.openstack.org/p/openstack-dev/openstack-nose.git#egg=openstack.nose_plugin
1717
-e git+https://review.openstack.org/p/openstack/quantum#egg=quantum-dev

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ commands = nosetests
88
[testenv:pep8]
99
commands = pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source quantum setup.py version.py
1010

11+
[testenv:cover]
12+
commands = nosetests --with-coverage --cover-html --cover-erase --cover-package=quantum
13+
1114
[testenv:hudson]
1215
downloadcache = ~/cache/pip
1316

@@ -23,3 +26,6 @@ deps = file://{toxinidir}/.cache.bundle
2326
deps = file://{toxinidir}/.cache.bundle
2427
commands = pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source quantum setup.py version.py
2528

29+
[testenv:jenkinscover]
30+
deps = file://{toxinidir}/.cache.bundle
31+
commands = nosetests --cover-erase --cover-package=quantum --with-xcoverage

0 commit comments

Comments
 (0)