Create single python executable module

前端 未结 4 1842
孤城傲影
孤城傲影 2020-12-30 12:37

Guys, I have much python code in modules which are resides in several python packages and now I need to create single python executable module or file which will include all

4条回答
  •  醉梦人生
    2020-12-30 13:00

    For windows use py2exe , for linux use pyinstaller and for Mac use py2app

    Using these tools you can have a setup.py which based on os will build the final binary.

    I have tried all three and they work well, or you can use cx_freeze they claim to be cross-platform

提交回复
热议问题