【发布时间】:2018-05-28 09:52:56
【问题描述】:
我需要在 pyinstaller“onefile”可执行文件中包含一个 DLL 和一个文本文件。我可以只添加 DLL,但如果我尝试指定这两个文件,pyinstaller 会抱怨。我宁愿使用命令行选项(而不是规范文件)——多个文件的正确格式是什么?
http://pyinstaller.readthedocs.io/en/stable/spec-files.html#adding-data-files
http://pyinstaller.readthedocs.io/en/stable/usage.html#options-group-what-to-bundle-where-to-search
尝试了一些东西,例如 pyinstaller:错误:参数--add-data:无效的add_data_or_binary值:'/C/path1/my.dll;/c/path2/my.txt;.'
【问题讨论】:
标签: pyinstaller