code: def install_upgrade_powerline():
      '''
      More infos:
        https://powerline.readthedocs.io/en/latest/installation.html#pip-installation
      '''
      checkup_git_repo_legacy('https://github.com/powerline/powerline.git')
      path_to_powerline = os.path.expanduser('~/repos/powerline')
      run(flo('pip install --user --editable={path_to_powerline}'))
      run('pip show powerline-status')  # only for information
      install_special_glyphs()
      bindings_dir = '~/repos/powerline/powerline/bindings'
      scripts_dir = '~/repos/powerline/scripts'
      return bindings_dir, scripts_dif install_upgrade_powerline():
      '''
      More infos:
        https://powerline.readthedocs.io/en/latest/installation.html#pip-installation
      '''
      checkup_git_repo_legacy('https://github.com/powerline/powerline.git')
      path_to_powerline = os.path.expanduser('~/repos/powerline')
      run(flo('pip install --user --editable={path_to_powerline}'))
      run('pip show powerline-status')  # only for information
      install_special_glyphs()
      bindings_dir = '~/repos/powerline/powerline/bindings'
      scripts_dir = '~/repos/powerline/scripts'
      return bindings_dir, scripts_dir
docs: More infos:
        https://powerline.readthedocs.io/en/latest/installation.html#pip-installation