aboutsummaryrefslogtreecommitdiffstats
path: root/pyinst.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-07-17 18:45:43 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-07-17 18:45:43 +0530
commitf5e438a976dcf8d7d263631ea0b0bf114b6182af (patch)
tree005a1955ef466268262623cd48839ef1b85d0baa /pyinst.py
parentd08e1e68758d5041afa79abd6a2d7dd1c45879d8 (diff)
downloadhypervideo-pre-f5e438a976dcf8d7d263631ea0b0bf114b6182af.tar.lz
hypervideo-pre-f5e438a976dcf8d7d263631ea0b0bf114b6182af.tar.xz
hypervideo-pre-f5e438a976dcf8d7d263631ea0b0bf114b6182af.zip
[compat] Let PyInstaller detect _legacy module
Diffstat (limited to 'pyinst.py')
-rw-r--r--pyinst.py3
1 files changed, 0 insertions, 3 deletions
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',