]> 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)
committerScott Garman <scott.a.garman@intel.com>
Mon, 24 Sep 2012 16:51:09 +0000 (09:51 -0700)
commitf60a04ccbf9ed614b5b5b9b02c8a24980bf17d3d
tree9c1190c898dc996e41c1fd9bee36da09606c0e8e
parent0fd7b7dd361e59c687366480cd9f89c81c2e5bce
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>
meta/classes/distutils.bbclass
meta/classes/setuptools.bbclass