forked from spaam/svtplay-dl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (45 loc) · 1.7 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
from setuptools import setup, find_packages
import sys
import os
srcdir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib/")
sys.path.insert(0, srcdir)
import svtplay_dl
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("pyOpenSSL")
deps.append("ndg-httpsclient")
deps.append("pyasn1")
else:
deps.append(["requests>=2.0.0"])
setup(
name = "svtplay-dl",
version = svtplay_dl.__version__,
packages = find_packages(
'lib',
exclude=["tests", "*.tests", "*.tests.*"]),
install_requires=deps,
package_dir = {'': 'lib'},
scripts = ['bin/svtplay-dl'],
author = "Johan Andersson",
author_email = "[email protected]",
description = "Command-line program to download videos from various video on demand sites",
license = "MIT",
url = "https://svtplay-dl.se",
classifiers=["Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
"Topic :: Utilities"]
)