From 896b36074641ad5120ca29888d1e71199aa1b1e0 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Thu, 19 Jul 2018 22:59:04 +0800 Subject: 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] (From OE-Core rev: 21f0c5a50e00ac34975d79fd48f08730d8f19b15) Signed-off-by: Hongxu Jia Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/setuptools3.bbclass | 4 ---- 1 file changed, 4 deletions(-) (limited to 'meta/classes/setuptools3.bbclass') diff --git a/meta/classes/setuptools3.bbclass b/meta/classes/setuptools3.bbclass index de6dd9440c..8ca66ee708 100644 --- a/meta/classes/setuptools3.bbclass +++ b/meta/classes/setuptools3.bbclass @@ -2,7 +2,3 @@ inherit distutils3 DEPENDS += "python3-setuptools-native" -DISTUTILS_INSTALL_ARGS = "--root=${D} \ - --prefix=${prefix} \ - --install-lib=${PYTHON_SITEPACKAGES_DIR} \ - --install-data=${datadir}" -- cgit v1.2.3-54-g00ecf