文件说明
- run.exe:已经编译好的文件,负责解压exe中的资源包,创建运行环境
- pure:pyi分析用户程序及其依赖库,得到的所有需要导入的模块,但不包括dependencies
- dependencies:pyi本身,包含5个文件
- scripts:用户编写的脚本
- binary:有些python库使用了非python库,binary是这些库的集合,包括.dll和.pyd
- zipfiles:一般为空
- zipped_data:一般为空
- datas:各种资源,包括pyi识别出来的和用户主动添加的
exe格式(onefile)
- exe = run.exe + pkg
- pkg(CArchive) = pyz + dependencies + scripts + binary + zipfiles + datas + python36.dll
- pyz(ZlibArchive) = pure + zipped_data
exe格式(onedir)
- exe = run.exe + pkg
- pkg(CArchive) = pyz + dependencies + scripts
- pyz(ZlibArchive) = pure + zipped_data
各文件存储格式说明
-
<