Warn user about PYTHON_PATH. Closes Homebrew/homebrew#316

master
Max Howell 2010-01-19 14:41:25 +00:00
parent ffbb151de2
commit d8eff22880
1 changed files with 9 additions and 0 deletions

View File

@ -10,4 +10,13 @@ class Bazaar <Formula
system "python", "setup.py", "build"
system "python", "setup.py", "install", "--prefix=#{prefix}"
end
def caveats; <<-EOS
Really Bazaar should be installed by easy_install or pip, but currently this
doesn't work properly. As a result you need to set PYTHONPATH:
export PYTHONPATH=#{HOMEBREW_PREFIX}/lib/python2.6/site-packages
EOS
end
end