summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2007-11-19 20:05:03 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2007-11-19 20:05:03 +0000
commit1977650fdda4676e78bf23e36317ad885b230bd6 (patch)
treeaec6932f2ac00ec1610e2f5aaca669245528bcde
parentf5072aef95994e687028aa6edc63cc5b0b216b08 (diff)
setuptools.bbclass : add class for python packages using setuptools
-rw-r--r--classes/setuptools.bbclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/setuptools.bbclass b/classes/setuptools.bbclass
new file mode 100644
index 0000000000..17c039bf33
--- /dev/null
+++ b/classes/setuptools.bbclass
@@ -0,0 +1,8 @@
+inherit distutils
+
+DEPENDS += "python-setuptools"
+
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+ --single-version-externally-managed \
+ --prefix=${prefix} \
+ --install-data=${datadir}"