[3.12] gh-107322: zipapp: Remove the suggestion to remove .dist-info directories (GH-107296) (#109281)

gh-107322: zipapp: Remove the suggestion to remove .dist-info directories (GH-107296)

Removed zipapp suggestion to rm .dist-info subdirectories. This totally breaks importlib.metadata
(cherry picked from commit 1ee50e2a78)

Co-authored-by: wim glenn <hey@wimglenn.com>
This commit is contained in:
Miss Islington (bot) 2023-09-12 07:19:05 -07:00 committed by GitHub
parent 33ee98b217
commit 8e96b98282
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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 file - if not, you can just list the dependencies manually on the pip command
line). line).
3. Optionally, delete the ``.dist-info`` directories created by pip in the 3. Package the application using:
``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:
.. code-block:: shell-session .. code-block:: shell-session