aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/pypy.rb2
-rw-r--r--Library/Formula/pypy3.rb4
-rw-r--r--Library/Formula/python.rb5
-rw-r--r--Library/Formula/python3.rb4
4 files changed, 7 insertions, 8 deletions
diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb
index f271c3d17..040547eb5 100644
--- a/Library/Formula/pypy.rb
+++ b/Library/Formula/pypy.rb
@@ -128,7 +128,7 @@ class Pypy < Formula
Setuptools and pip have been installed, so you can use easy_install_pypy and
pip_pypy.
To update setuptools and pip between pypy releases, run:
- #{scripts_folder}/pip install --upgrade setuptools
+ pip_pypy install --upgrade pip setuptools
See: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md
EOS
diff --git a/Library/Formula/pypy3.rb b/Library/Formula/pypy3.rb
index b087758c9..25b1e315e 100644
--- a/Library/Formula/pypy3.rb
+++ b/Library/Formula/pypy3.rb
@@ -113,8 +113,8 @@ class Pypy3 < Formula
Setuptools and pip have been installed, so you can use easy_install_pypy3 and
pip_pypy3.
- To update setuptools and pip between pypy3 releases, run:
- #{scripts_folder}/pip install --upgrade setuptools pip
+ To update pip and setuptools between pypy3 releases, run:
+ pip_pypy3 install --upgrade pip setuptools
See: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md
EOS
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 05427b080..8a0c45a29 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -281,9 +281,8 @@ class Python < Formula
end
def caveats; <<-EOS.undent
- Setuptools and pip have been installed. To update them
- pip install --upgrade setuptools
- pip install --upgrade pip
+ Pip and setuptools have been installed. To update them
+ pip install --upgrade pip setuptools
You can install Python packages with
pip install <package>
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 13a25995d..e899b6cb7 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -275,8 +275,8 @@ class Python3 < Formula
def caveats
text = <<-EOS.undent
- Pip has been installed. To update it
- pip3 install --upgrade pip
+ Pip and setuptools have been installed. To update them
+ pip3 install --upgrade pip setuptools
You can install Python packages with
pip3 install <package>