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
|
def tool
|
||||||
case type
|
case type
|
||||||
when :python then 'pip'
|
when :python then 'easy_install'
|
||||||
when :ruby, :jruby then 'rubygems'
|
when :ruby, :jruby then 'rubygems'
|
||||||
when :perl then 'cpan'
|
when :perl then 'cpan'
|
||||||
end
|
end
|
||||||
@ -84,7 +84,7 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
|
|||||||
def command_line
|
def command_line
|
||||||
case type
|
case type
|
||||||
when :python
|
when :python
|
||||||
"#{brew_pip}pip install"
|
"easy_install install"
|
||||||
when :ruby
|
when :ruby
|
||||||
"gem install"
|
"gem install"
|
||||||
when :perl
|
when :perl
|
||||||
@ -93,10 +93,6 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
|
|||||||
"jruby -S gem install"
|
"jruby -S gem install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def brew_pip
|
|
||||||
'brew install pip && ' unless Formula.factory('pip').installed?
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class BuildError < Homebrew::InstallationError
|
class BuildError < Homebrew::InstallationError
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user