aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2024-02-18 14:33:23 -0600
committerGitHub <noreply@github.com>2024-02-18 20:33:23 +0000
commit43cfd462c0d01eff22c1d4290aeb96eb1ea2c0e1 (patch)
treeaa6a0029201496ed5dd8b37dbd8811ae07568fb0
parent974d444039c8bbffb57265c6792cd52d169fe1b9 (diff)
Bugfix for 775cde82dc5b1dc64ab0539a92dd8c7ba6c0ad33 (#9241)
Authored by: bashonly
-rw-r--r--Makefile1
-rw-r--r--pyproject.toml2
-rw-r--r--yt_dlp/__pyinstaller/hook-yt_dlp.py2
3 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a03228b0e..2cfeb7841 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 5ef013279..0c9c5fc01 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 20f037d32..bc843717c 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']