Creating self-contained python applications

2019-03-11 04:19发布

问题:

I'm trying to create a self-contained version of pisa (html to pdf converter, latest version), but I can't succeed due to several errors. I've tried py2exe, bb-freeze and cxfreeze.

This has to be in windows, which makes my life a bit harder. I remember that a couple of months ago the author had a zip file containing the install, but now it's gone, leaving me only with the python dependent way.

How would you work this out?

回答1:

Check out pyinstaller, it makes standalone executables (as in one .EXE file, and that's it).