pip 213 B

123456789101112
  1. #!/bin/bash
  2. set -o errexit -o pipefail
  3. gimme python
  4. if ! has pip; then
  5. if [[ "$OS" = "Darwin" ]]; then
  6. curl -fsSL "https://bootstrap.pypa.io/get-pip.py" | python - --user
  7. else
  8. sudo easy_install pip
  9. fi
  10. fi