From af5288827ee8994db66ec77bad840275ed81b949 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Tue, 28 May 2019 19:14:44 +0800 Subject: [PATCH] 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 --- lang/python/python/Makefile | 2 +- lang/python/python3/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/python/Makefile b/lang/python/python/Makefile index 979ccc771..20b8a1a7d 100644 --- a/lang/python/python/Makefile +++ b/lang/python/python/Makefile @@ -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 diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index d151459ed..5b3dcf355 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -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