summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2012-07-02 14:58:10 -0700
committerMonty Taylor <mordred@inaugust.com>2012-07-11 12:26:14 -0500
commit7618feaeb12c4128ebe31ed7af3110d15746d0d7 (patch)
treecf700bd11388acc1759991eacfa71891d8acf0cd /tox.ini
parentc2a3fc56fc32b55f06798012fa5e74891acb533a (diff)
downloadpython-swiftclient-7618feaeb12c4128ebe31ed7af3110d15746d0d7.tar.gz
Consume version info from pkg_resources.
Documenation builds specify a version in doc/source/conf.py that is used in appropriate places through out the documentation. Previously this value had not been defined properly and documentation builds failed. Retrieve the version info using pkg_resources and set it properly. Use openstack.common.version to consume the generated version information for documentation. Additional, add a swiftclient.__version__ member which will return the version of swiftclient being used. Change-Id: I14f3abdf00da3f9ea7d0651efe76b08f69ddabae
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 1112dfe..4641141 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,7 +14,7 @@ commands = nosetests
[testenv:pep8]
deps = pep8
-commands = pep8 --repeat --show-source swiftclient setup.py
+commands = pep8 --repeat --show-source --exclude=openstack swiftclient setup.py
[testenv:venv]
commands = {posargs}