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
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) {
}
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) {
}
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) {