From 0effc3da490c3fa77f2ac1bb57192e5b1ec23941 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Wed, 4 Jun 2025 15:49:44 +1000 Subject: [PATCH] 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. --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 30c4a4e..f1555a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]