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", +]