There’s no distinction between builtin and 3rd party libraries to
PyInstaller so you won’t find an --include-standard-lib option. That
python-stdlib-list sounds like a sensible option. All you’d need to so is
edit the .spec file: put from stdlib_list import stdlib_list at the top and
replace hiddenimports=[], with hiddenimports=stdlib_list("3.7"), (or
whatever your Python version is. That would mean you wouldn’t need to
include or run stdlib_list in the executable itself.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/9cd37e84-9630-4f45-8d13-032f1cb6af56n%40googlegroups.com.