aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pyqt.rb
diff options
context:
space:
mode:
authorYann N. Dauphin2012-03-09 16:52:03 -0500
committerCharlie Sharpsteen2012-03-09 14:03:22 -0800
commita663e9c5f55adea167e9cacec4000c62035aec60 (patch)
tree04632e07beb3be9382f5b33955dc500003944551 /Library/Formula/pyqt.rb
parent0f467bbcc9712e44a8168ca0d205144f6f206e2e (diff)
downloadhomebrew-a663e9c5f55adea167e9cacec4000c62035aec60.tar.bz2
PyQT: Use correct PYTHONPATH during install
Closes #10825. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/pyqt.rb')
-rw-r--r--Library/Formula/pyqt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pyqt.rb b/Library/Formula/pyqt.rb
index 91f4f0977..0ed3a0ef2 100644
--- a/Library/Formula/pyqt.rb
+++ b/Library/Formula/pyqt.rb
@@ -12,7 +12,7 @@ class Pyqt < Formula
depends_on 'qt'
def install
- ENV.prepend 'PYTHONPATH', "#{HOMEBREW_PREFIX}/lib/python", ':'
+ ENV.prepend 'PYTHONPATH', "#{HOMEBREW_PREFIX}/lib/#{which_python}/site-packages", ':'
system "python", "./configure.py", "--confirm-license",
"--bindir=#{bin}",