Skip to content
Snippets Groups Projects
Commit caf14278 authored by Lukas Bulwahn's avatar Lukas Bulwahn
Browse files

removing unneeded easyinstall and duplicate setuptools

parent f0aeb0f5
No related branches found
No related tags found
No related merge requests found
pkg_postinst_${PN} () {
if test ! -e ${PYTHON_SITEPACKAGES_DIR}/easy-install.pth; then
cat > ${PYTHON_SITEPACKAGES_DIR}/easy-install.pth << EOF
import sys; sys.__plen = len(sys.path)
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)
EOF
fi
sed -i '$ i ${EASYINSTALL_${PN}}' ${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
}
inherit distutils
DEPENDS += "python-setuptools-native"
DISTUTILS_INSTALL_ARGS = "--root=${D} \
--single-version-externally-managed \
--prefix=${prefix} \
--install-data=${datadir}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment