aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/treeline.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/treeline.rb')
-rw-r--r--Library/Formula/treeline.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/treeline.rb b/Library/Formula/treeline.rb
index baacda55b..699457605 100644
--- a/Library/Formula/treeline.rb
+++ b/Library/Formula/treeline.rb
@@ -5,10 +5,12 @@ class Treeline < Formula
url 'http://sourceforge.net/projects/treeline/files/1.4.1/treeline-1.4.1.tar.gz'
sha1 'ac5ef60fbb02e2295868134b8e3068c2f905c170'
+ depends_on :python
depends_on 'pyqt'
def install
- ENV.prepend "PYTHONPATH", "#{HOMEBREW_PREFIX}/lib/python"
- system "./install.py", "-p#{prefix}"
+ python do
+ system "./install.py", "-p#{prefix}"
+ end
end
end