Skip to content

Commit 65dcaf8

Browse files
committed
Update pyproject.toml
1 parent 9a079e2 commit 65dcaf8

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

pyproject.toml

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

55
[project]
66
name = "allocator"
@@ -69,9 +69,9 @@ geo = [
6969
"folium>=0.14.0", # Interactive maps
7070
"polyline>=2.0.0", # Route encoding
7171
]
72-
graph = [
73-
"kahipwrapper>=0.1.0", # KaHIP graph partitioning (if available)
74-
]
72+
# graph = [
73+
# "kahipwrapper>=0.1.0", # KaHIP graph partitioning (if available)
74+
# ]
7575

7676
# Development dependencies
7777
dev = [
@@ -97,7 +97,7 @@ docs = [
9797

9898
# Convenience groups
9999
all = [
100-
"allocator[algorithms,geo,graph]",
100+
"allocator[algorithms,geo]",
101101
]
102102
complete = [
103103
"allocator[all,dev,test,docs]",
@@ -219,4 +219,10 @@ module = [
219219
"ortools.*",
220220
"polyline.*",
221221
]
222-
ignore_missing_imports = true
222+
ignore_missing_imports = true
223+
[tool.hatch.build.targets.wheel]
224+
packages = ["allocator"]
225+
226+
[dependency-groups]
227+
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.7.0", "mypy>=1.0"]
228+
test = ["pytest>=7.0", "pytest-cov>=4.0"]

0 commit comments

Comments
 (0)