简体   繁体   English

如何从pyc文件制作exe文件

[英]How to make exe file from pyc file

I want to create the window executable file of my project , I don't want to share the source code my project . 我想创建我的项目的窗口可执行文件,我不想共享我的项目的源代码。 i want to know where i started or which tool I use to create complete software . 我想知道我从哪里开始或者用什么工具来创建完整的软件。 I use linux , py2exe does not run in linux,is there any other tool which is similar to py2exe? 我使用linux,py2exe不能在linux上运行,有没有其他类似于py2exe的工具?

I'd use cx_freeze . 我会用cx_freeze

I've tried py2exe , and it doesn't handle dependencies as well as cx_freeze . 我已经尝试过py2exe ,它不处理依赖关系以及cx_freeze Best of all, it's cross-platform! 最重要的是,它是跨平台的! I've made Windows and Linux binaries with it, so I can confirm it works properly. 我用它制作了Windows和Linux二进制文件,所以我可以确认它是否正常工作。

Here's a little tutorial to get you started: http://www.blog.pythonlibrary.org/2010/08/12/a-cx_freeze-tutorial-build-a-binary-series/ . 这是一个让你入门的小教程: http//www.blog.pythonlibrary.org/2010/08/12/a-cx_freeze-tutorial-build-a-binary-series/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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