#!/usr/bin/python# work out what python external libraries we need to install
external_libs = {"dns.resolver":"dnspython","subunit":"subunit","testtools":"testtools"}list= []for module, package in external_libs.iteritems():try:__import__(module)exceptImportError:list.append(package)print' '.join(list)