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

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

问题描述

我在python中编写了一个应用程序,这个应用程序取决于wxPython和其他一些python库。我知道pyexe可以在Windows上执行python脚本,但是,与使用不知道如何安装所需的依赖关系的朋友一起分享我的Mac的最简单方法是什么?一个选择是将我的依赖项捆绑在同一个包中,但这似乎是笨重的。人们通常如何部署这样的应用程序?一旦我错过了Java ...

解决方案

你可以查看 py2app ,类似于py2exe


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...

解决方案

You could check out py2app, which is similar to py2exe

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

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