From: Hongxu Jia Date: Thu, 19 Jul 2018 14:59:05 +0000 (+0800) Subject: python-setuptools.inc: clean up useless local var-DISTUTILS_INSTALL_ARGS X-Git-Tag: uninative-2.3~918 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1d205a107260d3f60c2af4aa6af0ba983a45c76d;p=openembedded-core.git python-setuptools.inc: clean up useless local var-DISTUTILS_INSTALL_ARGS Since unify var-DISTUTILS_INSTALL_ARGS in distutils and setuptools, The local var-DISTUTILS_INSTALL_ARGS broke do_install ... error: option --script-dir not recognized ERROR: python3 setup.py install execution failed. ... [YOCTO #8446] Signed-off-by: Hongxu Jia Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index 2c59a2936b..315ba31396 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -15,9 +15,6 @@ SRC_URI[sha256sum] = "012adb8e25fbfd64c652e99e7bab58799a3aaf05d39ab38561f69190a9 DEPENDS += "${PYTHON_PN}" -DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR} \ - --script-dir=${bindir}" - RDEPENDS_${PN} = "\ ${PYTHON_PN}-compile \ ${PYTHON_PN}-compression \