aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Homebrew-and-Python.md
diff options
context:
space:
mode:
authorMike McQuaid2017-03-19 20:05:22 +0200
committerGitHub2017-03-19 20:05:22 +0200
commit76955b47bd2ae3eba1b041430d7e1aeab246de0d (patch)
tree5c286752a78351593cba3b21f4283d6304d3f33d /docs/Homebrew-and-Python.md
parent09a926f449fd1470911b6ea3efb43fab3b839491 (diff)
parentab4d1a1574a24339c9f1ea2c8b31bc6a24b22800 (diff)
downloadbrew-76955b47bd2ae3eba1b041430d7e1aeab246de0d.tar.bz2
Merge pull request #2363 from EricFromCanada/master
docs: grammar edits, sentence-case secondary headings
Diffstat (limited to 'docs/Homebrew-and-Python.md')
-rw-r--r--docs/Homebrew-and-Python.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/Homebrew-and-Python.md b/docs/Homebrew-and-Python.md
index 2e9e643b5..d3b94d1a4 100644
--- a/docs/Homebrew-and-Python.md
+++ b/docs/Homebrew-and-Python.md
@@ -4,7 +4,7 @@ This page describes how Python is handled in Homebrew for users. See [Python for
Homebrew should work with any [CPython](https://stackoverflow.com/questions/2324208/is-there-any-difference-between-cpython-and-python) and defaults to the macOS system Python.
-Homebrew provides formulae to brew a more up-to-date Python 2.7.x (and 3.x).
+Homebrew provides formulae to brew a more up-to-date Python 2.7.x and 3.x.
**Important:** If you choose to install a Python which isn't either of these two (system Python or brewed Python), the Homebrew team can only provide limited support.
@@ -62,9 +62,9 @@ These should be installed via `pip install <x>`. To discover, you can use `pip s
## Brewed Python modules
-For brewed Python, modules installed with `pip` or `python setup.py install` will be installed to `$(brew --prefix)/lib/pythonX.Y/site-packages` directory (explained above). Executable python scripts will be in `$(brew --prefix)/bin`.
+For brewed Python, modules installed with `pip` or `python setup.py install` will be installed to the `$(brew --prefix)/lib/pythonX.Y/site-packages` directory (explained above). Executable python scripts will be in `$(brew --prefix)/bin`.
-The system Python may not know which compiler flags to set in order to build bindings for software installed in Homebrew so you may need to:
+The system Python may not know which compiler flags to set in order to build bindings for software installed in Homebrew so you may need to run:
`CFLAGS=-I$(brew --prefix)/include LDFLAGS=-L$(brew --prefix)/lib pip install <package>`.