[oe-commits] Christopher Larson : lib/oe: turn oe into a namespace package

git at git.openembedded.org git at git.openembedded.org
Mon Mar 17 12:17:46 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 05cda861375f5f3516f3b5a67fcdda1334cfe00c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=05cda861375f5f3516f3b5a67fcdda1334cfe00c

Author: Christopher Larson <kergoth at gmail.com>
Date:   Fri Mar 14 19:06:26 2014 -0700

lib/oe: turn oe into a namespace package

This will let folks extend the oe package with modules from other layers.
Given openembedded consists of more than just oe-core, I think this makes
sense, and adds some useful flexibility.

Signed-off-by: Christopher Larson <kergoth at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oe/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oe/__init__.py b/meta/lib/oe/__init__.py
index e69de29..3ad9513 100644
--- a/meta/lib/oe/__init__.py
+++ b/meta/lib/oe/__init__.py
@@ -0,0 +1,2 @@
+from pkgutil import extend_path
+__path__ = extend_path(__path__, __name__)



More information about the Openembedded-commits mailing list