Clark Boylan 7618feaeb1 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
2012-07-11 12:26:14 -05:00

9 lines
189 B
Python

# -*- encoding: utf-8 -*-
""""
OpenStack Swift Python client binding.
"""
from client import *
from swiftclient import version
__version__ = version.version_info.deferred_version_string()