diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2024-02-18 14:33:23 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 20:33:23 +0000 |
commit | 43cfd462c0d01eff22c1d4290aeb96eb1ea2c0e1 (patch) | |
tree | aa6a0029201496ed5dd8b37dbd8811ae07568fb0 | |
parent | 974d444039c8bbffb57265c6792cd52d169fe1b9 (diff) |
Bugfix for 775cde82dc5b1dc64ab0539a92dd8c7ba6c0ad33 (#9241)
Authored by: bashonly
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | pyproject.toml | 2 | ||||
-rw-r--r-- | yt_dlp/__pyinstaller/hook-yt_dlp.py | 2 |
3 files changed, 1 insertions, 4 deletions
@@ -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'] |