This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
68 lines (64 loc) · 2.14 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
import itertools
from pathlib import Path
import tomli
from setuptools import find_packages, setup
with open("pyproject.toml", "rb") as f:
pyproject = tomli.load(f)
extras_require = {
"voice": ["PyNaCl>=1.5.0,<1.6"],
"speedup": ["aiodns", "orjson", "Brotli"],
"sentry": ["sentry-sdk"],
"jurigged": ["jurigged"],
}
extras_require["all"] = list(itertools.chain.from_iterable(extras_require.values()))
extras_require["docs"] = extras_require["all"] + [
"mkdocs-autorefs",
"mkdocs-awesome-pages-plugin",
"mkdocs-material",
"mkdocstrings-python",
"mkdocs-minify-plugin",
"mkdocs-git-committers-plugin-2",
"mkdocs-git-revision-date-localized-plugin",
]
extras_require["tests"] = [
"pytest",
"pytest-recording",
"pytest-asyncio",
"pytest-cov",
"python-dotenv",
"typeguard",
]
setup(
name="naff",
description=pyproject["tool"]["poetry"]["description"],
long_description=(Path(__file__).parent / "README.md").read_text(),
long_description_content_type="text/markdown",
author="LordOfPolls",
author_email="[email protected]",
url="https://github.com/Discord-Snake-Pit/NAFF",
version=pyproject["tool"]["poetry"]["version"],
packages=find_packages(),
include_package_data=True,
python_requires=">=3.10",
install_requires=(Path(__file__).parent / "requirements.txt").read_text().splitlines(),
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: AsyncIO",
"Framework :: aiohttp",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Documentation",
"Typing :: Typed",
],
project_urls={
"Discord": "https://discord.gg/hpfNhH8BsY",
"Documentation": "https://naff-docs.readthedocs.io/en/latest/",
},
extras_require=extras_require,
)