scdl/setup.py
7x11x13 9fd4814e1f
Typecheck with mypy, lint and format with ruff (#499)
* Lint and format with ruff, check types with mypy

* Fix mypy checks

* Update CI

* Remove shebangs

* Ignore EXE rules

* Fix EOL

* Fix mypy for 3.7

* Fix CI

* Fix CI

* Ensure filelock path exists

* ci: various ci fixes (#500)

---------

Co-authored-by: Arsenii es3n1n <me@es3n.in>
2024-07-09 10:51:23 -04:00

66 lines
1.8 KiB
Python
Executable File

from os import path
from setuptools import find_packages, setup
import scdl
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="scdl",
version=scdl.__version__,
packages=find_packages(),
include_package_data=True,
author="FlyinGrub",
author_email="flyinggrub@gmail.com",
description="Download Music from Souncloud",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[
"docopt-ng",
"mutagen>=1.45.0",
"termcolor",
"requests",
"tqdm",
"pathvalidate",
"soundcloud-v2>=1.5.2",
"filelock>=3.0.0",
"typing_extensions; python_version < '3.11'",
],
extras_require={
"dev": [
"pytest",
"pytest-cov",
"pytest-dotenv",
"music-tag",
"ruff",
"mypy",
"types-requests",
"types-tqdm",
],
},
url="https://github.com/flyingrub/scdl",
classifiers=[
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet",
"Topic :: Multimedia :: Sound/Audio",
],
python_requires=">=3.7",
entry_points={
"console_scripts": [
"scdl = scdl.scdl:main",
],
},
)