diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-pip_8.1.2.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-pip_8.1.2.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python3-pip_8.1.2.bb b/meta/recipes-devtools/python/python3-pip_8.1.2.bb index e319dff675..eefb4cb796 100644 --- a/meta/recipes-devtools/python/python3-pip_8.1.2.bb +++ b/meta/recipes-devtools/python/python3-pip_8.1.2.bb | |||
@@ -18,16 +18,16 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" | |||
18 | 18 | ||
19 | inherit distutils3 | 19 | inherit distutils3 |
20 | 20 | ||
21 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages" | 21 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" |
22 | 22 | ||
23 | do_install_prepend() { | 23 | do_install_prepend() { |
24 | install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages | 24 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} |
25 | } | 25 | } |
26 | 26 | ||
27 | # Use setuptools site.py instead, avoid shared state issue | 27 | # Use setuptools site.py instead, avoid shared state issue |
28 | do_install_append() { | 28 | do_install_append() { |
29 | rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/site.py | 29 | rm ${D}${PYTHON_SITEPACKAGES_DIR}/site.py |
30 | rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/__pycache__/site.cpython-*.pyc | 30 | rm ${D}${PYTHON_SITEPACKAGES_DIR}/__pycache__/site.cpython-*.pyc |
31 | 31 | ||
32 | # Install as pip3 and leave pip2 as default | 32 | # Install as pip3 and leave pip2 as default |
33 | rm ${D}/${bindir}/pip | 33 | rm ${D}/${bindir}/pip |