包含使用Pyinstaller的目录 [英] Including a directory using Pyinstaller
本文介绍了包含使用Pyinstaller的目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Pyinstaller的所有文档都讨论了包含单个文件的问题。
是否可以包含一个目录,还是应该通过遍历我的include目录来编写一个函数来创建include数组?
All of the documentation for Pyinstaller talks about including individual files. Is it possible to include a directory, or should I write a function to create the include array by traversing my include directory?
推荐答案
我很惊讶没有人提到官方支持的选项使用树()
:
I'm suprised that no one mentioned the official supported option using Tree()
:
< a href =https://stackoverflow.com/a/20677118/2230844> https://stackoverflow.com/a/20677118/2230844
https://pythonhosted.org/PyInstaller/advanced- topics.html#the-toc-and-tree-classes
这篇关于包含使用Pyinstaller的目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文