]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-107322: zipapp: Remove the suggestion to remove .dist-info directories (#107296)
authorwim glenn <hey@wimglenn.com>
Mon, 11 Sep 2023 19:44:13 +0000 (14:44 -0500)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2023 19:44:13 +0000 (15:44 -0400)
Removed zipapp suggestion to rm .dist-info subdirectories. This totally breaks importlib.metadata

Doc/library/zipapp.rst

index 8cee85b32d2a8370739e339940ed7ccca61e82c2..7c01fc102fca0760af107c11ee0b4a2fbad81ef8 100644 (file)
@@ -281,12 +281,7 @@ The steps to create a standalone archive are as follows:
    file - if not, you can just list the dependencies manually on the pip command
    line).
 
-3. Optionally, delete the ``.dist-info`` directories created by pip in the
-   ``myapp`` directory. These hold metadata for pip to manage the packages, and
-   as you won't be making any further use of pip they aren't required -
-   although it won't do any harm if you leave them.
-
-4. Package the application using:
+3. Package the application using:
 
    .. code-block:: shell-session