python executable

2019-08-15 11:28发布

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

3条回答
混吃等死
2楼-- · 2019-08-15 11:34

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

查看更多
地球回转人心会变
3楼-- · 2019-08-15 11:41

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.

查看更多
神经病院院长
4楼-- · 2019-08-15 11:42

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/

查看更多
登录 后发表回答