From a656b7fa69473353c9b2f5609c826c36e5f2a005 Mon Sep 17 00:00:00 2001 From: Ivan Kolodyazhny Date: Fri, 18 Dec 2015 16:35:36 +0200 Subject: [PATCH] Add backward compatibility with python-cinderclient<=1.5.0 python-cinderclient<=1.5.0 CLI module searches extensions with 'python_cinderclient_ext' suffix in PYTHONPATH. --- brick_python_cinderclient_ext/__init__.py | 13 +++++++++++++ setup.cfg | 1 + 2 files changed, 14 insertions(+) create mode 100644 brick_python_cinderclient_ext/__init__.py diff --git a/brick_python_cinderclient_ext/__init__.py b/brick_python_cinderclient_ext/__init__.py new file mode 100644 index 0000000..143c69a --- /dev/null +++ b/brick_python_cinderclient_ext/__init__.py @@ -0,0 +1,13 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +from brick_cinderclient_ext import * # noqa diff --git a/setup.cfg b/setup.cfg index 630fbec..7c972a7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,6 +22,7 @@ classifier = [files] packages = brick_cinderclient_ext + brick_python_cinderclient_ext [build_sphinx] source-dir = doc/source