سؤال

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