8000 [3.12] gh-107322: zipapp: Remove the suggestion to remove .dist-info … · python/cpython@8e96b98 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e96b98

Browse files
[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 pick 8000 ed from commit 1ee50e2) Co-authored-by: wim glenn <hey@wimglenn.com>
1 parent 33ee98b commit 8e96b98

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Doc/library/zipapp.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,7 @@ The steps to create a standalone archive are as follows:
281281
file - if not, you can just list the dependencies manually on the pip command
282282
line).
283283

284-
3. Optionally, delete the ``.dist-info`` directories created by pip in the
285-
``myapp`` directory. These hold metadata for pip to manage the packages, and
286-
as you won't be making any further use of pip they aren't required -
287-
although it won't do any harm if you leave them.
288-
289-
4. Package the application using:
284+
3. Package the application using:
290285

291286
.. code-block:: shell-session
292287

0 commit comments

Comments
 (0)
0