将 python 应用程序部署到 Mac 和 Windows 用户 [英] Deploying python app to Mac and Windows users

查看:15
本文介绍了将 python 应用程序部署到 Mac 和 Windows 用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用 python 编写了一个应用程序,它依赖于 wxPython 和其他一些 python 库.我知道 pyexe 可以让 python 脚本在 Windows 上执行,但是使用不知道如何安装所需依赖项的朋友与我的 Mac 共享它的最简单方法是什么?一种选择是将我的依赖项捆绑在同一个包中,但这似乎有点笨拙.人们通常如何部署此类应用程序?这一次我想念 Java...

I've written an app in python that depends on wxPython and some other python libraries. I know about pyexe for making python scripts executable on Windows, but what would be the easiest way to share this with my Mac using friends who wouldn't know how to install the required dependencies? One option would be to bundle my dependencies in the same package, but that seems kind of clunky. How do people usually deploy such apps? For once I miss Java...

推荐答案

您可以查看 py2app,类似于py2exe

You could check out py2app, which is similar to py2exe

这篇关于将 python 应用程序部署到 Mac 和 Windows 用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆