Add support for options to ez_setup.py/get-pip.py (#200)

This commit is contained in:
Yamashita Yuu 2014-06-26 23:12:17 +09:00
parent 59c796c138
commit 72eb7f5c32

View file

@ -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
}