Voir la page PyInstaller (sous Windows)
Installer PyInstaller dans le projet :
(venv) c:\monprojet> pip install pyinstaller
Première génération de l'exécutable :
(venv) c:\monprojet> pyinstaller --noconfirm --onefile --windowed --name bigoudi main.py
Régénérer l'exécutable après modification :
(venv) c:\monprojet> pyinstaller bigoudi.spec
Pour modifier le nom de l'exécutable, modifier la valeur name dans le fichier main.spec