[build] update setup.py
- increase required Python version to 3.8 (#7671) - remove 3.4-3.7 classifiers - add 'extra' optional dependency group
This commit is contained in:
15
setup.py
15
setup.py
@@ -100,13 +100,20 @@ def build_setuptools():
|
||||
maintainer="Mike Fährmann",
|
||||
maintainer_email="mike_faehrmann@web.de",
|
||||
license="GPLv2",
|
||||
python_requires=">=3.4",
|
||||
python_requires=">=3.8",
|
||||
install_requires=[
|
||||
"requests>=2.11.0",
|
||||
],
|
||||
extras_require={
|
||||
"video": [
|
||||
"youtube-dl",
|
||||
"yt-dlp",
|
||||
],
|
||||
"extra": [
|
||||
"requests[socks]",
|
||||
"yt-dlp[default]",
|
||||
"pyyaml",
|
||||
"toml; python_version < '3.11'",
|
||||
"secretstorage; sys_platform == 'linux'",
|
||||
],
|
||||
},
|
||||
entry_points={
|
||||
@@ -127,10 +134,6 @@ def build_setuptools():
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Programming Language :: Python :: 3.4",
|
||||
"Programming Language :: Python :: 3.5",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
|
||||
Reference in New Issue
Block a user