aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/python.rb22
-rw-r--r--Library/Formula/python3.rb2
2 files changed, 10 insertions, 14 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index cea220c83..142423389 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -273,22 +273,18 @@ class Python < Formula
EOF
end
- def caveats
- <<-EOS.undent
- Python demo
- #{HOMEBREW_PREFIX}/share/python/Extras
+ def caveats; <<-EOS.undent
+ Setuptools and Pip have been installed. To update them
+ pip install --upgrade setuptools
+ pip install --upgrade pip
- Setuptools and Pip have been installed. To update them
- pip install --upgrade setuptools
- pip install --upgrade pip
+ You can install Python packages with
+ pip install <package>
- You can install Python packages with (the outdated easy_install or)
- `pip install <your_favorite_package>`
+ They will install into the site-package directory
+ #{site_packages}
- They will install into the site-package directory
- #{site_packages}
-
- See: https://github.com/Homebrew/homebrew/wiki/Homebrew-and-Python
+ See: https://github.com/Homebrew/homebrew/wiki/Homebrew-and-Python
EOS
end
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 38b5c3f91..cf8c7a66d 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -260,7 +260,7 @@ class Python3 < Formula
pip3 install --upgrade pip
You can install Python packages with
- `pip3 install <your_favorite_package>`
+ pip3 install <package>
They will install into the site-package directory
#{site_packages}