Specify python dependencies in pyproject.toml

Improves integration with other tools
This commit is contained in:
Kovid Goyal
2025-09-16 16:42:01 +05:30
parent 177a3f9e51
commit 78898b3c0b
2 changed files with 93 additions and 112 deletions

View File

@@ -1,6 +1,14 @@
[project]
requires-python = ">=3.10"
[build-system]
requires = [
# Needed for installing pure python packages at build time
"installer == 0.7.0",
# Needed for some weird reason for glib
"packaging == 23.1",
]
[tool.mypy]
files = 'kitty,kittens,glfw,*.py,docs/conf.py,gen'
no_implicit_optional = true