]> code.ossystems Code Review - openembedded-core.git/commit
setuptools3.bbclass: clean up
authorRoss Burton <ross@burtonini.com>
Mon, 7 Mar 2022 15:26:48 +0000 (15:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Mar 2022 09:42:59 +0000 (09:42 +0000)
commit57c477ca13e352b6f9b21385abbfaad9778c6398
treeda232301c37b12921a75b3b09bff4466d80bca17
parent0d29988958e48534a0076307bb2393a3c1309e03
setuptools3.bbclass: clean up

There's been a lot of work in this class lately, so a little spring
cleaning is needed.

Create wheels verbosely to help debug problems.

Remove unused SETUPTOOLS_INSTALL_ARGS, these can't be passed to
bdist_wheel.

Remove duplicate manipulation of files in bindir as pip_install_wheel
does the same.

Remove obsolete deletion of easy-install.pth, wheels don't generate that.

Remove obsolete ${datadir}/share fixup, pip-installed wheels can't
generate that path combination.

Remove purging of ${D} references from *.py, these won't be written by
standard setuptools, and recipes can do it themselves to work around
specific issues if needed.

Remove obsolete vardepsexclude of MACHINE on do_install, as that variable
isn't referenced.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/setuptools3.bbclass