aiogram/pyproject.toml

173 lines
3.6 KiB
TOML
Raw Normal View History

2019-11-15 12:18:21 +02:00
[tool.poetry]
name = "aiogram"
version = "3.0.0-beta.5"
2020-01-22 00:38:36 +02:00
description = "Modern and fully asynchronous framework for Telegram Bot API"
2021-10-11 01:26:41 +03:00
authors = [
"Alex Root Junior <jroot.junior@gmail.com>",
]
maintainers = [
"Alex Root Junior <jroot.junior@gmail.com>",
]
2019-11-15 12:18:21 +02:00
license = "MIT"
2021-10-11 01:26:41 +03:00
readme = "README.rst"
2020-01-22 00:38:36 +02:00
homepage = "https://aiogram.dev/"
documentation = "https://docs.aiogram.dev/"
2019-11-18 18:05:47 +02:00
repository = "https://github.com/aiogram/aiogram/"
2020-01-22 00:38:36 +02:00
keywords = [
"telegram",
"bot",
"api",
"framework",
"wrapper",
"asyncio",
2020-01-22 00:38:36 +02:00
]
2019-11-18 18:05:47 +02:00
classifiers = [
2021-12-12 19:06:29 +02:00
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: AsyncIO",
2021-12-12 19:06:29 +02:00
"Typing :: Typed",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
2021-10-06 22:59:23 +03:00
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Application Frameworks",
2019-11-18 18:05:47 +02:00
]
packages = [
{ include = "aiogram" }
]
2019-11-15 12:18:21 +02:00
[tool.poetry.dependencies]
2021-05-25 01:00:36 +03:00
python = "^3.8"
magic-filter = "^1.0.9"
aiohttp = "^3.8.3"
pydantic = "^1.10.2"
aiofiles = "^22.1.0"
# Fast
uvloop = { version = "^0.17.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.4", optional = true }
2019-11-15 12:18:21 +02:00
[tool.poetry.group.docs.dependencies]
Sphinx = "^5.2.2"
sphinx-intl = "^2.0.1"
sphinx-autobuild = "^2021.3.14"
sphinx-copybutton = "^0.5.0"
furo = "^2022.6.21"
sphinx-prompt = "^1.5.0"
Sphinx-Substitution-Extensions = "^2022.2.16"
towncrier = "^22.8.0"
pygments = "^2.4"
pymdown-extensions = "^9.5"
markdown-include = "^0.7.0"
Pygments = "^2.12.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.1.2"
pytest-html = "^3.1.1"
pytest-asyncio = "^0.19.0"
2021-06-19 02:42:56 +03:00
pytest-lazy-fixture = "^0.6.3"
pytest-mock = "^3.8.2"
pytest-mypy = "^0.9.1"
pytest-cov = "^3.0.0"
pytest-aiohttp = "^1.0.4"
aresponses = "^2.1.6"
asynctest = "^0.13.0"
[tool.poetry.group.dev.dependencies]
black = "^22.6.0"
isort = "^5.10.1"
flake8 = "^5.0.4"
mypy = "^0.981"
toml = "^0.10.2"
pre-commit = "^2.20.0"
packaging = "^21.3"
typing-extensions = "^4.3.0"
2021-06-19 02:42:56 +03:00
2019-11-15 12:18:21 +02:00
[tool.poetry.extras]
fast = ["uvloop"]
redis = ["redis"]
proxy = ["aiohttp-socks"]
i18n = ["Babel"]
2019-06-29 19:53:18 +03:00
[tool.black]
line-length = 99
target-version = ['py38', 'py39', 'py310']
2019-06-29 19:53:18 +03:00
exclude = '''
(
2019-11-15 12:18:21 +02:00
\.eggs
| \.git
| \.tox
| build
| dist
| venv
| docs
2019-06-29 19:53:18 +03:00
)
2019-11-15 12:18:21 +02:00
'''
[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"
]
2019-11-15 12:18:21 +02:00
[tool.towncrier]
package = "aiogram"
filename = "CHANGES.rst"
directory = "CHANGES/"
template = "CHANGES/.template.rst.jinja2"
2021-08-03 23:50:10 +03:00
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
2019-11-15 12:18:21 +02:00
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"