forked from aaronhnsy/discord-ext-lava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (58 loc) · 1.98 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
# Future
from __future__ import annotations
# Standard Library
import re
# Packages
import setuptools
with open("README.md", "r") as file:
LONG_DESCRIPTION = file.read()
with open("requirements.txt") as file:
INSTALL_REQUIRES = file.read().splitlines()
with open("slate/__init__.py") as file:
VERSION = re.search(r"^__version__: [^=]* = \"([^\"]*)\"", file.read(), re.MULTILINE).group(1)
CLASSIFIERS = [
"Framework :: AsyncIO",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Natural Language :: English",
"Typing :: Typed"
]
PROJECT_URLS = {
"Documentation": "https://slate.readthedocs.io/en/latest/",
"Issue Tracker": "https://github.com/Axelancerr/slate/issues",
"Source": "https://github.com/Axelancerr/slate",
}
EXTRAS_REQUIRE = {
"docs": [
"sphinx",
"sphinxcontrib_trio",
"faculty-sphinx-theme",
],
}
setuptools.setup(
author="Axelancerr",
classifiers=CLASSIFIERS,
description='A lavalink, andesite and obsidian websocket/api wrapper.',
extras_require=EXTRAS_REQUIRE,
install_requires=INSTALL_REQUIRES,
include_package_data=True,
license="MIT",
name="slate",
packages=["slate", "slate.objects", "slate.obsidian", "slate.obsidian.objects", "slate.typings"],
project_urls=PROJECT_URLS,
python_requires=">=3.9.0",
url="https://github.com/Axelancerr/slate",
version=VERSION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
)