Telethon/client/pyproject.toml

67 lines
1.7 KiB
TOML
Raw Normal View History

2023-07-05 23:35:06 +03:00
[project]
name = "Telethon"
description = "Full-featured Telegram client library"
authors = [
{ name="Lonami", email="totufals@hotmail.com" },
]
readme = "README.md"
license = {file = "LICENSE"}
2024-10-19 16:55:33 +03:00
requires-python = ">=3.9"
2023-07-05 23:35:06 +03:00
keywords = ["telegram", "chat", "messaging", "mtproto", "telethon"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Communications :: Chat",
"Typing :: Typed",
]
dependencies = [
"pyaes~=1.6",
"rsa~=4.9",
"markdown-it-py~=3.0",
"typing-extensions~=4.12.2",
2023-07-05 23:35:06 +03:00
]
dynamic = ["version"]
[project.optional-dependencies]
2024-10-14 19:32:38 +03:00
cryptg = ["cryptg~=0.5"]
dev = [
"mypy~=1.11.2",
"ruff~=0.6.8",
"pytest~=7.3",
"pytest-asyncio~=0.21",
]
2023-09-13 20:01:16 +03:00
doc = [
"sphinx_rtd_theme~=1.2",
"types-docutils~=0.20",
]
2023-07-05 23:35:06 +03:00
[project.urls]
"Homepage" = "https://telethon.dev/"
"Source" = "https://telethon.dev/code/"
"Documentation" = "https://telethon.dev/docs/"
"Bug Tracker" = "https://telethon.dev/issues/"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "backend"
backend-path = ["build_backend"]
2023-07-05 23:35:06 +03:00
[tool.setuptools.dynamic]
2023-09-13 20:01:16 +03:00
version = {attr = "telethon.version.__version__"}
2023-10-12 19:17:41 +03:00
[tool.ruff]
exclude = ["doc"]
[tool.ruff.lint]
select = ["F", "E", "W", "I", "N", "ANN"]
2023-10-12 19:17:41 +03:00
ignore = [
"E501", # formatter takes care of lines that are too long besides documentation
"ANN101", # Missing type annotation for `self` in method
"ANN102", # Missing type annotation for `cls` in classmethod
"ANN401", # Dynamically typed expressions (typing.Any) are not type checked
2023-10-12 19:17:41 +03:00
]