PyQT: Use correct PYTHONPATH during install

Closes Homebrew/homebrew#10825.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
Yann N. Dauphin 2012-03-09 16:52:03 -05:00 committed by Charlie Sharpsteen
parent b7ae23c92b
commit bb1b1da30a

View file

@ -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}",