]> code.ossystems Code Review - openembedded-core.git/commit
distutils/setuptools, distutils3/setuptools3: improve reproducibility
authorHongxu Jia <hongxu.jia@windriver.com>
Thu, 19 Jul 2018 14:59:04 +0000 (22:59 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jul 2018 12:16:31 +0000 (13:16 +0100)
commit21f0c5a50e00ac34975d79fd48f08730d8f19b15
treee98372c554452fd702201bc940c1d86317051129
parented0413babaf10ccf729472f603bbe32d84ba1931
distutils/setuptools, distutils3/setuptools3: improve reproducibility

- Unify var-DISTUTILS_INSTALL_ARGS in distutils and setuptools

- Supply "--root" directory to the "install" command, and use
  it as a prefix to strip off the purported filename encoded
  in bytecode files. (It strips build path prefix from .pyc files)

[YOCTO #8446]
[YOCTO #12084]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/distutils.bbclass
meta/classes/distutils3.bbclass
meta/classes/setuptools.bbclass
meta/classes/setuptools3.bbclass