1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-03 04:22:53 -05:00

[build] Make sure deprecated modules are added

This commit is contained in:
pukkandan
2023-07-15 16:39:45 +05:30
parent 3d2623a898
commit 131d132da5
2 changed files with 4 additions and 2 deletions

View File

@ -65,7 +65,8 @@ def py2exe_params():
'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'],
'includes': ['yt_dlp.compat._legacy', 'yt_dlp.compat._deprecated',
'yt_dlp.utils._legacy', 'yt_dlp.utils._deprecated'],
},
'zipfile': None,
}