[build] Ensure compat._legacy is packed in executables

Fixes 9196cbfe8b (commitcomment-72192406)
This commit is contained in:
pukkandan 2022-04-26 15:11:01 +05:30
parent 059bc4db19
commit 7ab56be2c7
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
2 changed files with 3 additions and 0 deletions

View file

@ -47,6 +47,7 @@ def main():
'--noconfirm',
*dependency_options(),
*opts,
'--collect-submodules=yt_dlp',
'yt_dlp/__main__.py',
]
print(f'Running PyInstaller with {opts}')