summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/python/python-setuptools.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc
index 357aa07086..f49e078697 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -37,3 +37,14 @@ do_install_prepend() {
37} 37}
38 38
39BBCLASSEXTEND = "native nativesdk" 39BBCLASSEXTEND = "native nativesdk"
40
41# The pkg-resources module can be used by itself, without the package downloader
42# and easy_install. Ship it in a separate package so that it can be used by
43# minimal distributions.
44PACKAGES =+ "${PYTHON_PN}-pkg-resources "
45FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
46# Due to the way OE-Core implemented native recipes, the native class cannot
47# have a dependency on something that is not a recipe name. Work around that by
48# manually setting RPROVIDES.
49RDEPENDS_${PN}_append = " ${PYTHON_PN}-pkg-resources"
50RPROVIDES_append_class-native = " ${PYTHON_PN}-pkg-resources-native"