diff options
| author | Max Howell | 2010-02-13 11:41:21 +0000 |
|---|---|---|
| committer | Max Howell | 2010-02-13 11:41:21 +0000 |
| commit | 67a983b16311b42af3eea7d9f670b951147ffeb1 (patch) | |
| tree | 1bbe3a68fd989523162a7a60dc64e0b2b203af82 /Library/Formula/pip.rb | |
| parent | 63ffbe90c83fb06b22be4efb86b0ed1289f3f253 (diff) | |
| download | homebrew-67a983b16311b42af3eea7d9f670b951147ffeb1.tar.bz2 | |
Closes #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).
Diffstat (limited to 'Library/Formula/pip.rb')
| -rw-r--r-- | Library/Formula/pip.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/pip.rb b/Library/Formula/pip.rb index 55657dd5d..37d6d5b86 100644 --- a/Library/Formula/pip.rb +++ b/Library/Formula/pip.rb @@ -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__ |
