Lines Matching +full:python +full:- +full:pip
3 # Install/upgrade pip.
8 FWK="/Library/Frameworks/Python.framework/Versions/${PYVER}"
13 "${FWK}/bin/python${PYVER}" -E -s -m ensurepip --upgrade
15 # bpo-33290: An earlier "pip3 install --upgrade pip" may have installed
16 # a "pip" in the fw bin directory. For a py3 install, remove it.
18 rm -f "${FWK}/bin/pip"
20 "${FWK}/bin/python${PYVER}" -E -s -Wi \
21 "${FWK}/lib/python${PYVER}/compileall.py" -q -j0 \
22 -f -x badsyntax \
23 "${FWK}/lib/python${PYVER}/site-packages"
25 "${FWK}/bin/python${PYVER}" -E -s -Wi -O \
26 "${FWK}/lib/python${PYVER}/compileall.py" -q -j0 \
27 -f -x badsyntax \
28 "${FWK}/lib/python${PYVER}/site-packages"
30 chgrp -R admin "${FWK}/lib/python${PYVER}/site-packages" "${FWK}/bin"
31 chmod -R g+w "${FWK}/lib/python${PYVER}/site-packages" "${FWK}/bin"
33 # We do not know if the user selected the Python command-line tools
35 # that the command-line tools package has already completed or was
37 # pip et al if there are /usr/local/bin/python* symlinks to our
40 if [ -d /usr/local/bin ] ; then
43 if [ "$(readlink -n ./$1)" = "${RELFWKBIN}/$1" ] ; then
47 if [ -e "${RELFWKBIN}/${fn}" ] ; then
48 rm -f ./${fn}
49 ln -s "${RELFWKBIN}/${fn}" "./${fn}"
50 chgrp -h admin "./${fn}"
51 chmod -h g+w "./${fn}"
59 # Create pipx.y and easy_install-x.y links if /usr/local/bin/pythonx.y
61 install_links_if_our_fw "python${PYVER}" \
62 "pip${PYVER}" "easy_install-${PYVER}"
65 install_links_if_our_fw "python${PYMAJOR}" \
66 "pip${PYMAJOR}"
68 # Create pip and easy_install link if /usr/local/bin/python
70 install_links_if_our_fw "python" \
71 "pip" "easy_install"