Build Multiple .py files into a single executable file using pyinstaller

后端 未结 4 1752
情话喂你
情话喂你 2020-12-28 18:55

I have made a small pyqt application of 5 and 6 .py files.Now I want to build them and compiled them in a single main file.Mean I have to operate them from one main window e

4条回答
  •  天涯浪人
    2020-12-28 19:34

    I think the solution is to edit the .spec file and run pyinstaller on the spec file instead of the individual .py files.

    You can find information about adding multiple exes to as single .spec file here: https://pyinstaller.readthedocs.io/en/v3.3.1/spec-files.html#multipackage-bundles

提交回复
热议问题