将我的项目构建为非python环境(Windows和linux)的安装程序



我的目录结构是

/src (the source code directory including images)
/src/main.py (main script)
/src/subprojectfile/ (it consist of other several project file include __init__.py)

在我的项目中,我使用谷歌procolbuffer,pygtk和其他常见的python包,如sys,time,thread等。

我想为非python系统构建一个安装程序,用户可以在没有任何python支持的情况下安装我的应用程序

对于另一种方法,您可以查看PyInstaller。它不会生成正确的安装程序,而是生成不依赖外部的独立可执行文件。

windows可以使用py2exe, Linux可以使用freeze

最新更新