melisa/setup.py

54 lines
1.8 KiB
Python
Raw Permalink Normal View History

2022-05-29 13:39:56 +03:00
import pathlib
import re
2022-05-29 13:39:56 +03:00
import setuptools
2022-05-29 13:39:56 +03:00
HERE = pathlib.Path(__file__).parent
2022-05-29 13:39:56 +03:00
README = (HERE / "README.md").read_text(encoding="utf8")
2022-05-29 13:39:56 +03:00
with open(HERE / "melisa/__init__.py") as file:
version = re.search(
2022-06-30 22:29:10 +03:00
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', file.read(), re.MULTILINE
).group(1)
2022-05-29 13:39:56 +03:00
setuptools.setup(
2022-06-30 22:29:10 +03:00
name="melisa",
author="MelisaDev",
url="https://github.com/MelisaDev/melisa",
version=version,
2022-05-29 13:39:56 +03:00
packages=setuptools.find_packages(),
2022-06-30 22:29:10 +03:00
license="MIT",
description="Cache-optimized Discord microframework for Python 3",
2022-05-29 13:39:56 +03:00
long_description=README,
long_description_content_type="text/markdown",
include_package_data=True,
2022-06-30 22:29:10 +03:00
python_requires=">=3.8,<3.11",
2022-05-29 13:39:56 +03:00
zip_safe=False,
2022-06-30 22:29:10 +03:00
install_requires=["aiohttp", "typing_extensions"],
extras_require={"speedup": ["orjson==3.8.12"]},
2022-05-29 13:39:56 +03:00
test_suite="tests",
project_urls={
"Documentation": "https://docs.melisapy.site/",
"Source (GitHub)": "https://github.com/MelisaDev/melisa",
"Discord": "https://discord.gg/QX4EG8f7aD",
2022-05-28 17:45:08 +03:00
},
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
2022-05-28 17:45:08 +03:00
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Communications :: Chat",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
2022-05-28 17:45:08 +03:00
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed",
2022-06-30 22:29:10 +03:00
],
)