Print external program detection info.

pull/15/head
Jussi Pakkanen 12 years ago
parent 16bf0b2386
commit 17e8bcdf04
  1. 4
      dependencies.py

@ -132,6 +132,10 @@ class ExternalProgram():
self.fullpath = fullpath
else:
self.fullpath = shutil.which(name)
if self.found():
print('Program %s found: YES (%s)' % (name, self.fullpath))
else:
print('Program %s found: NO' % name)
def found(self):
return self.fullpath is not None

Loading…
Cancel
Save