mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
[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:
parent
33ee98b217
commit
8e96b98282
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue