소스 검색

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

Kyle Davis 7 년 전
부모
커밋
89b6c9ae02
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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/::'
 				echo
 				echo "# PIP:"
-				pip list
+				pip list --format=columns
 				exit 0
 				;;
 			--old|--outdated)
@@ -169,7 +169,7 @@ else # normal usage
 				npm outdated $(npm -g ls --depth 0 --parseable | sed -e'1d' -e's:^.*node_modules/::')
 				echo
 				echo "# PIP:"
-				pip list --outdated
+				pip list --format=columns --outdated
 				exit 0
 				;;
 		esac

+ 1 - 1
gimmes/pip

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