check_GNU_style_lib.py: Suggest to install all missing pip3 packages at once
authorTom de Vries <tom@codesourcery.com>
Mon, 29 May 2017 07:30:47 +0000 (07:30 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 29 May 2017 07:30:47 +0000 (07:30 +0000)
commit76baf5ca9d58cfde6c015cc1162c39a9aec60771
tree7e2edfa01c1d873a8ca8ea1e274c69b9975aa149
parentbbe3927b62ae4318c5319da379642aafbf6d15be
check_GNU_style_lib.py: Suggest to install all missing pip3 packages at once

Instead of:
...
$ ./contrib/check_GNU_style.py
termcolor module is missing (run: pip3 install termcolor)
$ pip3 install termcolor
$ ./contrib/check_GNU_style.py
unidiff module is missing (run: pip3 install unidiff)
$ pip3 install unidiff
$
...

Do:
...
$ ./contrib/check_GNU_style.py
termcolor and unidiff modules are missing (run: pip3 install termcolor unidiff)
$ pip3 install termcolor unidiff
$
...

2017-05-29  Tom de Vries  <tom@codesourcery.com>

* check_GNU_style_lib.py: Use import_pip3 to import pip3 packages.
(import_pip3): New function.

From-SVN: r248554
contrib/ChangeLog
contrib/check_GNU_style_lib.py