def do_install(app_loc_list, relative_paths=False):
 reg = registry.AppRegistry()
 for app_loc in app_loc_list:
  if (not _do_install_one(reg, app_loc, relative_paths)):
   return False
 reg.save()
 return (do_sync(reg) and do_collectstatic())

def do_install ( app_loc_list , relative_paths = False ) : reg = registry . AppRegistry ( ) for app_loc in app_loc_list : if ( not _do_install_one ( reg , app_loc , relative_paths ) ) : return False reg . save ( ) return ( do_sync ( reg ) and do_collectstatic ( ) )
install the apps .