Browse Source

use get-pip.py script, tweak --list/--outdated for new pip

Kyle Davis 7 years ago
parent
commit
89b6c9ae02
2 changed files with 3 additions and 3 deletions
  1. 2 2
      gimme
  2. 1 1
      gimmes/pip

+ 2 - 2
gimme

@@ -155,7 +155,7 @@ else # normal usage
 				npm -g ls --depth 0 --parseable | sed -e'1d' -e's:^.*node_modules/::'
 				npm -g ls --depth 0 --parseable | sed -e'1d' -e's:^.*node_modules/::'
 				echo
 				echo
 				echo "# PIP:"
 				echo "# PIP:"
-				pip list
+				pip list --format=columns
 				exit 0
 				exit 0
 				;;
 				;;
 			--old|--outdated)
 			--old|--outdated)
@@ -169,7 +169,7 @@ else # normal usage
 				npm outdated $(npm -g ls --depth 0 --parseable | sed -e'1d' -e's:^.*node_modules/::')
 				npm outdated $(npm -g ls --depth 0 --parseable | sed -e'1d' -e's:^.*node_modules/::')
 				echo
 				echo
 				echo "# PIP:"
 				echo "# PIP:"
-				pip list --outdated
+				pip list --format=columns --outdated
 				exit 0
 				exit 0
 				;;
 				;;
 		esac
 		esac

+ 1 - 1
gimmes/pip

@@ -5,7 +5,7 @@ gimme python
 
 
 if ! has pip; then
 if ! has pip; then
 	if [[ "$OS" = "Darwin" ]]; then
 	if [[ "$OS" = "Darwin" ]]; then
-		easy_install --user "pip"
+		curl -fsSL "https://bootstrap.pypa.io/get-pip.py" | python - --user
 	else
 	else
 		sudo easy_install pip
 		sudo easy_install pip
 	fi
 	fi