简体   繁体   中英

How can I package python+pygame programs as executables?

I used py2exe earlier for that but it doesn't seem to be maintained any more, the last package they have is for Python 2.6.

I need the application with Python 2.7 + Pygame.

Big bonus points if it lets me make OSX packages as well.

How about PyInstaller ? Last revision seems to have been made around 2 days ago, at the time of this writing, so it appears to be maintained, and claims to support Windows, Linux, and OSX.

cx_Freeze also looks very promising. It also claims to be cross-platform. Yet another one is py2app , which support OSX.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM