Skip to content

Commit 0b5ddd8

Browse files
committed
Move to hatchling!
1 parent d6acd28 commit 0b5ddd8

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ target/
6666
travis_pypi_setup.py
6767
Pipfile
6868
Pipfile.lock
69+
70+
.DS_Store

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools>=69", "wheel"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "ioc_finder"
@@ -81,11 +81,11 @@ dev = [
8181
"ruff>=0.11.0,<0.12.0",
8282
]
8383

84-
[tool.setuptools]
85-
include-package-data = true
84+
[tool.hatch.build.targets.sdist]
85+
exclude = ["venv", ".venv"]
8686

87-
[tool.setuptools.packages.find]
88-
exclude = ["tests", "docs"]
87+
[tool.hatch.build.targets.wheel]
88+
packages = ["ioc_finder"]
8989

9090
[tool.ruff]
9191
line-length = 120

0 commit comments

Comments
 (0)