diff --git a/lang/python/python/Makefile b/lang/python/python/Makefile index 639752090..d27882883 100644 --- a/lang/python/python/Makefile +++ b/lang/python/python/Makefile @@ -170,7 +170,7 @@ define Build/Compile/python-setuptools $(STAGING_DIR_HOSTPKG)/bin/pip install \ --ignore-installed \ --root=$(PKG_BUILD_DIR)/install-setuptools --prefix=. \ - $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/setuptools-*.whl + $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/setuptools-$(PYTHON_SETUPTOOLS_VERSION)-py2.py3-none-any.whl endef endif # CONFIG_PACKAGE_python-setuptools @@ -179,7 +179,7 @@ define Build/Compile/python-pip $(STAGING_DIR_HOSTPKG)/bin/pip install \ --ignore-installed \ --root=$(PKG_BUILD_DIR)/install-pip --prefix=. \ - $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-*.whl + $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-$(PYTHON_PIP_VERSION)-py2.py3-none-any.whl endef endif # CONFIG_PACKAGE_python-pip diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index d6fec695c..e4116e27d 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -174,7 +174,7 @@ define Build/Compile/python3-setuptools $(STAGING_DIR_HOSTPKG)/bin/pip3 install \ --ignore-installed \ --root=$(PKG_BUILD_DIR)/install-setuptools --prefix=. \ - $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/setuptools-*.whl + $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/setuptools-$(PYTHON3_SETUPTOOLS_VERSION)-py2.py3-none-any.whl endef endif # CONFIG_PACKAGE_python3-setuptools @@ -183,7 +183,7 @@ define Build/Compile/python3-pip $(STAGING_DIR_HOSTPKG)/bin/pip3 install \ --ignore-installed \ --root=$(PKG_BUILD_DIR)/install-pip --prefix=. \ - $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-*.whl + $(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-$(PYTHON3_PIP_VERSION)-py2.py3-none-any.whl endef endif # CONFIG_PACKAGE_python3-pip