[OE-core] [PATCH] lib/oe: turn oe into a namespace package

Christopher Larson kergoth at gmail.com
Sat Mar 15 02:06:26 UTC 2014


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>
---
 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__)
-- 
1.8.3.4




More information about the Openembedded-core mailing list