mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
177 lines
4 KiB
TOML
177 lines
4 KiB
TOML
[tool.poetry]
|
|
name = "aiogram"
|
|
version = "3.0.0-beta.4"
|
|
description = "Modern and fully asynchronous framework for Telegram Bot API"
|
|
authors = [
|
|
"Alex Root Junior <jroot.junior@gmail.com>",
|
|
]
|
|
maintainers = [
|
|
"Alex Root Junior <jroot.junior@gmail.com>",
|
|
]
|
|
license = "MIT"
|
|
readme = "README.rst"
|
|
homepage = "https://aiogram.dev/"
|
|
documentation = "https://docs.aiogram.dev/"
|
|
repository = "https://github.com/aiogram/aiogram/"
|
|
keywords = [
|
|
"telegram",
|
|
"bot",
|
|
"api",
|
|
"framework",
|
|
"wrapper",
|
|
"asyncio",
|
|
]
|
|
classifiers = [
|
|
"License :: OSI Approved :: MIT License",
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Console",
|
|
"Framework :: AsyncIO",
|
|
"Typing :: Typed",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: System Administrators",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.8"
|
|
magic-filter = "^1.0.7"
|
|
aiohttp = "^3.8.1"
|
|
pydantic = "^1.9.1"
|
|
aiofiles = "^0.8.0"
|
|
# Fast
|
|
uvloop = { version = "^0.16.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'", optional = true }
|
|
# i18n
|
|
Babel = { version = "^2.9.1", optional = true }
|
|
# Proxy
|
|
aiohttp-socks = { version = "^0.7.1", optional = true }
|
|
# Redis
|
|
redis = {version = "^4.3.3", optional = true}
|
|
# Docs
|
|
Sphinx = { version = "^4.2.0", optional = true }
|
|
sphinx-intl = {version = "^2.0.1", optional = true}
|
|
sphinx-autobuild = { version = "^2021.3.14", optional = true }
|
|
sphinx-copybutton = { version = "^0.5.0", optional = true }
|
|
furo = {version = "^2022.6.21", optional = true}
|
|
sphinx-prompt = { version = "^1.5.0", optional = true }
|
|
Sphinx-Substitution-Extensions = { version = "^2020.9.30", optional = true }
|
|
towncrier = { version = "^21.9.0", optional = true }
|
|
pygments = { version = "^2.4", optional = true }
|
|
pymdown-extensions = {version = "^9.5", optional = true}
|
|
markdown-include = { version = "^0.6", optional = true }
|
|
Pygments = {version = "^2.12.0", optional = true}
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
black = "^22.1.0"
|
|
isort = "^5.10.1"
|
|
flake8 = "^4.0.1"
|
|
mypy = "^0.961"
|
|
pytest = "^7.1.2"
|
|
pytest-html = "^3.1.1"
|
|
pytest-asyncio = "^0.18.1"
|
|
pytest-lazy-fixture = "^0.6.3"
|
|
pytest-mock = "^3.8.1"
|
|
pytest-mypy = "^0.9.1"
|
|
pytest-cov = "^3.0.0"
|
|
pytest-aiohttp = "^1.0.4"
|
|
aresponses = "^2.1.5"
|
|
asynctest = "^0.13.0"
|
|
toml = "^0.10.2"
|
|
|
|
pre-commit = "^2.19.0"
|
|
packaging = "^21.3"
|
|
typing-extensions = "^4.2.0"
|
|
|
|
|
|
[tool.poetry.extras]
|
|
fast = ["uvloop"]
|
|
redis = ["redis"]
|
|
proxy = ["aiohttp-socks"]
|
|
i18n = ["Babel"]
|
|
docs = [
|
|
"sphinx",
|
|
"sphinx-intl",
|
|
"sphinx-autobuild",
|
|
"sphinx-copybutton",
|
|
"furo",
|
|
"black",
|
|
"sphinx-prompt",
|
|
"Sphinx-Substitution-Extensions",
|
|
"towncrier",
|
|
"pygments",
|
|
"pymdown-extensions",
|
|
"markdown-include",
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 99
|
|
target-version = ['py38', 'py39', 'py310']
|
|
exclude = '''
|
|
(
|
|
\.eggs
|
|
| \.git
|
|
| \.tox
|
|
| build
|
|
| dist
|
|
| venv
|
|
| docs
|
|
)
|
|
'''
|
|
|
|
[tool.isort]
|
|
multi_line_output = 3
|
|
include_trailing_comma = true
|
|
force_grid_wrap = 0
|
|
use_parentheses = true
|
|
line_length = 99
|
|
known_third_party = [
|
|
"aiofiles",
|
|
"aiohttp",
|
|
"aiohttp_socks",
|
|
"aresponses",
|
|
"packaging",
|
|
"pkg_resources",
|
|
"pydantic",
|
|
"pytest"
|
|
]
|
|
|
|
[tool.towncrier]
|
|
package = "aiogram"
|
|
filename = "CHANGES.rst"
|
|
directory = "CHANGES/"
|
|
template = "CHANGES/.template.rst.jinja2"
|
|
issue_format = "`#{issue} <https://github.com/aiogram/aiogram/issues/{issue}>`_"
|
|
|
|
[[tool.towncrier.section]]
|
|
path = ""
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "feature"
|
|
name = "Features"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "bugfix"
|
|
name = "Bugfixes"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "doc"
|
|
name = "Improved Documentation"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "removal"
|
|
name = "Deprecations and Removals"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "misc"
|
|
name = "Misc"
|
|
showcontent = true
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|