summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwim glenn <hey@wimglenn.com>2023-09-11 19:44:13 (GMT)
committerGitHub <noreply@github.com>2023-09-11 19:44:13 (GMT)
commit1ee50e2a78f644d81d341a08562073ad169d8cc7 (patch)
treee9cd72e4f6d6a2d52b513125c10a554054e4e72d
parentbcce5e271815c0bdbe894964e853210d2c75949b (diff)
downloadcpython-1ee50e2a78f644d81d341a08562073ad169d8cc7.zip
cpython-1ee50e2a78f644d81d341a08562073ad169d8cc7.tar.gz
cpython-1ee50e2a78f644d81d341a08562073ad169d8cc7.tar.bz2
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
-rw-r--r--Doc/library/zipapp.rst7
1 files changed, 1 insertions, 6 deletions
diff --git a/Doc/library/zipapp.rst b/Doc/library/zipapp.rst
index 8cee85b..7c01fc1 100644
--- a/Doc/library/zipapp.rst
+++ b/Doc/library/zipapp.rst
@@ -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