aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorsamueljohn2012-10-02 15:00:09 +0200
committerAdam Vandenberg2012-10-02 08:29:21 -0700
commit57cee7a477dc49d6edf83cd610492732a3976816 (patch)
treee316f0a47c9a7f12b5235f1f2e19a4fbac821fd3 /Library
parentf4a0f44a7d7930f3f9ae43dbe5dba539fc1e73ea (diff)
downloadhomebrew-57cee7a477dc49d6edf83cd610492732a3976816.tar.bz2
Replace mentions of easy_install by pip
Use this chance to correct minor typos. Closes #15242. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/python.rb4
-rw-r--r--Library/Homebrew/blacklist.rb4
-rw-r--r--Library/Homebrew/dependencies.rb2
3 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 5da970295..b4ef9033f 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -149,7 +149,7 @@ class Python < Formula
# Fix 3)
# For all Pythons: Tell about homebrew's site-packages location.
- # This is needed for for Python to parse *.pth files.
+ # This is needed for Python to parse *.pth files.
site.addsitedir('#{site_packages}')
EOF
@@ -247,7 +247,7 @@ class Python < Formula
To symlink "Idle" and the "Python Launcher" to ~/Applications
`brew linkapps`
- You can install Python packages with (the outdated easy_install) or
+ You can install Python packages with (the outdated easy_install or)
`pip install <your_favorite_package>`
They will install into the site-package directory
diff --git a/Library/Homebrew/blacklist.rb b/Library/Homebrew/blacklist.rb
index babca2b81..10e9196f6 100644
--- a/Library/Homebrew/blacklist.rb
+++ b/Library/Homebrew/blacklist.rb
@@ -29,9 +29,7 @@ def blacklisted? name
We recommend using a MacTeX distribution: http://www.tug.org/mactex/
EOS
when 'pip' then <<-EOS.undent
- Install pip with easy_install:
-
- easy_install pip
+ pip is installed by `brew install python`
EOS
when 'macruby' then <<-EOS.undent
MacRuby works better when you install their package:
diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb
index 5fe6a9553..5d5b5ab0d 100644
--- a/Library/Homebrew/dependencies.rb
+++ b/Library/Homebrew/dependencies.rb
@@ -185,7 +185,7 @@ class LanguageModuleDependency < Requirement
when :lua then "luarocks install"
when :node then "npm install"
when :perl then "cpan -i"
- when :python then "easy_install"
+ when :python then "pip install"
when :rbx then "rbx gem install"
when :ruby then "gem install"
end