Test that tools' executables are installed in the PATH.

This commit is contained in:
Andrew Hamilton 2017-05-21 10:30:48 +01:00
parent 5b08029d0b
commit f2e8240427
5 changed files with 60 additions and 9 deletions

View file

@ -17,7 +17,7 @@ for dependency in tools.dependencies(dist_id):
cmd_for_dist = {"ubuntu": ["apt-get", "-y", "install"],
"debian": ["apt-get", "-y", "install"],
"fedora": ["dnf", "-y", "install"],
"arch": ["pacman", "-S", "--noconfirm"]}
"arch": ["pacman", "-S", "--noconfirm", "--needed"]}
if pip_deps:
dist_deps.add("python2-pip" if dist_id == "arch" else "python-pip")
if pip3_deps: