]> code.ossystems Code Review - openembedded-core.git/commitdiff
setuptools bbclass: import from OE
authorKoen Kooi <koen@dominion.thruhere.net>
Tue, 18 Jan 2011 11:11:38 +0000 (12:11 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jan 2011 21:37:00 +0000 (21:37 +0000)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/setuptools.bbclass [new file with mode: 0644]

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