aboutsummaryrefslogtreecommitdiffstats
path: root/share/doc/homebrew/Homebrew-and-Python.md
diff options
context:
space:
mode:
authorMike McQuaid2014-11-01 10:42:56 +0000
committerMike McQuaid2014-11-01 10:42:56 +0000
commitb3838675ecb7bb4f08c01ee8bdd4759c6fabcdec (patch)
treea9a2cd2c1256fa360ad0b54e29112d5e67c8d780 /share/doc/homebrew/Homebrew-and-Python.md
parent992f40e119ef0117dd0f2aef445984c4684cb78a (diff)
downloadbrew-b3838675ecb7bb4f08c01ee8bdd4759c6fabcdec.tar.bz2
Homebrew-and-Python: explain about Python bottles.
Diffstat (limited to 'share/doc/homebrew/Homebrew-and-Python.md')
-rw-r--r--share/doc/homebrew/Homebrew-and-Python.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/doc/homebrew/Homebrew-and-Python.md b/share/doc/homebrew/Homebrew-and-Python.md
index 28fbbe7ef..ded8cdb5c 100644
--- a/share/doc/homebrew/Homebrew-and-Python.md
+++ b/share/doc/homebrew/Homebrew-and-Python.md
@@ -118,6 +118,9 @@ Or if the import name is different to the module name:
depends_on "MacFSEvents" => [:python, "fsevents"]
+### Python bottles
+
+If the formula is installed from a bottle and `:python` is a required or `:recommended` dependency (not `:optional`) then it will use the Homebrew `python` formula as a dependency. This is because we cannot create a binary package that works against both versions of Python. If you wish to override this behaviour you can install using `--build-from-source` which will link against the system Python (if it's the first in your `PATH`).
### If the software provides a `setup.py`