Skip to content

A feature-rich command-line audio/video downloader

[build] Move optional dependencies to the `default` group (#11255)

bashonly87884f155809
diff --git a/pyproject.toml b/pyproject.toml
index 5439db1df2..ff5e38ff50 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -42,7 +42,10 @@ classifiers = [
"Operating System :: OS Independent",
]
dynamic = ["version"]
-dependencies = [
+dependencies = []
+
+[project.optional-dependencies]
+default = [
"brotli; implementation_name=='cpython'",
"brotlicffi; implementation_name!='cpython'",
"certifi",
@@ -52,9 +55,6 @@ dependencies = [
"urllib3>=1.26.17,<3",
"websockets>=13.0",
]
-
-[project.optional-dependencies]
-default = []
curl-cffi = [
"curl-cffi==0.5.10; os_name=='nt' and implementation_name=='cpython'",
"curl-cffi>=0.5.10,!=0.6.*,<0.7.2; os_name!='nt' and implementation_name=='cpython'",