chore(pyproject.toml): add yt-dlp and pycryptodomex to standard optional and downwoal optional

This commit is contained in:
Benexl
2025-07-28 22:15:46 +03:00
parent 93c0f2ab83
commit ea918909b9
2 changed files with 17 additions and 7 deletions

View File

@@ -9,10 +9,8 @@ dependencies = [
"click>=8.1.7",
"httpx>=0.28.1",
"inquirerpy>=0.3.4",
"pycryptodomex>=3.23.0",
"pydantic>=2.11.7",
"rich>=13.9.2",
"yt-dlp>=2025.7.21",
]
[project.scripts]
@@ -26,12 +24,18 @@ standard = [
"lxml>=6.0.0",
"pypresence>=4.3.0",
"thefuzz>=0.22.1",
"yt-dlp>=2025.7.21",
"pycryptodomex>=3.23.0",
]
notifications = ["plyer>=2.1.0"]
mpv = ["mpv>=1.0.7"]
torrent = ["libtorrent>=2.0.11"]
lxml = ["lxml>=6.0.0"]
discord = ["pypresence>=4.3.0"]
download = [
"pycryptodomex>=3.23.0",
"yt-dlp>=2025.7.21",
]
[build-system]
requires = ["hatchling"]

16
uv.lock generated
View File

@@ -103,16 +103,18 @@ dependencies = [
{ name = "click" },
{ name = "httpx" },
{ name = "inquirerpy" },
{ name = "pycryptodomex" },
{ name = "pydantic" },
{ name = "rich" },
{ name = "yt-dlp" },
]
[package.optional-dependencies]
discord = [
{ name = "pypresence" },
]
download = [
{ name = "pycryptodomex" },
{ name = "yt-dlp" },
]
lxml = [
{ name = "lxml" },
]
@@ -127,8 +129,10 @@ standard = [
{ name = "lxml" },
{ name = "mpv" },
{ name = "plyer" },
{ name = "pycryptodomex" },
{ name = "pypresence" },
{ name = "thefuzz" },
{ name = "yt-dlp" },
]
torrent = [
{ name = "libtorrent" },
@@ -157,15 +161,17 @@ requires-dist = [
{ name = "mpv", marker = "extra == 'standard'", specifier = ">=1.0.7" },
{ name = "plyer", marker = "extra == 'notifications'", specifier = ">=2.1.0" },
{ name = "plyer", marker = "extra == 'standard'", specifier = ">=2.1.0" },
{ name = "pycryptodomex", specifier = ">=3.23.0" },
{ name = "pycryptodomex", marker = "extra == 'download'", specifier = ">=3.23.0" },
{ name = "pycryptodomex", marker = "extra == 'standard'", specifier = ">=3.23.0" },
{ name = "pydantic", specifier = ">=2.11.7" },
{ name = "pypresence", marker = "extra == 'discord'", specifier = ">=4.3.0" },
{ name = "pypresence", marker = "extra == 'standard'", specifier = ">=4.3.0" },
{ name = "rich", specifier = ">=13.9.2" },
{ name = "thefuzz", marker = "extra == 'standard'", specifier = ">=0.22.1" },
{ name = "yt-dlp", specifier = ">=2025.7.21" },
{ name = "yt-dlp", marker = "extra == 'download'", specifier = ">=2025.7.21" },
{ name = "yt-dlp", marker = "extra == 'standard'", specifier = ">=2025.7.21" },
]
provides-extras = ["standard", "notifications", "mpv", "torrent", "lxml", "discord"]
provides-extras = ["standard", "notifications", "mpv", "torrent", "lxml", "discord", "download"]
[package.metadata.requires-dev]
dev = [