[ie/crunchyroll] Extract `vo_adaptive_hls` formats by default (#9447)
[yt-dlp3.git] / pyproject.toml
blob64504ff98665bee7ef0ee99502e0430ef04e30c3
1 [build-system]
2 requires = ["hatchling"]
3 build-backend = "hatchling.build"
5 [project]
6 name = "yt-dlp"
7 maintainers = [
8     {name = "pukkandan", email = "pukkandan.ytdlp@gmail.com"},
9     {name = "Grub4K", email = "contact@grub4k.xyz"},
10     {name = "bashonly", email = "bashonly@protonmail.com"},
11     {name = "coletdjnz", email = "coletdjnz@protonmail.com"},
13 description = "A youtube-dl fork with additional features and patches"
14 readme = "README.md"
15 requires-python = ">=3.8"
16 keywords = [
17     "youtube-dl",
18     "video-downloader",
19     "youtube-downloader",
20     "sponsorblock",
21     "youtube-dlc",
22     "yt-dlp",
24 license = {file = "LICENSE"}
25 classifiers = [
26     "Topic :: Multimedia :: Video",
27     "Development Status :: 5 - Production/Stable",
28     "Environment :: Console",
29     "Programming Language :: Python",
30     "Programming Language :: Python :: 3 :: Only",
31     "Programming Language :: Python :: 3.8",
32     "Programming Language :: Python :: 3.9",
33     "Programming Language :: Python :: 3.10",
34     "Programming Language :: Python :: 3.11",
35     "Programming Language :: Python :: 3.12",
36     "Programming Language :: Python :: Implementation",
37     "Programming Language :: Python :: Implementation :: CPython",
38     "Programming Language :: Python :: Implementation :: PyPy",
39     "License :: OSI Approved :: The Unlicense (Unlicense)",
40     "Operating System :: OS Independent",
42 dynamic = ["version"]
43 dependencies = [
44     "brotli; implementation_name=='cpython'",
45     "brotlicffi; implementation_name!='cpython'",
46     "certifi",
47     "mutagen",
48     "pycryptodomex",
49     "requests>=2.31.0,<3",
50     "urllib3>=1.26.17,<3",
51     "websockets>=12.0",
54 [project.optional-dependencies]
55 default = []
56 secretstorage = [
57     "cffi",
58     "secretstorage",
60 build = [
61     "build",
62     "hatchling",
63     "pip",
64     "wheel",
66 dev = [
67     "flake8",
68     "isort",
69     "pytest",
71 pyinstaller = ["pyinstaller>=6.3"]
72 py2exe = ["py2exe>=0.12"]
74 [project.urls]
75 Documentation = "https://github.com/yt-dlp/yt-dlp#readme"
76 Repository = "https://github.com/yt-dlp/yt-dlp"
77 Tracker = "https://github.com/yt-dlp/yt-dlp/issues"
78 Funding = "https://github.com/yt-dlp/yt-dlp/blob/master/Collaborators.md#collaborators"
80 [project.scripts]
81 yt-dlp = "yt_dlp:main"
83 [project.entry-points.pyinstaller40]
84 hook-dirs = "yt_dlp.__pyinstaller:get_hook_dirs"
86 [tool.hatch.build.targets.sdist]
87 include = [
88     "/yt_dlp",
89     "/devscripts",
90     "/test",
91     "/.gitignore",  # included by default, needed for auto-excludes
92     "/Changelog.md",
93     "/LICENSE",  # included as license
94     "/pyproject.toml",  # included by default
95     "/README.md",  # included as readme
96     "/setup.cfg",
97     "/supportedsites.md",
99 artifacts = [
100     "/yt_dlp/extractor/lazy_extractors.py",
101     "/completions",
102     "/AUTHORS",  # included by default
103     "/README.txt",
104     "/yt-dlp.1",
107 [tool.hatch.build.targets.wheel]
108 packages = ["yt_dlp"]
109 artifacts = ["/yt_dlp/extractor/lazy_extractors.py"]
111 [tool.hatch.build.targets.wheel.shared-data]
112 "completions/bash/yt-dlp" = "share/bash-completion/completions/yt-dlp"
113 "completions/zsh/_yt-dlp" = "share/zsh/site-functions/_yt-dlp"
114 "completions/fish/yt-dlp.fish" = "share/fish/vendor_completions.d/yt-dlp.fish"
115 "README.txt" = "share/doc/yt_dlp/README.txt"
116 "yt-dlp.1" = "share/man/man1/yt-dlp.1"
118 [tool.hatch.version]
119 path = "yt_dlp/version.py"
120 pattern = "_pkg_version = '(?P<version>[^']+)'"