melisa/setup.py

58 lines
1.9 KiB
Python
Raw 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(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', file.read(), re.MULTILINE).group(1)
2022-05-29 13:39:56 +03:00
setuptools.setup(
name='melisa',
2022-05-28 17:45:08 +03:00
author='MelisaDev',
url='https://github.com/MelisaDev/melisa',
version=version,
2022-05-29 13:39:56 +03:00
packages=setuptools.find_packages(),
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-05-28 17:45:08 +03:00
python_requires='>=3.8,<3.11',
2022-05-29 13:39:56 +03:00
zip_safe=False,
install_requires=[
"aiohttp", "typing_extensions"
],
2022-05-28 17:45:08 +03:00
extras_require={
2022-05-29 13:39:56 +03:00
"speedup": [
"orjson==3.6.8"
]
},
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",
]
)