IS BeeWare the answer to cross-platform python executable creation? [closed]

吃可爱长大的小学妹 提交于 2020-08-06 07:27:49

问题


I would like use a PC to create an executable from a python script that can run on a MAC. In other words, I need a cross-platform compiler. From the BeeWare landing page:

BeeWare
Write once. Deploy everywhere.

Write your apps in Python and release them on iOS, Android, Windows, MacOS, Linux, Web, and tvOS using rich, native user interfaces. Multiple apps, one codebase, with a fully native user experience on every platform.

PyInstaller can create an executable from Windows to Windows or from Mac to Mac (and no doubt Linux as well) but can't go from one to the other. Is BeeWare able to compile across operating systems?

There is a similar question here but it is very old and does not mention BeeWare so I think this question is worth asking. It also asks the question as if it would be a single executable and I'm that will never happen. So I would just like to be able to compile for several operating systems from a single machine running one operating system.

I can't give more of an example than that but I can say that the project does create a GUI with just one text input field and two buttons. So it's not very complicated. The most complicated bit is that it does use Selenium to interact with a web page via a Chrome browser.

来源:https://stackoverflow.com/questions/63157043/is-beeware-the-answer-to-cross-platform-python-executable-creation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!