Browse Source

python,python3: Use ensurepip=upgrade for host Python

This changes --with-ensurepip=install to upgrade, to upgrade host
versions of setuptools and pip to the Python-bundled versions.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lilik-openwrt-22.03
Jeffery To 5 years ago
parent
commit
af5288827e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lang/python/python/Makefile
  2. +1
    -1
      lang/python/python3/Makefile

+ 1
- 1
lang/python/python/Makefile View File

@ -295,7 +295,7 @@ HOST_CONFIGURE_ARGS+= \
--prefix=$(HOST_PYTHON_DIR) \
--exec-prefix=$(HOST_PYTHON_DIR) \
--with-system-expat=$(STAGING_DIR_HOSTPKG) \
--with-ensurepip=install \
--with-ensurepip=upgrade \
CONFIG_SITE=
define Host/Compile


+ 1
- 1
lang/python/python3/Makefile View File

@ -289,7 +289,7 @@ HOST_CONFIGURE_ARGS+= \
--prefix=$(HOST_PYTHON3_DIR) \
--exec-prefix=$(HOST_PYTHON3_DIR) \
--with-system-expat=$(STAGING_DIR_HOSTPKG) \
--with-ensurepip=install \
--with-ensurepip=upgrade \
CONFIG_SITE=
define Host/Compile


Loading…
Cancel
Save