summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pip_6.1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3-pip_6.1.1.bb')
-rw-r--r--meta/recipes-devtools/python/python3-pip_6.1.1.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-pip_6.1.1.bb b/meta/recipes-devtools/python/python3-pip_6.1.1.bb
index 7bfc30e2ae..7014bc0187 100644
--- a/meta/recipes-devtools/python/python3-pip_6.1.1.bb
+++ b/meta/recipes-devtools/python/python3-pip_6.1.1.bb
@@ -26,7 +26,13 @@ do_install_prepend() {
26# Use setuptools site.py instead, avoid shared state issue 26# Use setuptools site.py instead, avoid shared state issue
27do_install_append() { 27do_install_append() {
28 rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/site.py 28 rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/site.py
29 rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/__pycache__/site.cpython-34.pyc 29 rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/__pycache__/site.cpython-*.pyc
30
31 # Install as pip3 and leave pip2 as default
32 rm ${D}/${bindir}/pip
33
34 # Installed eggs need to be passed directly to the interpreter via a pth file
35 echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}-${PV}.pth
30} 36}
31 37
32RDEPENDS_${PN} = "\ 38RDEPENDS_${PN} = "\