aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb13
1 files changed, 6 insertions, 7 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 2f70d810c..ea3da4a25 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -5,14 +5,13 @@ class Python <Formula
@homepage='http://www.python.org/'
@md5='245db9f1e0f09ab7e0faaa0cf7301011'
+ def deps
+ # You can build Python without readline, but you really don't want to.
+ LibraryDep.new 'readline'
+ end
+
def install
- # TODO:
- # Bring virtualenv along for the ride.
- # Rename the formula to python26?
- # -- one feature I plan for homebrew is one can do, eg.
- # brew install -v2.6
- # and also, versioning packages in the name sucks :) --mxcl
-
+ # Todo: Link against custom readline
system "./configure --prefix='#{prefix}'"
system "make"
system "make install"