From 84a98f286710ae33bda9e91e36b38c80bef9ce33 Mon Sep 17 00:00:00 2001 From: Paillat-dev Date: Sat, 8 Mar 2025 18:32:15 +0100 Subject: [PATCH] :construction_worker: Add build system configuration with hatchling --- pyproject.toml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f410960..e7ce4de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,16 @@ dev = [ "ruff>=0.9.9", ] +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatchling] +name = "pycord-rest-bot" + +[tool.hatch.build.targets.wheel] +packages = ["src/pycord_rest"] + [tool.pyright] pythonVersion = "3.12" reportAny = false @@ -74,4 +84,7 @@ extend-ignore = [ "PLR2004", "PLR0913", "C901" -] \ No newline at end of file +] + +[tool.uv.workspace] +members = ["test"]