From f5e438a976dcf8d7d263631ea0b0bf114b6182af Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sun, 17 Jul 2022 18:45:43 +0530 Subject: [compat] Let PyInstaller detect _legacy module --- pyinst.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'pyinst.py') diff --git a/pyinst.py b/pyinst.py index 526e8802f..31854e881 100644 --- a/pyinst.py +++ b/pyinst.py @@ -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', -- cgit v1.2.3