aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2014-03-14 19:06:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-17 14:01:06 +0000
commit8dfd28925fc47d8a4a1f10ec65df665c8326edc4 (patch)
tree5287d342ea6a40cc7a8ee67b0fc9ff168adfb207
parent511121dc1867279f2483ddf236e4c64c90bc8acb (diff)
downloadopenembedded-core-contrib-8dfd28925fc47d8a4a1f10ec65df665c8326edc4.tar.gz
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@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/__init__.py b/meta/lib/oe/__init__.py
index e69de29bb2..3ad9513f40 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__)