Clean up "Package Installer for Python" section

This commit is contained in:
Gerard Vermeulen 2024-06-12 13:53:49 +02:00
parent dc3797b61a
commit ee333ffd36

View File

@ -5334,25 +5334,11 @@ ack(3, 3)
:header-args: :eval never-export :header-args: :eval never-export
:END: :END:
Listing [[lst:shell-pip-list-outdated]] and [[lst:shell-pip-index-versions]] are two Listing [[lst:shell-pip-index-versions]] are is an example of invoking [[https://pip.pypa.io/en/stable/][pip]] in an
examples of invoking [[https://pip.pypa.io/en/stable/][pip]] in =org-mode= =shell= source blocks with the respective =org-mode= =shell= source block with its results in listing
results in listing [[lst:shell-pip-list-outdated-results]] and [[lst:shell-pip-index-versions-results]]. Listing [[lst:pip-pypi-options]],
[[lst:shell-pip-index-versions-results]]. [[lst:pip-list-outdated]], [[lst:pip-upgrade-maybe]] allow to upgrade outdated Python
packages.
#+caption[Show how to use =pip list --outdated=]:
#+caption: Show how to use =pip list --outdated=.
#+header: :wrap "src text -n"
#+name: lst:shell-pip-list-outdated
#+begin_src shell -n :exports both :results verbatim
pip list --outdated
#+end_src
#+caption[The result of =pip list --outdated=]:
#+caption: The result of =pip list --outdated=.
#+name: lst:shell-pip-list-outdated-results
#+RESULTS: lst:shell-pip-list-outdated
#+begin_src text -n
#+end_src
#+caption[Show how to use =pip index versions=]: #+caption[Show how to use =pip index versions=]:
#+caption: Show how to use =pip index versions=. #+caption: Show how to use =pip index versions=.