[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 13:54:45 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 8dfd28925fc47d8a4a1f10ec65df665c8326edc4
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8dfd28925fc47d8a4a1f10ec65df665c8326edc4
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