Py2App:需要包含文件,但文件太大
目前,我正在使用 py2app 将 python 脚本转换为独立应用程序。但是,我的脚本需要 2GB 的 unix 可执行文件。 Py2App 无法处理与包含文件或资源一样大的文件,因为它在创建独立文件时会产生错误。我是否可以将此文件包含在我的独立应用程序中?
任何意见或建议将不胜感激。非常感谢。
At the moment, I'm using py2app to convert python scripts to a standalone application. However, my scripts require a 2GB unix executable. Py2App isn't able to process a file that large as an included file or resource, as it produces an error in the creation of the standalone file. Is there anyway I can include this file in my standalone app?
Any advice or suggestions would be appreciated. Thank you very much.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我对 Pyinstaller 有更多经验,但是你必须通过 Py2App 放置可执行文件吗?是否可以将其与可执行文件打包在同一目录中,以便找到并运行它?生成单个文件非常重要,还是可以将其包含在具有其他依赖项的目录中?
I have more experience with Pyinstaller, but do you have to put the executable through Py2App? Might it be possible to package it with your executable in the same directory so it will be found and run? Is producing a single file very important, or could you include it in a directory with other dependencies?