From b3838675ecb7bb4f08c01ee8bdd4759c6fabcdec Mon Sep 17 00:00:00 2001
From: Mike McQuaid <mike@mikemcquaid.com>
Date: Sat, 1 Nov 2014 10:42:56 +0000
Subject: [PATCH] Homebrew-and-Python: explain about Python bottles.

---
 share/doc/homebrew/Homebrew-and-Python.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/share/doc/homebrew/Homebrew-and-Python.md b/share/doc/homebrew/Homebrew-and-Python.md
index 28fbbe7ef1..ded8cdb5cf 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`
 
-- 
GitLab