From 6200c67619329f686dfb888ac7ef25469375df83 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Thu, 24 Nov 2016 14:01:47 +0800 Subject: 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 --- qtip/__init__.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'qtip') 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() -- cgit 1.2.3-korg