forked from NAFTeam/NAFF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (50 loc) · 1.92 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
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", "yt-dlp"]}
extras_require["all"] = list(itertools.chain.from_iterable(extras_require.values()))
extras_require["docs"] = extras_require["all"] + [
"pytkdocs @ git+https://github.com/LordOfPolls/pytkdocs.git",
"mkdocs-autorefs",
"mkdocs-awesome-pages-plugin",
"mkdocs-material",
"mkdocstrings",
]
setup(
name=pyproject["tool"]["poetry"]["name"],
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/Dis-Snek",
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/dis-snek",
"Documentation": "https://dis-snek.readthedocs.io",
"Trello Board": "https://trello.com/b/LVjnmYKt/dev-board",
},
extras_require=extras_require,
)