diff options
| author | Mike McQuaid | 2014-03-28 14:53:12 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-04-03 19:47:15 +0100 |
| commit | 1207ba4f8ccc2c140c002bdc4ed898c0d60b5f14 (patch) | |
| tree | ec348b2de5f40785b3ff3e920059cd73e06d93f5 /Library | |
| parent | 363f2c116cf6256148624c841e62b59c508565f4 (diff) | |
| download | brew-1207ba4f8ccc2c140c002bdc4ed898c0d60b5f14.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/requirements/python_dependency.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb index 246fbec2e..b16018ca9 100644 --- a/Library/Homebrew/requirements/python_dependency.rb +++ b/Library/Homebrew/requirements/python_dependency.rb @@ -13,6 +13,10 @@ class PythonDependency < Requirement version == Version.new("2.7") end + def pour_bottle? + system_python? + end + def modify_build_environment if system_python? if python_binary == "python" |
