Skip to content

Commit

Permalink
chore: 🔧 update build system configuration in pyproject.toml
Browse files Browse the repository at this point in the history
Transitioned from setuptools to hatchling as the build backend in `pyproject.toml`. Updated the build system requirements and included additional configuration for package inclusion. This change enhances the build process and aligns with modern Python packaging standards.
  • Loading branch information
davidgasquez committed Nov 28, 2024
1 parent 8facace commit 7064245
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 7064245

Please sign in to comment.