aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Homebrew-and-Python.md
diff options
context:
space:
mode:
authorMike McQuaid2018-02-23 19:39:19 +0000
committerMike McQuaid2018-02-23 19:52:00 +0000
commit190e665bb1db54d452ed9e0bf93c6985bd8dab5f (patch)
treed7a1a1c8c4ce9189d786f6f44b814afa28cf4a04 /docs/Homebrew-and-Python.md
parentd05b8522d5f51db5ca2f75fe322848df9b8ff88b (diff)
downloadbrew-190e665bb1db54d452ed9e0bf93c6985bd8dab5f.tar.bz2
Revert "docs: use short links."
This reverts commit e63a2ee8de12f0f938f6a95cdb9763dbe0187b4a. Closes #3832.
Diffstat (limited to 'docs/Homebrew-and-Python.md')
-rw-r--r--docs/Homebrew-and-Python.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Homebrew-and-Python.md b/docs/Homebrew-and-Python.md
index 72bc7d7f7..eb96e5758 100644
--- a/docs/Homebrew-and-Python.md
+++ b/docs/Homebrew-and-Python.md
@@ -1,6 +1,6 @@
# Python
-This page describes how Python is handled in Homebrew for users. See [Python for Formula Authors](Python-for-Formula-Authors) for advice on writing formulae to install packages written in Python.
+This page describes how Python is handled in Homebrew for users. See [Python for Formula Authors](Python-for-Formula-Authors.md) for advice on writing formulae to install packages written in Python.
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.
@@ -66,7 +66,7 @@ Some formulae provide Python bindings. Sometimes a `--with-python` or `--with-py
Homebrew builds bindings against the first `python` (and `python-config`) in your `PATH`. (Check with `which python`).
-**Warning!** Python may crash (see [Common Issues](Common-Issues)) if you `import <module>` from a brewed Python if you ran `brew install <formula_with_python_bindings>` against the system Python. If you decide to switch to the brewed Python, then reinstall all formulae with Python bindings (e.g. `pyside`, `wxwidgets`, `pygtk`, `pygobject`, `opencv`, `vtk` and `boost-python`).
+**Warning!** Python may crash (see [Common Issues](Common-Issues.md)) if you `import <module>` from a brewed Python if you ran `brew install <formula_with_python_bindings>` against the system Python. If you decide to switch to the brewed Python, then reinstall all formulae with Python bindings (e.g. `pyside`, `wxwidgets`, `pygtk`, `pygobject`, `opencv`, `vtk` and `boost-python`).
## Policy for non-brewed Python bindings
These should be installed via `pip install <package>`. To discover, you can use `pip search` or <https://pypi.python.org/pypi>. (**Note:** System Python does not provide `pip`. Follow the [pip documentation](https://pip.readthedocs.io/en/stable/installing/#install-pip) to install it for your system Python if you would like it.)