mirror of
https://github.com/openwrt/packages.git
synced 2025-12-20 01:21:21 +00:00
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>
This commit is contained in:
@@ -29,6 +29,7 @@ define Py3Package/python3-pip/install
|
||||
endef
|
||||
|
||||
$(eval $(call Py3BasePackage,python3-pip, \
|
||||
/usr/lib/python$(PYTHON3_VERSION)/ensurepip \
|
||||
, \
|
||||
DO_NOT_ADD_TO_PACKAGE_DEPENDS \
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user