]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe: turn oe into a namespace package
authorChristopher Larson <kergoth@gmail.com>
Sat, 15 Mar 2014 02:06:26 +0000 (19:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Mar 2014 14:01:06 +0000 (14:01 +0000)
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>
meta/lib/oe/__init__.py

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..3ad9513f40e0c4c6eb5c09fa404aaa95e3ee8753 100644 (file)
@@ -0,0 +1,2 @@
+from pkgutil import extend_path
+__path__ = extend_path(__path__, __name__)