python3: add 'ensurepip' to python3-pip sub-package 20387/head
authorAlexandru Ardelean <alex@shruggie.ro>
Wed, 25 Jan 2023 12:03:29 +0000 (14:03 +0200)
committerAlexandru Ardelean <alex@shruggie.ro>
Wed, 25 Jan 2023 12:03:33 +0000 (14:03 +0200)
commit1f317dfb75216904c92c3c8a64e088fb6b4c551b
tree49d7b55af01020915e9cb7f56b165acbaf9091c0
parentadce04d840ea0dee718455a51a576122c7a460a7
python3: add 'ensurepip' to python3-pip sub-package

Fixes:
  https://github.com/openwrt/packages/issues/12707

Seems to work.
Looking into the 'venv' lib, it seems it's installing pip & setuptools
inside a virtual environment.

`python3-pip` is already ~6 MB.
This adds another ~3 MB.

But, this gives users the ability to run Python virtual environments, which
is a pretty common feature of Python in production cases (usually web
stuff).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
lang/python/python3/Makefile
lang/python/python3/files/python3-package-pip.mk