1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00
svtplay-dl/setup.py

51 lines
1.7 KiB
Python
Raw Normal View History

#!/usr/bin/env python
2014-03-19 22:44:58 +01:00
# 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
2013-03-23 15:17:15 +01:00
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",
2013-03-23 15:17:15 +01:00
version = svtplay_dl.__version__,
packages = find_packages(
'lib',
exclude=["tests", "*.tests", "*.tests.*"]),
install_requires=deps,
package_dir = {'': 'lib'},
2013-03-23 15:17:15 +01:00
scripts = ['bin/svtplay-dl'],
author = "Johan Andersson",
author_email = "j@i19.se",
description = "Command-line program to download videos from various video on demand sites",
license = "MIT",
2016-01-10 22:38:28 +01:00
url = "https://svtplay-dl.se",
2015-09-20 23:36:22 +02:00
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",
2015-10-08 23:03:09 +02:00
"Programming Language :: Python :: 3.5",
2015-09-20 23:36:22 +02:00
"Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
"Topic :: Utilities"]
)