-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
88 lines (83 loc) · 2.34 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
extras_require = {
"test": [
"pytest>=7.0",
],
"lint": [
"black>=23.1.0",
"mypy>=1.0,<2",
"types-requests",
"types-setuptools",
"flake8>=5.0.4",
"isort>=5.10.1",
"mdformat>=0.7.16",
"mdformat-gfm>=0.3.5",
"mdformat-frontmatter>=0.4.1",
],
"doc": [
"Sphinx>=3.4.3,<4",
"sphinx_rtd_theme>=0.1.9,<1",
"towncrier>=19.2.0, <20",
],
"release": [
"setuptools",
"setuptools-scm",
"wheel",
"twine==3.8",
],
"vlc": [
"python-vlc>=3.0.18121,<4",
],
}
# NOTE: `pip install -e .[dev]` to install package
extras_require["dev"] = (
extras_require["test"]
+ extras_require["lint"]
+ extras_require["doc"]
+ extras_require["release"]
+ extras_require["vlc"]
)
with open("./README.md") as readme:
long_description = readme.read()
setup(
name="audius-py",
use_scm_version=True,
setup_requires=["setuptools_scm"],
description="Interact with the Audius platform in Python and the terminal",
long_description=long_description,
long_description_content_type="text/markdown",
author="Juliya Smith <[email protected]>",
author_email="[email protected]",
url="https://github.com/unparalleled-js/audius-py",
include_package_data=True,
install_requires=[
"requests>=2.28.2,<3",
"click>=8.1.3,<9",
"tqdm>=4.65.0,<5",
"afplay-py>=0.2.0,<0.3",
],
python_requires=">=3.9,<4",
extras_require=extras_require,
py_modules=["audius"],
license="Apache-2.0",
zip_safe=False,
keywords="audius",
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={"audius-py": ["py.typed"]},
entry_points={
"console_scripts": ["audius=audius.cli:audius"],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)