From fcb9bc6785d9f456f08a40d2e85ff11ec053be83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isabel=20Ruiz=20Buritic=C3=A1?= Date: Fri, 14 Dec 2018 11:04:17 -0500 Subject: [PATCH 1/4] Update __init__.py --- billing/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/billing/__init__.py b/billing/__init__.py index 6a36fe6..a98979b 100644 --- a/billing/__init__.py +++ b/billing/__init__.py @@ -1,3 +1,5 @@ # this is a namespace package -import pkgutil -__path__ = pkgutil.extend_path(__path__, __name__) +# import pkgutil +# __path__ = pkgutil.extend_path(__path__, __name__) + +import('pkg_resources').declare_namespace(name) From 5c120927ef58ab5b1b7b3522eddd31b30436050d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isabel=20Ruiz=20Buritic=C3=A1?= Date: Fri, 14 Dec 2018 14:32:59 -0500 Subject: [PATCH 2/4] Update __init__.py --- billing/processor/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/billing/processor/__init__.py b/billing/processor/__init__.py index 6a36fe6..cacdc57 100644 --- a/billing/processor/__init__.py +++ b/billing/processor/__init__.py @@ -1,3 +1,6 @@ # this is a namespace package -import pkgutil -__path__ = pkgutil.extend_path(__path__, __name__) +# import pkgutil +# __path__ = pkgutil.extend_path(__path__, __name__) + +import('pkg_resources').declare_namespace(name) + From b46b9bcaa09324d8553842863c0204d7e20ad968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isabel=20Ruiz=20Buritic=C3=A1?= Date: Thu, 27 Dec 2018 16:35:04 -0500 Subject: [PATCH 3/4] Update __init__.py Apply Gabriel's comment. --- billing/processor/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/billing/processor/__init__.py b/billing/processor/__init__.py index cacdc57..64c3c3b 100644 --- a/billing/processor/__init__.py +++ b/billing/processor/__init__.py @@ -1,6 +1,3 @@ # this is a namespace package -# import pkgutil -# __path__ = pkgutil.extend_path(__path__, __name__) - -import('pkg_resources').declare_namespace(name) +__import__('pkg_resources').declare_namespace(__name__) From f68f8e52a84f779009ba09396ae93aeb299a1c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isabel=20Ruiz=20Buritic=C3=A1?= Date: Thu, 27 Dec 2018 16:35:07 -0500 Subject: [PATCH 4/4] Update __init__.py Apply Gabriel's comment. --- billing/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/billing/__init__.py b/billing/__init__.py index a98979b..64c3c3b 100644 --- a/billing/__init__.py +++ b/billing/__init__.py @@ -1,5 +1,3 @@ # this is a namespace package -# import pkgutil -# __path__ = pkgutil.extend_path(__path__, __name__) -import('pkg_resources').declare_namespace(name) +__import__('pkg_resources').declare_namespace(__name__)