I’m trying to compile a small python file which sends email based on the yagmail
library, which itself relies on the keyring
library.
Compiling works fine. Executing with dry-run options works fine. However, when I actually try it, it prompts for the password (as the yagmail
library normally does), but once the password entered, it comes back with an error telling me that there was no keyring backend found.
Obviously, there is a keyring backend (on Windows it’s Credentials manager I believe) and it works fine when I use the same program in the python form using the python runtime.
How can I package a keyring backend in the exe
file using Nuitka (or pyinstaller, for that matter)?