diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-09-12 14:19:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 14:19:05 (GMT) |
commit | 8e96b98282d8da7702a963aa751d9ecc29826dda (patch) | |
tree | e35bea3f7753b541c89174398ba651e3efebafab /Doc | |
parent | 33ee98b217d06aed6f999b1be31be21e01655db8 (diff) | |
download | cpython-8e96b98282d8da7702a963aa751d9ecc29826dda.zip cpython-8e96b98282d8da7702a963aa751d9ecc29826dda.tar.gz cpython-8e96b98282d8da7702a963aa751d9ecc29826dda.tar.bz2 |
[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 1ee50e2a78f644d81d341a08562073ad169d8cc7)
Co-authored-by: wim glenn <hey@wimglenn.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/zipapp.rst | 7 |
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 |