]> code.ossystems Code Review - openembedded-core.git/commitdiff
python-setuptools.inc: clean up useless local var-DISTUTILS_INSTALL_ARGS
authorHongxu Jia <hongxu.jia@windriver.com>
Thu, 19 Jul 2018 14:59:05 +0000 (22:59 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jul 2018 12:16:31 +0000 (13:16 +0100)
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 <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python-setuptools.inc

index 2c59a2936be4f9da77c6641bf799fad2e8f7e96d..315ba3139650a421d9d237c6c49bc3511a24a760 100644 (file)
@@ -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 \