aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamueljohn2012-05-21 21:04:59 +0200
committerAdam Vandenberg2012-05-23 06:44:09 -0700
commit1f47cfdb645bcd400bb060178521a0590d836655 (patch)
tree9432a2588adc29745723cda8a4737713ff504e82
parent50ad7cac01af3f755e0e79bcad568f47a6a5eb51 (diff)
downloadhomebrew-1f47cfdb645bcd400bb060178521a0590d836655.tar.bz2
python: caveats tell the correct Framework links
The old ~/Frameworks is and never was a standard. It should be under Library. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/python.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 3f453e134..ba0fe64b6 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -112,10 +112,12 @@ class Python < Formula
Framework Python was installed to:
#{prefix}/Frameworks/Python.framework
- You may want to symlink this Framework to a standard OS X location,
- such as:
- mkdir ~/Frameworks
- ln -s "#{prefix}/Frameworks/Python.framework" ~/Frameworks
+ You may want to symlink this Framework to a standard OS X location:
+ mkdir -p ~/Library/Frameworks/Python.framework/Versions
+ ln -s "#{prefix}/Frameworks/Python.framework/Versions/2.7" ~/Library/Frameworks/Python.framework/Versions/2.7
+ ln -s ~/Library/Frameworks/Python.framework/Versions/2.7 ~/Library/Frameworks/Python.framework/Versions/Current
+ ln -s ~/Library/Frameworks/Python.framework/Versions/2.7/Python ~/Library/Frameworks/Python.framework/Python
+ ln -s ~/Library/Frameworks/Python.framework/Versions/2.7/Resources ~/Library/Frameworks/Python.framework/Resources
EOS
general_caveats = <<-EOS.undent