ifdef CONFIG_PACKAGE_python-setuptools
define Build/Compile/python-setuptools
- $(STAGING_DIR_HOSTPKG)/bin/pip install \
+ $(HOST_PYTHON_PIP) \
+ --disable-pip-version-check \
+ --cache-dir "$(DL_DIR)/pip-cache" \
+ install \
--ignore-installed \
--root=$(PKG_BUILD_DIR)/install-setuptools --prefix=. \
$(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/setuptools-$(PYTHON_SETUPTOOLS_VERSION)-py2.py3-none-any.whl
ifdef CONFIG_PACKAGE_python-pip
define Build/Compile/python-pip
- $(STAGING_DIR_HOSTPKG)/bin/pip install \
+ $(HOST_PYTHON_PIP) \
+ --disable-pip-version-check \
+ --cache-dir "$(DL_DIR)/pip-cache" \
+ install \
--ignore-installed \
--root=$(PKG_BUILD_DIR)/install-pip --prefix=. \
$(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-$(PYTHON_PIP_VERSION)-py2.py3-none-any.whl
ifdef CONFIG_PACKAGE_python3-setuptools
define Build/Compile/python3-setuptools
- $(STAGING_DIR_HOSTPKG)/bin/pip3 install \
+ $(HOST_PYTHON3_PIP) \
+ --disable-pip-version-check \
+ --cache-dir "$(DL_DIR)/pip-cache" \
+ install \
--ignore-installed \
--root=$(PKG_BUILD_DIR)/install-setuptools --prefix=. \
$(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/setuptools-$(PYTHON3_SETUPTOOLS_VERSION)-py2.py3-none-any.whl
ifdef CONFIG_PACKAGE_python3-pip
define Build/Compile/python3-pip
- $(STAGING_DIR_HOSTPKG)/bin/pip3 install \
+ $(HOST_PYTHON3_PIP) \
+ --disable-pip-version-check \
+ --cache-dir "$(DL_DIR)/pip-cache" \
+ install \
--ignore-installed \
--root=$(PKG_BUILD_DIR)/install-pip --prefix=. \
$(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-$(PYTHON3_PIP_VERSION)-py2.py3-none-any.whl