diff options
author | 2018-07-19 22:59:04 +0800 | |
---|---|---|
committer | 2018-07-26 13:16:31 +0100 | |
commit | 21f0c5a50e00ac34975d79fd48f08730d8f19b15 (patch) | |
tree | e98372c554452fd702201bc940c1d86317051129 /meta/classes/setuptools.bbclass | |
parent | ed0413babaf10ccf729472f603bbe32d84ba1931 (diff) | |
download | openembedded-core-contrib-21f0c5a50e00ac34975d79fd48f08730d8f19b15.tar.gz |
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>
Diffstat (limited to 'meta/classes/setuptools.bbclass')
-rw-r--r-- | meta/classes/setuptools.bbclass | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass index 157ef63b68..a923ea3c4a 100644 --- a/meta/classes/setuptools.bbclass +++ b/meta/classes/setuptools.bbclass @@ -1,8 +1,3 @@ inherit distutils DEPENDS += "python-setuptools-native" - -DISTUTILS_INSTALL_ARGS = "--root=${D} \ - --prefix=${prefix} \ - --install-lib=${PYTHON_SITEPACKAGES_DIR} \ - --install-data=${datadir}" |