diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-24 16:12:39 +0000 |
---|---|---|
committer | Scott Garman <scott.a.garman@intel.com> | 2012-09-24 09:51:09 -0700 |
commit | f60a04ccbf9ed614b5b5b9b02c8a24980bf17d3d (patch) | |
tree | 9c1190c898dc996e41c1fd9bee36da09606c0e8e /meta/classes/setuptools.bbclass | |
parent | 0fd7b7dd361e59c687366480cd9f89c81c2e5bce (diff) | |
download | openembedded-core-f60a04ccbf9ed614b5b5b9b02c8a24980bf17d3d.tar.gz openembedded-core-f60a04ccbf9ed614b5b5b9b02c8a24980bf17d3d.tar.bz2 openembedded-core-f60a04ccbf9ed614b5b5b9b02c8a24980bf17d3d.zip |
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.bbclass | 1 |
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" DISTUTILS_INSTALL_ARGS = "--root=${D} \ --single-version-externally-managed \ --prefix=${prefix} \ + --install-lib=${PYTHON_SITEPACKAGES_DIR} \ --install-data=${datadir}" |