python_dependency: only pour with system python.
This is as Python bindings are not build in a way that can have system or Homebrew Python used interchangeably.
This commit is contained in:
parent
363f2c116c
commit
1207ba4f8c
@ -13,6 +13,10 @@ class PythonDependency < Requirement
|
|||||||
version == Version.new("2.7")
|
version == Version.new("2.7")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def pour_bottle?
|
||||||
|
system_python?
|
||||||
|
end
|
||||||
|
|
||||||
def modify_build_environment
|
def modify_build_environment
|
||||||
if system_python?
|
if system_python?
|
||||||
if python_binary == "python"
|
if python_binary == "python"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user