mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
b7c2faad07
Remove py2 references and add pycryptodome as a deps. fixes #850
49 lines
1.5 KiB
Python
49 lines
1.5 KiB
Python
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 = []
|
|
|
|
|
|
deps.append("requests>=2.0.0")
|
|
deps.append("PySocks")
|
|
deps.append("pycryptodome")
|
|
|
|
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="j@i19.se",
|
|
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.7",
|
|
"Programming Language :: Python :: 3.4",
|
|
"Programming Language :: Python :: 3.5",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
"Topic :: Multimedia :: Sound/Audio",
|
|
"Topic :: Multimedia :: Video",
|
|
"Topic :: Utilities"],
|
|
extras_require={"dev": [
|
|
"flake8>=3.5, <3.6",
|
|
"tox>=2.3, <3",
|
|
"rstcheck>=2.2, <4.0"
|
|
]
|
|
}
|
|
)
|