cx_Freeze和移动文件 [英] cx_Freeze and moving files around

查看:93
本文介绍了cx_Freeze和移动文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在cx_Freeze中,是否可以将所有pyd文件和library.zip移至某个子目录?

In cx_Freeze, is it possible to move all pyd files and the library.zip to some subdirectory?

我可以将两个dll与exe一起使用,但是我宁愿向用户隐藏其他15个文件,即使仅位于子目录中。

I can live with two dlls along with the exe but I'd rather hide 15 other files from my users, even if only in a subdirectory.

推荐答案

似乎是不可能的。使用 PyInstaller py2exe ,或 py2app 可能。另请参见 py2exe-生成单个可执行文件

That appears to be impossible. Use PyInstaller, py2exe, or py2app if possible. See also py2exe - generate single executable file.

这篇关于cx_Freeze和移动文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆