From: Christopher Larson Date: Sat, 15 Mar 2014 02:06:26 +0000 (-0700) Subject: lib/oe: turn oe into a namespace package X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dfd28925fc47d8a4a1f10ec65df665c8326edc4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/__init__.py b/meta/lib/oe/__init__.py index e69de29bb2d..3ad9513f40e 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__)