mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-23 11:45:38 +01:00
only support py36+
This commit is contained in:
parent
9a28a1abd5
commit
ce06f2c5f4
@ -22,7 +22,7 @@ repos:
|
||||
rev: v2.10.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py3-plus]
|
||||
args: [--py36-plus]
|
||||
- repo: https://github.com/asottile/reorder_python_imports
|
||||
rev: v2.4.0
|
||||
hooks:
|
||||
|
@ -1,3 +1,3 @@
|
||||
[tool.black]
|
||||
line-length = 150
|
||||
target-version = ['py35']
|
||||
target-version = ['py36']
|
||||
|
8
setup.py
8
setup.py
@ -22,8 +22,8 @@ srcdir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib/")
|
||||
sys.path.insert(0, srcdir)
|
||||
|
||||
vi = sys.version_info
|
||||
if vi < (3, 5):
|
||||
raise RuntimeError("svtplay-dl requires Python 3.5 or greater")
|
||||
if vi < (3, 6):
|
||||
raise RuntimeError("svtplay-dl requires Python 3.6 or greater")
|
||||
|
||||
about = {}
|
||||
with open(os.path.join(srcdir, "svtplay_dl", "__version__.py")) as f:
|
||||
@ -53,17 +53,17 @@ setup(
|
||||
long_description_content_type="text/markdown",
|
||||
license="MIT",
|
||||
url="https://svtplay-dl.se",
|
||||
python_requires=">=3.5",
|
||||
python_requires=">=3.6",
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Environment :: Console",
|
||||
"Operating System :: POSIX",
|
||||
"Operating System :: Microsoft :: Windows",
|
||||
"Programming Language :: Python :: 3",
|
||||
"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",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
"Topic :: Multimedia :: Sound/Audio",
|
||||
"Topic :: Multimedia :: Video",
|
||||
|
Loading…
Reference in New Issue
Block a user