Authored by: bashonly
This commit is contained in:
bashonly 2024-02-18 14:33:23 -06:00 committed by GitHub
parent 974d444039
commit 43cfd462c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 4 deletions

View file

@ -150,7 +150,6 @@ yt-dlp.tar.gz: all
--exclude '__pycache__' \ --exclude '__pycache__' \
--exclude '.pytest_cache' \ --exclude '.pytest_cache' \
--exclude '.git' \ --exclude '.git' \
--exclude '__pyinstaller' \
-- \ -- \
README.md supportedsites.md Changelog.md LICENSE \ README.md supportedsites.md Changelog.md LICENSE \
CONTRIBUTING.md Collaborators.md CONTRIBUTORS AUTHORS \ CONTRIBUTING.md Collaborators.md CONTRIBUTORS AUTHORS \

View file

@ -94,7 +94,6 @@ include = [
"/setup.cfg", "/setup.cfg",
"/supportedsites.md", "/supportedsites.md",
] ]
exclude = ["/yt_dlp/__pyinstaller"]
artifacts = [ artifacts = [
"/yt_dlp/extractor/lazy_extractors.py", "/yt_dlp/extractor/lazy_extractors.py",
"/completions", "/completions",
@ -105,7 +104,6 @@ artifacts = [
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["yt_dlp"] packages = ["yt_dlp"]
exclude = ["/yt_dlp/__pyinstaller"]
artifacts = ["/yt_dlp/extractor/lazy_extractors.py"] artifacts = ["/yt_dlp/extractor/lazy_extractors.py"]
[tool.hatch.build.targets.wheel.shared-data] [tool.hatch.build.targets.wheel.shared-data]

View file

@ -31,4 +31,4 @@ def get_hidden_imports():
hiddenimports = list(get_hidden_imports()) hiddenimports = list(get_hidden_imports())
print(f'Adding imports: {hiddenimports}') print(f'Adding imports: {hiddenimports}')
excludedimports = ['youtube_dl', 'youtube_dlc', 'test', 'ytdlp_plugins', 'devscripts'] excludedimports = ['youtube_dl', 'youtube_dlc', 'test', 'ytdlp_plugins', 'devscripts', 'bundle']