This repository was archived by the owner on Jan 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (74 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
89 lines (74 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "aiotdlib"
dynamic = ["version"]
description = "Python asyncio Telegram client based on TDLib"
authors = [{ name = "pylakey", email = "pylakey@protonmail.com" }]
maintainers = [{ name = "pylakey", email = "pylakey@protonmail.com" }]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Framework :: AsyncIO",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX :: BSD :: FreeBSD",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"pydantic>=2,<3",
"sortedcontainers>=2.4.0",
"ujson>=5",
"pydantic-settings>=2.1.0,<3",
]
[project.optional-dependencies]
dev = ["Jinja2>=3.1.3", "pydash>=7.0.4", "black>=23.3,<25.0"]
[project.urls]
Source = "https://github.com/pylakey/aiotdlib"
Homepage = "https://github.com/pylakey/aiotdlib"
[project.scripts]
aiotdlib_generator = "aiotdlib_generator.__main__:main"
[tool.hatch.version]
path = "aiotdlib/__init__.py"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build]
skip-excluded-dirs = true
[tool.hatch.build.targets.sdist]
exclude = [
"**/__pycache__",
"**/*.py[cod]",
"tdlib/*.so",
"tdlib/*.dylib",
"aiotdlib/tdlib/*.so",
"aiotdlib/tdlib/*.dylib",
"*.so",
"*.dylib",
]
[tool.hatch.build.targets.wheel]
only-packages = true
artifacts = ["aiotdlib/tdlib/*"]
packages = ["aiotdlib"]
[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build.py"
[tool.ruff]
src = ["aiotdlib"]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
extend-select = ["I"]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"B", # flake8-bugbear
"I001", # isort,
"D403", # docstring
]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["aiotdlib"]