summaryrefslogtreecommitdiffstats
path: root/qtip/__init__.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-11-24 14:01:47 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2016-11-24 17:06:18 +0800
commit6200c67619329f686dfb888ac7ef25469375df83 (patch)
tree4065d07425689b410843a21c7390e60d76820eb9 /qtip/__init__.py
parent213003bb409e02bfab6929ccffe88728a89028e2 (diff)
Use `pbr` for setup configuration
- `pbr` does a bunch of things[1] and is used widely in OpenStack - moved legacy `qtip.py` to scripts in order to keep the project folder clean [1]: http://docs.openstack.org/developer/pbr/#what-it-does Change-Id: I6a9b83883283eaa527e2c3d4cd8d221ee6efca41 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/__init__.py')
-rw-r--r--qtip/__init__.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/qtip/__init__.py b/qtip/__init__.py
index e69de29b..228d036f 100644
--- a/qtip/__init__.py
+++ b/qtip/__init__.py
@@ -0,0 +1,14 @@
+##############################################################################
+# Copyright (c) 2016 ZTE Corp and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+import pbr.version
+
+
+__version__ = pbr.version.VersionInfo(
+ 'qtip').version_string()