python,python3: Use ensurepip=upgrade for host Python 9093/head
authorJeffery To <jeffery.to@gmail.com>
Tue, 28 May 2019 11:14:44 +0000 (19:14 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 28 May 2019 12:27:13 +0000 (20:27 +0800)
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>
lang/python/python/Makefile
lang/python/python3/Makefile

index 979ccc7714871ebbf58fb8af9c4b2000265c37a0..20b8a1a7d87ffb224a848cbeff901041baa7f5f8 100644 (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
index d151459ed891259131038d2791a5e8d19180a395..5b3dcf355420ca4cc115d58882dc10f1c7d283aa 100644 (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