python_dependency: always bottle with brew Python.

This commit is contained in:
Mike McQuaid 2014-03-13 08:57:58 +00:00
parent c789f907eb
commit 5b6d872459

View File

@ -5,6 +5,9 @@ class PythonDependency < Requirement
default_formula "python"
satisfy :build_env => false do
# Always build bottles against Homebrew Python as they still work
# against a 2.7 system Python.
next if ARGV.build_bottle?
python = which_python
next unless python
version = python_short_version