summaryrefslogtreecommitdiffstats
path: root/meta/classes/setuptools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-24 16:12:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-24 17:25:15 +0100
commit3ea34e035a2cd32e2aa64659c1171dda9d44025d (patch)
treec58b4e7ff7aeb9bf4b4eef8aac74658569cc3362 /meta/classes/setuptools.bbclass
parentfc2cfbfd8d1b3abf7a2cb2760ce3be04d2a4e200 (diff)
downloadpoky-3ea34e035a2cd32e2aa64659c1171dda9d44025d.tar.gz
distutils/steuptools: Fix files layout and unbreak builds
The last two distutils changes progressivly broke the builds. Firstly they moved things from the site_packages directory to being higher up the tree which introduced package QA warnings as a side effect. Secondly, it interacts badly with setuptools which passes in --root=${D} itself. This patch restores the original directory layout, hence fixing the QA warnings and also passes extra options to setuptools to deal with the --root option it passes. (From OE-Core rev: bed18d5df7915e4127a538be9c7550e185c8c850) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/setuptools.bbclass')
-rw-r--r--meta/classes/setuptools.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass
index ced9509df2..ba9cf13295 100644
--- a/meta/classes/setuptools.bbclass
+++ b/meta/classes/setuptools.bbclass
@@ -5,4 +5,5 @@ DEPENDS += "python-setuptools-native"
5DISTUTILS_INSTALL_ARGS = "--root=${D} \ 5DISTUTILS_INSTALL_ARGS = "--root=${D} \
6 --single-version-externally-managed \ 6 --single-version-externally-managed \
7 --prefix=${prefix} \ 7 --prefix=${prefix} \
8 --install-lib=${PYTHON_SITEPACKAGES_DIR} \
8 --install-data=${datadir}" 9 --install-data=${datadir}"