From c1bc736aaaeed41d2303da31581b05b9bde83ab4 Mon Sep 17 00:00:00 2001 From: Morgan Williams Date: Wed, 24 Dec 2025 18:39:25 +0100 Subject: [PATCH] Add spatial-maker CLI entry point for global installation - Add project.scripts entry point - Add hatchling build-system - Configure wheel to include pipeline.py and scripts/ Usage: uv tool install . or uv run spatial-maker --- pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e915e80..60c8d75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,17 @@ dependencies = [ "tqdm>=4.67.1", ] +[project.scripts] +spatial-maker = "pipeline:main" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["."] +include = ["pipeline.py", "scripts/"] + [tool.ruff.format] quote-style = "single" indent-style = "tab" -- knotmirror 0.0.1