Skip to content

Commit

Permalink
use hatchling build backend
Browse files Browse the repository at this point in the history
  • Loading branch information
amorison committed Sep 4, 2024
1 parent ce175f1 commit bcb0f36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
*.swp
__pycache__/
/.coverage
/build
/uv.lock
10 changes: 3 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"

[project]
name = "loam"
Expand Down Expand Up @@ -31,12 +31,8 @@ dependencies = [
"toml>=0.10.2",
]

[tool.setuptools.packages.find]
[tool.hatch.build.targets.sdist]
include = ["loam"]
namespaces = false

[tool.setuptools.package-data]
loam = ["py.typed"]

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down

0 comments on commit bcb0f36

Please sign in to comment.