Remove reference to 'brew install pip'
This commit is contained in:
parent
175228b416
commit
cfdca92630
@ -75,7 +75,7 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
|
||||
|
||||
def tool
|
||||
case type
|
||||
when :python then 'pip'
|
||||
when :python then 'easy_install'
|
||||
when :ruby, :jruby then 'rubygems'
|
||||
when :perl then 'cpan'
|
||||
end
|
||||
@ -84,7 +84,7 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
|
||||
def command_line
|
||||
case type
|
||||
when :python
|
||||
"#{brew_pip}pip install"
|
||||
"easy_install install"
|
||||
when :ruby
|
||||
"gem install"
|
||||
when :perl
|
||||
@ -93,10 +93,6 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
|
||||
"jruby -S gem install"
|
||||
end
|
||||
end
|
||||
|
||||
def brew_pip
|
||||
'brew install pip && ' unless Formula.factory('pip').installed?
|
||||
end
|
||||
end
|
||||
|
||||
class BuildError < Homebrew::InstallationError
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user