From 0c2139641187096bee74392b21f349bf0df72ee7 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Thu, 27 Sep 2018 19:14:32 +0200 Subject: [PATCH] Fixed namespacing to use python3 style namespace packages. Note: the egg name is not allowed to have a dash, because that is interpreted as version by at least pbr. See https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support Change-Id: I957c5114150b430612cff0280df66ef769c8f71b --- ara/plugins/__init__.py | 1 - requirements.txt | 2 +- setup.cfg | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ara/plugins/__init__.py b/ara/plugins/__init__.py index de40ea7..e69de29 100644 --- a/ara/plugins/__init__.py +++ b/ara/plugins/__init__.py @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__) diff --git a/requirements.txt b/requirements.txt index b6f139e..4c76da6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 ansible>=2.5.5 -git+https://git.openstack.org/openstack/ara-clients@master#egg=ara-clients +git+https://git.openstack.org/openstack/ara-clients@master#egg=ara_clients diff --git a/setup.cfg b/setup.cfg index 9ead186..e188dc1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,8 +23,6 @@ setup-hooks = pbr.hooks.setup_hook [files] -namespace_packages = - ara.plugins packages = ara