diff --git a/Builder.py b/Builder.py index 261890a..bbd2bca 100644 --- a/Builder.py +++ b/Builder.py @@ -75,6 +75,8 @@ # Other command arguments pyi_command.insert(0, '--windowed') + pyi_command.insert(0, '_bootlocale') + pyi_command.insert(0, '--exclude-module') # pyi_command.insert(0, '--onefile') pyi_command.insert(0, 'pyi-makespec') @@ -83,6 +85,7 @@ os.remove(MAIN_FILE + '.spec') # Execute pyi + print(" ".join(pyi_command)) subprocess.run(pyi_command, text=True) # Spec file generated