]> code.ossystems Code Review - openembedded-core.git/commit
distutils/steuptools: Fix files layout and unbreak builds
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Aug 2012 16:12:39 +0000 (16:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Aug 2012 16:25:04 +0000 (17:25 +0100)
commitbed18d5df7915e4127a538be9c7550e185c8c850
treee165bfac63a636bc797610fe5b12028d265bb9ff
parenta6029573fba6badc077486f2e3eab8df46e455ad
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/distutils.bbclass
meta/classes/setuptools.bbclass