From f1e5826ecb406baa39dd9cfef2fcdd67be6c04a5 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 22 Jul 2015 14:08:58 +0200 Subject: [PATCH] stop using namespace packages There is no reason to do it for the plugin since it does not split namespace into pieces. By doing it, we avoid the need to generate and ship .pth file with the package. Change-Id: Ia6e676e4b0817678c289dda8d021a27d9875027a --- setup.cfg | 2 -- vmware_nsx/__init__.py | 1 - 2 files changed, 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 1b9810121a..fa12033104 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,8 +21,6 @@ classifier = [files] packages = vmware_nsx -namespace_packages = - vmware_nsx [entry_points] console_scripts = neutron-check-nsx-config = vmware_nsx.neutron.plugins.vmware.check_nsx_config:main diff --git a/vmware_nsx/__init__.py b/vmware_nsx/__init__.py index de40ea7ca0..e69de29bb2 100644 --- a/vmware_nsx/__init__.py +++ b/vmware_nsx/__init__.py @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__)