]> code.ossystems Code Review - openembedded-core.git/commit
python*-setuptools: add separate packages for pkg_resources module
authorLuca Boccassi <luca.boccassi@microsoft.com>
Tue, 21 May 2019 12:36:41 +0000 (13:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 May 2019 16:06:27 +0000 (17:06 +0100)
commit4316d9afe920460e5d2236f217027cce37ed7bf5
tree9f6f6ceae35f79fe2d8bf9cdbb49a6e4c96b3abc
parente965b72c08fc94c7c6dbfea36505400f3dbb2c53
python*-setuptools: add separate packages for pkg_resources module

The pkg_resources Python module is useful by itself, for example for
automatic loading of resources shipped in a Python package.
Add separate packages for it, so that users can depend on them
individually and avoid pulling in the entire setuptools, which
include scripts to download other packages, which might not be
desired on minimal images.

Other distributions like Debian and Ubuntu already split setuptools
and pkg-resources in this way.

The setuptools packages now depend on the new pkg-resources packages,
to avoid regressions for other packages that depend on them
already.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-setuptools.inc