Various documentation updates [skip ci] #8214
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update the introduction in
Understanding PyInstaller Hooks
. Replace the minimal hook example - instead of outdated hook fordnspython
(hook-dns.rdata.py
, which is now part of contributed hooks repository anyway), use hook for stdlibxml.dom.domreg
module, which is shipped by core PyInstaller, and is also easier to comment on. Closes #8118.Update the section on macOS app bundles under
Using PyInstaller
to reflect the current layout of generated app bundles - i.e., the MacOS directory containing only the executable, binaries being placed in the Frameworks directory, cross-linking of content between Frameworks and Resources, etc. Add a note to discourage users from generating onefile .app bundles. Closes #8119.Lastly, add a new chapter called
Common Issues and Pitfalls
that covers topics such as launching external programs from frozen application (i.e., the need to sanitize library search paths before doing so), use ofmultiprocessing
(i.e., the elusivemultiprocessing.freeze_support
), symlinks in POSIX builds on non-Windows (implications for copying onedir applications or creatingzip
archives; temporary directory requirements for onefile builds),sys.stderr
andsys.stdout
beingNone
in Windows noconsole builds.