Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有关于 Python 的“冻结”事情的详细解释?我看到了 PyPi 页面,但我认为它不够全面。
wiki 上有关于freeze的文档,源文档字符串非常好。还有一个替代方案,cx_Freeze。对于 Windows,有py2exe。对于 Mac,py2app。
除非您尝试为 Windows 制作单一下载类型的程序,否则通常更容易依赖通过 setup.py/setuptools/distribute/pip 安装的鸡蛋或源包。