PyInstaller-Perfect-Build-Method icon indicating copy to clipboard operation
PyInstaller-Perfect-Build-Method copied to clipboard

pyinstaller使用疑惑

Open waitfortea opened this issue 2 years ago • 2 comments

我自定义了一个ToolKits在下,在入口文件中,我使用 import os import sys sys.path.insert('D:\python\ToolKits') 然后再导入ToolKits下的模块 from ToolKits.GeneralObject import Date 然后使用Date Date('ss') 这种情况下,我该如何设置spec文件啊

waitfortea avatar Aug 23 '23 08:08 waitfortea

入口文件的位置和Toolkits不在一个目录

waitfortea avatar Aug 23 '23 08:08 waitfortea

把复制文件夹的任务 (src, dst) 放到 datas 中,然后在 hook.py 中添加查找路径。

HaujetZhao avatar Aug 23 '23 23:08 HaujetZhao