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

Removed zipapp suggestion to rm .dist-info subdirectories. This totally breaks importlib.metadata
This commit is contained in:
wim glenn 2023-09-11 14:44:13 -05:00 committed by GitHub
parent bcce5e2718
commit 1ee50e2a78
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
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