diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-26 15:11:01 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-26 15:13:17 +0530 |
commit | 7ab56be2c7309a2d11d4ee28c71f8fb29da21ef7 (patch) | |
tree | ee14aa97e8c6c5c56e13c5017f37e2f1a8b914ec /setup.py | |
parent | 059bc4db1975698dca53278a0fcc23d428b7658a (diff) | |
download | hypervideo-pre-7ab56be2c7309a2d11d4ee28c71f8fb29da21ef7.tar.lz hypervideo-pre-7ab56be2c7309a2d11d4ee28c71f8fb29da21ef7.tar.xz hypervideo-pre-7ab56be2c7309a2d11d4ee28c71f8fb29da21ef7.zip |
[build] Ensure `compat._legacy` is packed in executables
Fixes https://github.com/yt-dlp/yt-dlp/commit/9196cbfe8bb7a6eb46037735b76f21963dfdc61a#commitcomment-72192406
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,6 +48,8 @@ if sys.argv[1:2] == ['py2exe']: 'dist_dir': './dist', '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'], } }, 'zipfile': None |