Hey I was just wondering if it is possible to create an executable file (mac) with python in eclipse classic? If not, than how can I create an executable with my python code? I cant use py2app because that dosen't work with Pygame.

有帮助吗?

解决方案

Try using pyinstaller. It should be able to create an executable for Windows, Linux, and Mac. It does have support for pygame (and I've used it successfully to build several programs using pygame, albeit only in Windows and Linux), but you might need to apply this bugfix first, depending on if the latest download has fixed this or not.

I believe it runs independently from Eclipse.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top