From 42acd6db75cfb366e4f6b5de0bf7c7508eec6796 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Wed, 18 Dec 2024 23:31:33 +1000 Subject: [PATCH] packaging: Try to have package-data included in lscolors --- lscolors/pyproject.toml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lscolors/pyproject.toml b/lscolors/pyproject.toml index 7fd4544..676a100 100644 --- a/lscolors/pyproject.toml +++ b/lscolors/pyproject.toml @@ -1,4 +1,9 @@ -tool.uv.package = true +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true [project] name = "lscolors" @@ -14,3 +19,11 @@ dependencies = [ [project.urls] Homepage = "https://github.com/ahamilton/eris" + +[tool.hatch.version] +path = "lscolors/__init__.py" + +[tool.hatch.build.targets.sdist] +include = [ + "/lscolors", +]