1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-30 14:15:13 +00:00

[compat] Let PyInstaller detect _legacy module

This commit is contained in:
pukkandan
2022-07-17 18:45:43 +05:30
parent d08e1e6875
commit f5e438a976
3 changed files with 8 additions and 14 deletions

View File

@@ -33,9 +33,6 @@ def main():
'--icon=devscripts/logo.ico',
'--upx-exclude=vcruntime140.dll',
'--noconfirm',
# NB: Modules that are only imported dynamically must be added here.
# --collect-submodules may not work correctly if user has a yt-dlp installed via PIP
'--hidden-import=yt_dlp.compat._legacy',
*dependency_options(),
*opts,
'yt_dlp/__main__.py',