aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index d903722a7..08e39ccee 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -144,6 +144,13 @@ class Python3 < Formula
end
end
+ # A temporary fix, until a homebrew
+ # [issue on handling Frameworks](https://github.com/mxcl/homebrew/issues/15943)
+ # is resolved. `brew install python python3` failed to link because both
+ # provide `Python.Framework`. Homebrew will need to be smarter about this,
+ # since Frameworks are built to support multiple versions.
+ ["Headers", "Python", "Resources"].each{ |f| rm(prefix/"Frameworks/Python.Framework/#{f}") }
+
end
def distutils_fix_superenv(args)