Closes Homebrew/homebrew#711
Warn user that pip breaks if the .pydistutils.cfg file exists (or at least if it has certain keys in it, but exists is easier to explain).
This commit is contained in:
parent
7ea6a8b9f0
commit
28847c12d5
1 changed files with 7 additions and 1 deletions
|
@ -19,10 +19,16 @@ class Pip <Formula
|
|||
(bin+'pip').write script
|
||||
end
|
||||
|
||||
def caveats
|
||||
def two_line_instructions
|
||||
"pip installs packages. Python packages.\n"+
|
||||
"Run 'pip help' to see a list of commands."
|
||||
end
|
||||
|
||||
# http://github.com/mxcl/homebrew/issues/issue/711
|
||||
def caveats
|
||||
cfg = '~/.pydistutils.cfg'
|
||||
"pip will break unless you delete your #{cfg} file!" if File.exist?(File.expand_path(cfg))
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
|
|
Loading…
Reference in a new issue