aiogram/pyproject.toml

180 lines
4.1 KiB
TOML
Raw Normal View History

2019-11-15 12:18:21 +02:00
[tool.poetry]
name = "aiogram"
2022-04-19 22:09:43 +03:00
version = "3.0.0-beta.3"
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
]
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.6"
aiohttp = "^3.8.1"
pydantic = "^1.9.0"
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.2.2", optional = true }
# Docs
Sphinx = { version = "^4.2.0", optional = true }
2021-06-19 02:43:55 +03:00
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.4.7", optional = true }
sphinx-prompt = { version = "^1.5.0", optional = true }
2021-06-19 02:43:55 +03:00
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.3", optional = true }
markdown-include = { version = "^0.6", optional = true }
Pygments = { version = "^2.11.2", optional = true }
2019-11-15 12:18:21 +02:00
[tool.poetry.dev-dependencies]
ipython = "^8.1.1"
black = "^22.1.0"
isort = "^5.10.1"
flake8 = "^4.0.1"
mypy = "^0.942"
pytest = "^7.0.1"
pytest-html = "^3.1.1"
pytest-asyncio = "^0.18.1"
2021-06-19 02:42:56 +03:00
pytest-lazy-fixture = "^0.6.3"
pytest-mock = "^3.7.0"
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.17.0"
packaging = "^21.3"
typing-extensions = "^4.1.1"
sentry-sdk = "^1.5.5"
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"]
docs = [
"sphinx",
"sphinx-intl",
"sphinx-autobuild",
"sphinx-copybutton",
"furo",
"black",
"sphinx-prompt",
"Sphinx-Substitution-Extensions",
"towncrier",
"pygments",
"pymdown-extensions",
"markdown-include",
]
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"