diff options
| author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2016-08-09 10:01:41 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-17 10:35:42 +0100 |
| commit | bba1b911c86557db66af4baf7f15813f43c1ae70 (patch) | |
| tree | 5e5ce8c78ccb5fbc6ca1aea4f08127ca14e2de3e /meta/recipes-devtools/python/python3-setuptools_22.0.5.bb | |
| parent | 92f505b0162f666b14208e2835c7def9f2cd4f2c (diff) | |
| download | poky-bba1b911c86557db66af4baf7f15813f43c1ae70.tar.gz | |
Use PYTHON_SITEPACKAGES_DIR insted of hard-coded *site-packages*
For thoese recipes that are inheriting python*-dir.bbclass, there is
already a PYTHON_SITEPACKAGES_DIR present, use that definition replacing
redundant "${libdir}/python*/site-packages".
(From OE-Core rev: e7d842673952aa4aaa141f64958bc1344dbe8210)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools_22.0.5.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-setuptools_22.0.5.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb index fb2931c3f2..65af6f0dad 100644 --- a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb +++ b/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb | |||
| @@ -5,7 +5,7 @@ DEPENDS_class-native += "python3-native" | |||
| 5 | 5 | ||
| 6 | inherit distutils3 | 6 | inherit distutils3 |
| 7 | 7 | ||
| 8 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages" | 8 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" |
| 9 | 9 | ||
| 10 | # The installer puts the wrong path in the setuptools.pth file. Correct it. | 10 | # The installer puts the wrong path in the setuptools.pth file. Correct it. |
| 11 | do_install_append() { | 11 | do_install_append() { |
