From 72eb7f5c32d6e9d622874353df6aa725e0b5fcbb Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Thu, 26 Jun 2014 23:12:17 +0900 Subject: [PATCH] Add support for options to ez_setup.py/get-pip.py (#200) --- plugins/python-build/bin/python-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 20658b64..3fdff7cc 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1408,7 +1408,7 @@ build_package_ez_setup() { http get "${EZ_SETUP_URL}" fi } 1> "${ez_setup}" - "${PYTHON_BIN}" "${ez_setup}" 1>&4 2>&1 || { + "${PYTHON_BIN}" "${ez_setup}" ${EZ_SETUP_OPTS} 1>&4 2>&1 || { echo "error: failed to install setuptools via ez_setup.py" >&2 return 1 } @@ -1426,7 +1426,7 @@ build_package_get_pip() { http get "${GET_PIP_URL}" fi } 1> "${get_pip}" - "${PYTHON_BIN}" "${get_pip}" 1>&4 2>&1 || { + "${PYTHON_BIN}" "${get_pip}" ${GET_PIP_OPTS} 1>&4 2>&1 || { echo "error: failed to install pip via get-pip.py" >&2 return 1 }