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

Update setup.py

Remove py2 references and add pycryptodome as a deps.
fixes #850
This commit is contained in:
Johan Andersson 2018-03-12 21:55:03 +01:00
parent 39f1f2c162
commit b7c2faad07

View File

@ -8,15 +8,10 @@ import svtplay_dl
deps = [] deps = []
if sys.version_info[0] == 2 and sys.version_info[1] <= 7 and sys.version_info[2] < 9:
deps.append("requests>=2.0.0") deps.append("requests>=2.0.0")
deps.append("PySocks") deps.append("PySocks")
deps.append("pyOpenSSL") deps.append("pycryptodome")
deps.append("ndg-httpsclient")
deps.append("pyasn1")
else:
deps.append(["requests>=2.0.0"])
deps.append("PySocks")
setup( setup(
name="svtplay-dl", name="svtplay-dl",
@ -36,11 +31,10 @@ setup(
"Environment :: Console", "Environment :: Console",
"Operating System :: POSIX", "Operating System :: POSIX",
"Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video", "Topic :: Multimedia :: Video",