2022-05-29 13:39:56 +03:00
|
|
|
import pathlib
|
2022-05-22 11:56:52 +03:00
|
|
|
import re
|
2022-05-29 13:39:56 +03:00
|
|
|
import setuptools
|
2022-05-22 11:56:52 +03:00
|
|
|
|
2022-05-29 13:39:56 +03:00
|
|
|
HERE = pathlib.Path(__file__).parent
|
2022-05-22 11:56:52 +03:00
|
|
|
|
2022-05-29 13:39:56 +03:00
|
|
|
README = (HERE / "README.md").read_text(encoding="utf8")
|
2022-05-22 11:56:52 +03:00
|
|
|
|
2022-05-29 13:39:56 +03:00
|
|
|
with open(HERE / "melisa/__init__.py") as file:
|
2022-06-10 16:59:24 +03:00
|
|
|
version = re.search(
|
2022-06-30 22:29:10 +03:00
|
|
|
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', file.read(), re.MULTILINE
|
|
|
|
).group(1)
|
2022-05-22 11:56:52 +03:00
|
|
|
|
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",
|
2022-05-22 11:56:52 +03:00
|
|
|
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,
|
2022-05-22 11:56:52 +03:00
|
|
|
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"],
|
2023-01-11 16:08:53 +03:00
|
|
|
extras_require={"speedup": ["orjson==3.8.5"]},
|
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
|
|
|
},
|
2022-05-22 11:56:52 +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",
|
2022-05-22 11:56:52 +03:00
|
|
|
"Topic :: Internet",
|
|
|
|
"Topic :: Software Development :: Libraries",
|
2022-05-28 17:45:08 +03:00
|
|
|
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
2022-05-22 11:56:52 +03:00
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
"Topic :: Utilities",
|
|
|
|
"Typing :: Typed",
|
2022-06-30 22:29:10 +03:00
|
|
|
],
|
2022-05-22 11:56:52 +03:00
|
|
|
)
|