简体   繁体   中英

python executable

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

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.

不知道是否适用于OS X,但请看一下cx_freeze

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM