generated from Damego/python-pypi-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
46 lines (42 loc) · 1.52 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
from codecs import open
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 = {
"quart": ["quart>=0.15.0"],
"fastapi": ["fastapi>=0.92.0"],
"uvicorn": ["uvicorn>=0.15.0"],
"hypercorn": ["hypercorn>=0.14.0"],
"daphne": ["daphne>=4.0.0"],
}
setup(
name=pyproject["tool"]["poetry"]["name"],
version=pyproject["tool"]["poetry"]["version"],
author="Damego",
author_email="[email protected]",
description=pyproject["tool"]["poetry"]["description"],
include_package_data=True,
install_requires=["discord-py-interactions>=5.0.0,<6.0.0"],
extras_require=extras_require,
license=pyproject["tool"]["poetry"]["license"],
long_description=(Path(__file__).parent / "README.md").read_text(),
long_description_content_type="text/markdown",
url="https://github.com/interactions-py/restful",
packages=find_packages(),
python_requires=">=3.10",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
],
)