[poky] [PATCH v2 3/3] setuptools bbclass: import from OE

Koen Kooi koen at dominion.thruhere.net
Tue Jan 18 03:11:38 PST 2011


Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
 meta/classes/setuptools.bbclass |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 meta/classes/setuptools.bbclass

diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass
new file mode 100644
index 0000000..ced9509
--- /dev/null
+++ b/meta/classes/setuptools.bbclass
@@ -0,0 +1,8 @@
+inherit distutils
+
+DEPENDS += "python-setuptools-native"
+
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+    --single-version-externally-managed \
+    --prefix=${prefix} \
+    --install-data=${datadir}"
-- 
1.6.6.1




More information about the poky mailing list