pythonpyinstallerpgzero

How can I export Pgzero (pygame zero) to .exe?


I am just wondering how can I make an executable from pgzero game. I have tried for hours with no success. pyinstaller always had some errors during exporting, or opening .exe . Or exe file did nothing after opening (and I also have tried waiting for so long) I have tried bypass script which exported me .egg file instead of .exe

script https://gist.github.com/AnthonyBriggs/cac72989c2dd3c4aeb7475237079d2fb

Can you guys help me ? thanks.


Solution

  • I have refactored the whole game into pygame and used auto-py-to-exe tool which makes only one exe file from whole game (with images, sounds and icon included)