def check_dependencies():
 if (not HAS_VIRTUALENV):
  raise Exception(('Virtualenv not found. ' + 'Try installing python-virtualenv'))
 print 'done.'

def check_dependencies ( ) : if ( not HAS_VIRTUALENV ) : raise Exception ( ( 'Virtualenv not found. ' + 'Try installing python-virtualenv' ) ) print 'done.'
ensure docker-py >= 0 .