未验证 提交 7ab56be2 编写于 作者: P pukkandan
上级 059bc4db
......@@ -47,6 +47,7 @@ def main():
'--noconfirm',
*dependency_options(),
*opts,
'--collect-submodules=yt_dlp',
'yt_dlp/__main__.py',
]
print(f'Running PyInstaller with {opts}')
......
......@@ -48,6 +48,8 @@
'dist_dir': './dist',
'excludes': ['Crypto', 'Cryptodome'], # py2exe cannot import Crypto
'dll_excludes': ['w9xpopen.exe', 'crypt32.dll'],
# Modules that are only imported dynamically must be added here
'includes': ['yt_dlp.compat._legacy'],
}
},
'zipfile': None
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册