Improve docs for Formula#python (python_helper)
This commit is contained in:
parent
a73012def4
commit
5bb82e3071
@ -307,6 +307,10 @@ class Formula
|
|||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Install python bindings inside of a block given to this method and/or
|
||||||
|
# call python so: `system python, "setup.py", "install", "--prefix=#{prefix}"
|
||||||
|
# Note that there are no quotation marks around python!
|
||||||
|
# <https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python>
|
||||||
def python(options={:allowed_major_versions => [2, 3]}, &block)
|
def python(options={:allowed_major_versions => [2, 3]}, &block)
|
||||||
require 'python_helper'
|
require 'python_helper'
|
||||||
python_helper(options, &block)
|
python_helper(options, &block)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user