如何捆绑包括依赖项的Python应用程序? [英] How to bundle a Python application including dependencies?
本文介绍了如何捆绑包括依赖项的Python应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要将我的Python应用程序,其依赖项和Python打包到一个MSI安装程序中.最终结果应该是:
I need to package my Python application, its dependencies and Python into a single MSI installer. The end result should desirably be:
- Python已安装在标准位置
- 该软件包及其依赖项安装在单独的目录(可能是站点软件包)中
- 安装目录应包含未压缩的Python,并且不需要独立的可执行文件
推荐答案
它可以归结为:
py2exe on windows, Freeze on Linux, and py2app on Mac.
这篇关于如何捆绑包括依赖项的Python应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文