From ef8f6e7aa8dccb9e58185f368dc368433c26832c Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sun, 11 Oct 2015 16:49:38 -0400 Subject: [PATCH] Don't mention easy_install That which shall not be named! Remove outdated references to easy_install and point users at the pip installation docs. Closes Homebrew/homebrew#44834. Signed-off-by: Tim D. Smith --- Library/Homebrew/blacklist.rb | 6 ++++-- share/doc/homebrew/Homebrew-and-Python.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/blacklist.rb b/Library/Homebrew/blacklist.rb index 3d88535fb4..5a701c2769 100644 --- a/Library/Homebrew/blacklist.rb +++ b/Library/Homebrew/blacklist.rb @@ -11,8 +11,10 @@ def blacklisted?(name) EOS when "pip" then <<-EOS.undent Homebrew provides pip via: `brew install python`. However you will then - have two Pythons installed on your Mac, so alternatively you can: - sudo easy_install pip + have two Pythons installed on your Mac, so alternatively you can install + pip via the instructions at: + + https://pip.readthedocs.org/en/stable/installing/#install-pip EOS when "pil" then <<-EOS.undent Instead of PIL, consider `pip install pillow` or `brew install Homebrew/python/pillow`. diff --git a/share/doc/homebrew/Homebrew-and-Python.md b/share/doc/homebrew/Homebrew-and-Python.md index 728d9655e3..7bb05343c8 100644 --- a/share/doc/homebrew/Homebrew-and-Python.md +++ b/share/doc/homebrew/Homebrew-and-Python.md @@ -71,7 +71,7 @@ Homebrew builds bindings against the first `python` (and `python-config`) in you ## Policy for non-brewed Python bindings -These should be installed via `pip install `. To discover, you can use `pip search` or . (**Note:** System Python does not provide `pip`. Simply `easy_install pip` to fix that.) +These should be installed via `pip install `. To discover, you can use `pip search` or . (**Note:** System Python does not provide `pip`. Follow the instructions at https://pip.readthedocs.org/en/stable/installing/#install-pip to install it for your system Python if you would like it.) ## Brewed Python modules