]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Prefer pip to easy_install
authorEitan Adler <lists@eitanadler.com>
Fri, 29 Apr 2016 15:45:11 +0000 (15:45 +0000)
committereadler <autocommitter@example.com>
Fri, 29 Apr 2016 15:45:11 +0000 (15:45 +0000)
Summary:
Prefer pip to easy_install
also fixes incorrect install instructions for closure linters

Fixes T10892
Ref T10038

Test Plan: inspection

Reviewers: avivey, #blessed_reviewers, epriestley, tjstum

Reviewed By: avivey, #blessed_reviewers, epriestley, tjstum

Subscribers: avivey, Korvin

Maniphest Tasks: T10038, T10892

Differential Revision: https://secure.phabricator.com/D15818

src/lint/linter/ArcanistClosureLinter.php
src/lint/linter/ArcanistFlake8Linter.php
src/lint/linter/ArcanistPEP8Linter.php

index 75eb151119d4ffa8e1f89fc5889e161f0f909f18..6a6bbc1d27222a115a3632b29102d708cde5ffe5 100644 (file)
@@ -33,8 +33,7 @@ final class ArcanistClosureLinter extends ArcanistExternalLinter {
     return pht(
       'Install %s using `%s`.',
       'gjslint',
-      'sudo easy_install http://closure-linter.googlecode.com/'.
-      'files/closure_linter-latest.tar.gz');
+      'pip install closure-linter');
   }
 
   protected function parseLinterOutput($path, $err, $stdout, $stderr) {
index 6f93ef8c0d8d5528dd62a3d7b3459d0a27684be8..19d57432eec46cb27c622797fcc6b59dd44191b3 100644 (file)
@@ -45,7 +45,7 @@ final class ArcanistFlake8Linter extends ArcanistExternalLinter {
   }
 
   public function getInstallInstructions() {
-    return pht('Install flake8 using `%s`.', 'easy_install flake8');
+    return pht('Install flake8 using `%s`.', 'pip install flake8');
   }
 
   protected function parseLinterOutput($path, $err, $stdout, $stderr) {
index 682ac6a87b41c49ece0c714713e60ad8475907db..6e47e395bbd8fbf30fcecc42f2f601b72b5060ab 100644 (file)
@@ -43,7 +43,7 @@ final class ArcanistPEP8Linter extends ArcanistExternalLinter {
   }
 
   public function getInstallInstructions() {
-    return pht('Install PEP8 using `%s`.', 'easy_install pep8');
+    return pht('Install PEP8 using `%s`.', 'pip install pep8');
   }
 
   protected function parseLinterOutput($path, $err, $stdout, $stderr) {