diff options
| author | Adam Vandenberg | 2011-09-01 10:39:02 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-09-01 10:39:02 -0700 |
| commit | 03a4e291cc40e1868cc8d29d0145cd26a0fc4076 (patch) | |
| tree | 238cbce78703e0884b8e220745fd6bc1acb07e92 /Library/Formula/python.rb | |
| parent | 8128b04cfef9aa9349fa9cd26126a91ad2224aa1 (diff) | |
| download | homebrew-03a4e291cc40e1868cc8d29d0145cd26a0fc4076.tar.bz2 | |
Python: edit and add comments
Diffstat (limited to 'Library/Formula/python.rb')
| -rw-r--r-- | Library/Formula/python.rb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index 8128e73bd..8f91d998d 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -79,8 +79,8 @@ class Python < Formula # Symlink the prefix site-packages into the cellar. ln_s prefix_site_packages, site_packages - # This is a fix for better interoperability with pyqt. - # See Issue #6176. + # This is a fix for better interoperability with pyqt. See: + # https://github.com/mxcl/homebrew/issues/6176 if not as_framework? (bin+"pythonw").make_link bin+"python" (bin+"pythonw2.7").make_link bin+"python2.7" @@ -133,10 +133,7 @@ class Python < Formula return s end -private - - # Path helpers - + # lib folder,taking into account whether we are a Framework build or not def effective_lib # If we're installed or installing as a Framework, then use that location. return prefix+"Frameworks/Python.framework/Versions/2.7/lib" if as_framework? @@ -154,8 +151,8 @@ private HOMEBREW_PREFIX+"lib/python2.7/site-packages" end + # Where distribute will install executable scripts def scripts_folder HOMEBREW_PREFIX+"share/python" end - end |
