From 2e7a7024ce2d9301a8a87c762d5a3c468e002e0a Mon Sep 17 00:00:00 2001 From: Simon Coulton Date: Thu, 3 Oct 2019 14:28:39 +1000 Subject: [PATCH] chore: remove redundant code --- watson/__init__.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/watson/__init__.py b/watson/__init__.py index 02818c2..c727cd2 100644 --- a/watson/__init__.py +++ b/watson/__init__.py @@ -1,8 +1,3 @@ # -*- coding: utf-8 -*- -# Namespaced packages, see http://www.python.org/dev/peps/pep-0420/ - -try: - __import__('pkg_resources').declare_namespace(__name__) -except ImportError: # pragma: no cover - from pkgutil import extend_path # pragma: no cover - __path__ = extend_path(__path__, __name__) # pragma: no cover +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__)