From 7618feaeb12c4128ebe31ed7af3110d15746d0d7 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 2 Jul 2012 14:58:10 -0700 Subject: 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') 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} -- cgit v1.2.1