Specify the build-system in pyproject.toml

- Needed so that "uv tool install" can work with a git url.
- pipx seemed to work without this.
- Also need to ensure that tools.toml is installed as package-data.
This commit is contained in:
Andrew Hamilton 2025-06-04 15:49:44 +10:00
parent 06e9250888
commit 0effc3da49

View file

@ -37,5 +37,12 @@ pydoc_color = "eris.pydoc_color:main"
[project.urls]
homepage = "https://github.com/ahamilton/eris"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages=["eris"]
[tool.setuptools.package-data]
"eris" = ["tools.toml"]