python executable

血红的双手。 提交于 2020-02-05 01:49:26

问题


is it possible to create python executable targeted for linux, from mac os x?

PyInstaller seems to be at an early stage, and I don't know much else.

Thanks


回答1:


There is tool that can be run on single OS and make you executables for different OSes. You will need to do the compilation for every OS on a (virtual)machine that have it installed. Fox OS X you can check py2app in http://undefined.org/python/




回答2:


Do you really need a standalone executable? For most Linux distributions, the easier and more common way to distribute Python software is to just distribute the source.

Every major Linux distribution already has Python installed, and some have it installed by default.




回答3:


Dont know if available for OS X but take a look at cx_freeze



来源:https://stackoverflow.com/questions/4322250/python-executable

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