1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00

setup: fix deps for older py2 versions

fixes #338
This commit is contained in:
Johan Andersson 2016-02-07 21:08:42 +01:00
parent 293b6ae7e5
commit d66a2a721d

View File

@ -12,7 +12,10 @@ import svtplay_dl
deps = [] deps = []
if sys.version_info[0] == 2 and sys.version_info[1] <= 7 and sys.version_info[2] < 9: if sys.version_info[0] == 2 and sys.version_info[1] <= 7 and sys.version_info[2] < 9:
deps.append("requests[security]>=2.0.0") deps.append("requests>=2.0.0")
deps.append("pyOpenSSL")
deps.append("ndg-httpsclient")
deps.append("pyasn1")
else: else:
deps.append(["requests>=2.0.0"]) deps.append(["requests>=2.0.0"])