Blob Blame History Raw
From a0fae5ee492f7d29a0950f769fe3dfb35a49d682 Mon Sep 17 00:00:00 2001
From: Jakub Ruzicka <jruzicka@redhat.com>
Date: Wed, 7 Aug 2013 19:35:08 +0200
Subject: [PATCH] Remove runtime dependency on python-pbr

---
 novaclient/__init__.py | 5 +----
 setup.py               | 1 -
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/novaclient/__init__.py b/novaclient/__init__.py
index bfa7553..18e8783 100644
--- a/novaclient/__init__.py
+++ b/novaclient/__init__.py
@@ -12,7 +12,4 @@
 #   License for the specific language governing permissions and limitations
 #   under the License.
 
-import pbr.version
-
-
-__version__ = pbr.version.VersionInfo('python-novaclient').version_string()
+__version__ = "REDHATNOVACLIENTVERSION"
diff --git a/setup.py b/setup.py
index 7363757..09230a0 100644
--- a/setup.py
+++ b/setup.py
@@ -26,5 +26,4 @@ except ImportError:
     pass
 
 setuptools.setup(
-    setup_requires=['pbr'],
     pbr=True)