Skip to content

A feature-rich command-line audio/video downloader

Bugfix for 775cde82dc5b1dc64ab0539a92dd8c7ba6c0ad33 (#9241)

bashonly43cfd462c0d0
diff --git a/Makefile b/Makefile
index a03228b0e7..2cfeb78419 100644
--- a/Makefile
+++ b/Makefile
@@ -150,7 +150,6 @@ yt-dlp.tar.gz: all
--exclude '__pycache__' \
--exclude '.pytest_cache' \
--exclude '.git' \
- --exclude '__pyinstaller' \
-- \
README.md supportedsites.md Changelog.md LICENSE \
CONTRIBUTING.md Collaborators.md CONTRIBUTORS AUTHORS \
diff --git a/pyproject.toml b/pyproject.toml
index 5ef013279a..0c9c5fc016 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -94,7 +94,6 @@ include = [
"/setup.cfg",
"/supportedsites.md",
]
-exclude = ["/yt_dlp/__pyinstaller"]
artifacts = [
"/yt_dlp/extractor/lazy_extractors.py",
"/completions",
@@ -105,7 +104,6 @@ artifacts = [
[tool.hatch.build.targets.wheel]
packages = ["yt_dlp"]
-exclude = ["/yt_dlp/__pyinstaller"]
artifacts = ["/yt_dlp/extractor/lazy_extractors.py"]
[tool.hatch.build.targets.wheel.shared-data]
diff --git a/yt_dlp/__pyinstaller/hook-yt_dlp.py b/yt_dlp/__pyinstaller/hook-yt_dlp.py
index 20f037d32f..bc843717cd 100644
--- a/yt_dlp/__pyinstaller/hook-yt_dlp.py
+++ b/yt_dlp/__pyinstaller/hook-yt_dlp.py
@@ -31,4 +31,4 @@ def get_hidden_imports():
hiddenimports = list(get_hidden_imports())
print(f'Adding imports: {hiddenimports}')
-excludedimports = ['youtube_dl', 'youtube_dlc', 'test', 'ytdlp_plugins', 'devscripts']
+excludedimports = ['youtube_dl', 'youtube_dlc', 'test', 'ytdlp_plugins', 'devscripts', 'bundle']