aboutsummaryrefslogtreecommitdiffstats
path: root/pyinst.py
diff options
context:
space:
mode:
authorUnit 193 <32967979+unit193@users.noreply.github.com>2021-12-19 10:18:06 -0500
committerGitHub <noreply@github.com>2021-12-19 20:48:06 +0530
commite75bb0d6c342c8664f136f6e5492c62123749497 (patch)
tree73b5be472ca9c78bb9b4826cc65d145797a5731f /pyinst.py
parentdd0228ce1f708b12d7b1579438f63fda37c5bb48 (diff)
downloadhypervideo-pre-e75bb0d6c342c8664f136f6e5492c62123749497.tar.lz
hypervideo-pre-e75bb0d6c342c8664f136f6e5492c62123749497.tar.xz
hypervideo-pre-e75bb0d6c342c8664f136f6e5492c62123749497.zip
[cleanup] Fix some typos (#2033)
Authored by: unit193
Diffstat (limited to 'pyinst.py')
-rw-r--r--pyinst.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyinst.py b/pyinst.py
index c7ef2761b..f135ec90d 100644
--- a/pyinst.py
+++ b/pyinst.py
@@ -40,7 +40,7 @@ def main():
'--icon=devscripts/logo.ico',
'--upx-exclude=vcruntime140.dll',
'--noconfirm',
- *dependancy_options(),
+ *dependency_options(),
*opts,
'yt_dlp/__main__.py',
]
@@ -73,11 +73,11 @@ def version_to_list(version):
return list(map(int, version_list)) + [0] * (4 - len(version_list))
-def dependancy_options():
- dependancies = [pycryptodome_module(), 'mutagen'] + collect_submodules('websockets')
+def dependency_options():
+ dependencies = [pycryptodome_module(), 'mutagen'] + collect_submodules('websockets')
excluded_modules = ['test', 'ytdlp_plugins', 'youtube-dl', 'youtube-dlc']
- yield from (f'--hidden-import={module}' for module in dependancies)
+ yield from (f'--hidden-import={module}' for module in dependencies)
yield from (f'--exclude-module={module}' for module in excluded_modules)