diff --git a/pyproject.toml b/pyproject.toml index c4cc5131..b9be87eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "labthings-fastapi" -version = "0.0.8" +version = "0.0.9" authors = [ { name="Richard Bowman", email="richard.bowman@cantab.net" }, ] @@ -39,11 +39,20 @@ server = [ "Bug Tracker" = "https://github.com/rwb27/labthings-fastapi/issues" [build-system] -requires = ["setuptools>=61.0"] -build-backend = "setuptools.build_meta" +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.sdist] +include = [ + "src" +] +artifacts = ["src/*.json"] + +[tool.hatch.build.targets.wheel] +artifacts = ["src/*.json"] [tool.ruff] -target-version = "py39" +target-version = "py310" [tool.mypy] plugins = ["pydantic.mypy", "numpy.typing.mypy_plugin"]