def task_cli_pip_prereqs(package_manager):
 if (package_manager in ('dnf', 'yum')):
  return yum_install(PIP_CLI_PREREQ_YUM, package_manager=package_manager, sudo=True)
 elif (package_manager == 'apt'):
  return sequence([apt_get_update(sudo=True), apt_get_install(PIP_CLI_PREREQ_APT, sudo=True)])
 else:
  raise UnsupportedDistribution()

def task_cli_pip_prereqs ( package_manager ) : if ( package_manager in ( 'dnf' , 'yum' ) ) : return yum_install ( PIP_CLI_PREREQ_YUM , package_manager = package_manager , sudo = True ) elif ( package_manager == 'apt' ) : return sequence ( [ apt_get_update ( sudo = True ) , apt_get_install ( PIP_CLI_PREREQ_APT , sudo = True ) ] ) else : raise UnsupportedDistribution ( )
install the pre-requisites for pip installation of the flocker client .