Skip to content
Snippets Groups Projects
Commit 8dcadc54 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

python_dependency: no brewed python for bottles

parent ab4f9e57
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,6 @@ 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 build_bottle?
python = which_python
next unless python
version = python_short_version
......@@ -27,10 +24,6 @@ class PythonDependency < Requirement
end
end
def build_bottle?
ARGV.build_bottle?
end
def python_short_version
@short_version ||= Language::Python.major_minor_version which_python
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment