|
|
@ -1363,7 +1363,7 @@ build_package_verify_py34() { |
|
|
|
build_package_verify_py33 "$1" "${2:-3.4}" |
|
|
|
} |
|
|
|
|
|
|
|
build_package_setuptools() { |
|
|
|
build_package_ez_setup() { |
|
|
|
{ if [ "${EZ_SETUP+defined}" ] && [ -f "${EZ_SETUP}" ]; then |
|
|
|
echo "Installing setuptools from ${EZ_SETUP}..." 1>&2 |
|
|
|
cat "${EZ_SETUP}" |
|
|
@ -1375,7 +1375,7 @@ build_package_setuptools() { |
|
|
|
} | "${PYTHON_BIN}" 1>&4 2>&1 |
|
|
|
} |
|
|
|
|
|
|
|
build_package_pip() { |
|
|
|
build_package_getpip() { |
|
|
|
{ if [ "${GET_PIP+defined}" ] && [ -f "${GET_PIP}" ]; then |
|
|
|
echo "Installing pip from ${GET_PIP}..." 1>&2 |
|
|
|
cat "${GET_PIP}" |
|
|
@ -1389,8 +1389,8 @@ build_package_pip() { |
|
|
|
|
|
|
|
build_package_ensurepip() { |
|
|
|
"$PYTHON_BIN" -m ensurepip 1>/dev/null 2>&1 || { |
|
|
|
build_package_setuptools "$@" |
|
|
|
build_package_pip "$@" |
|
|
|
build_package_ez_setup "$@" |
|
|
|
build_package_getpip "$@" |
|
|
|
} |
|
|
|
|
|
|
|
create_symlinks "$("$PYTHON_BIN" -c 'import sys;v=sys.version_info;sys.stdout.write("python%d.%d"%(v[0],v[1]))')" |
|
|
|