setuptools.bbclass : add class for python packages using setuptools
authorJeremy Laine <jeremy.laine@m4x.org>
Mon, 19 Nov 2007 20:05:03 +0000 (20:05 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Mon, 19 Nov 2007 20:05:03 +0000 (20:05 +0000)
classes/setuptools.bbclass [new file with mode: 0644]

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