summaryrefslogtreecommitdiff
path: root/meta/classes/setuptools.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-01-18 12:11:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-20 21:37:00 +0000
commit7cb39ad37fb9f2beba9e5985fd391c1be9b0c08c (patch)
tree27078fbac6832cc7c78e31d1f1b9c452fde9e94e /meta/classes/setuptools.bbclass
parentfe9f7162f9e780c191ab85df0c58790ae98628d4 (diff)
downloadopenembedded-core-7cb39ad37fb9f2beba9e5985fd391c1be9b0c08c.tar.gz
openembedded-core-7cb39ad37fb9f2beba9e5985fd391c1be9b0c08c.tar.bz2
openembedded-core-7cb39ad37fb9f2beba9e5985fd391c1be9b0c08c.zip
setuptools bbclass: import from OE
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/setuptools.bbclass')
-rw-r--r--meta/classes/setuptools.bbclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass
new file mode 100644
index 0000000000..ced9509df2
--- /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}"