diff --git a/pyproject.toml b/pyproject.toml index 7291237..59fa066 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,16 +23,19 @@ Changelog = "https://github.com/datonic/datadex/commits/main/" Issues = "https://github.com/datonic/datadex/issues" CI = "https://github.com/datonic/datadex/actions" -[tool.setuptools] -packages = ["datadex"] - [tool.dagster] module_name = "datadex.definitions" code_location_name = "datadex" -[build-system] -requires = ["setuptools"] -build-backend = "setuptools.build_meta" - [dependency-groups] dev = ["dagster-webserver>=1.9.3", "ipykernel>=6.29.5"] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build] +include = ["datadex/**/*.py", "dbt/**/*"] + +[tool.hatch.build.targets.wheel] +packages = ["datadex"]