From d93c0b9caf0b243c264f6771ffc714e2f37cd3bf Mon Sep 17 00:00:00 2001 From: Samuel John Date: Thu, 8 Aug 2013 11:55:45 +0200 Subject: Improve docs for Formula#python (python_helper) --- Library/Homebrew/formula.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 09191fed1..ed0565456 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -307,6 +307,10 @@ class Formula ] 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! + # def python(options={:allowed_major_versions => [2, 3]}, &block) require 'python_helper' python_helper(options, &block) -- cgit v1.2.3