summaryrefslogtreecommitdiff
path: root/meta/classes/setuptools.bbclass
diff options
context:
space:
mode:
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}"