mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 14:02:22 +02:00
python3-distribute: fix interpreter
It should use "/usr/bin/env python3" rather than python. (From OE-Core rev: 5cf12b20c08d927af8b1a4e2997d325a030c2269) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bdf14c7dc0
commit
a9c628d033
@@ -37,6 +37,8 @@ do_install_append() {
|
||||
rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
|
||||
mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
|
||||
echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
|
||||
sed -i -e '1s|^#!.*python|#!/usr/bin/env python3|' \
|
||||
${D}${PYTHON_SITEPACKAGES_DIR}/distribute-${PV}-py${PYTHON_BASEVERSION}.egg/setuptools/tests/test_resources.py
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
|
||||
Reference in New Issue
Block a user