1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00

only support py36+

This commit is contained in:
Johan Andersson 2021-02-28 22:03:50 +01:00
parent 9a28a1abd5
commit ce06f2c5f4
3 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@ repos:
rev: v2.10.0 rev: v2.10.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py3-plus] args: [--py36-plus]
- repo: https://github.com/asottile/reorder_python_imports - repo: https://github.com/asottile/reorder_python_imports
rev: v2.4.0 rev: v2.4.0
hooks: hooks:

View File

@ -1,3 +1,3 @@
[tool.black] [tool.black]
line-length = 150 line-length = 150
target-version = ['py35'] target-version = ['py36']

View File

@ -22,8 +22,8 @@ srcdir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib/")
sys.path.insert(0, srcdir) sys.path.insert(0, srcdir)
vi = sys.version_info vi = sys.version_info
if vi < (3, 5): if vi < (3, 6):
raise RuntimeError("svtplay-dl requires Python 3.5 or greater") raise RuntimeError("svtplay-dl requires Python 3.6 or greater")
about = {} about = {}
with open(os.path.join(srcdir, "svtplay_dl", "__version__.py")) as f: with open(os.path.join(srcdir, "svtplay_dl", "__version__.py")) as f:
@ -53,17 +53,17 @@ setup(
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
license="MIT", license="MIT",
url="https://svtplay-dl.se", url="https://svtplay-dl.se",
python_requires=">=3.5", python_requires=">=3.6",
classifiers=[ classifiers=[
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Environment :: Console", "Environment :: Console",
"Operating System :: POSIX", "Operating System :: POSIX",
"Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video", "Topic :: Multimedia :: Video",