From 131d132da5c98c6c78bd7eed4b37f4458561b3d9 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 15 Jul 2023 16:39:45 +0530 Subject: [build] Make sure deprecated modules are added --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index ccfcf4252..a2f9f55c3 100644 --- a/setup.py +++ b/setup.py @@ -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, } -- cgit v1.2.3