How do I compile a PyQt script (.py) to a single standalone executable file for windows (.exe) and/or linux?

后端 未结 6 1454
时光说笑
时光说笑 2020-12-12 15:01

I started to fiddle with PyQt, and made a \"beautiful\" script from the pyqt whitepaper example app (pastebin)

It works perfectly in Windows and Linux (with qt envir

6条回答
  •  感情败类
    2020-12-12 15:33

    After spending many weeks on this and trying all the alternatives - PyInstaller, py2exe, cx_freeze,... - I created my own library: https://build-system.fman.io/. It is based on PyInstaller but solves many of its common pain points. It also lets you create native installers on Windows, Mac and Linux.

提交回复
热议问题