Skip to content

Commit ffb0c02

Browse files
committed
Remove Poetry specific configuration from Python's project file.
1 parent b87daa0 commit ffb0c02

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,23 @@ dependencies = [
2525
"granian>=2.2.5",
2626
]
2727

28-
[tool.poetry.group.dev.dependencies]
29-
sphinx = "^8.1"
30-
sphinx-rtd-theme = "^3.0.1"
31-
sphinxcontrib-httpdomain = "*"
28+
[dependency-groups]
29+
dev = [
30+
"sphinx<=8.1",
31+
"sphinx-rtd-theme<=3.0.1",
32+
"sphinxcontrib-httpdomain",
33+
]
3234

33-
[tool.poetry.scripts]
35+
[project.scripts]
3436
mapserver = 'mapserver.__main__:mapserver'
3537
mapviewer = 'mapserver.__main__:mapviewer'
3638

3739
[build-system]
38-
requires = ["poetry-core>=1.0.0"]
39-
build-backend = "poetry.core.masonry.api"
40+
requires = ["hatchling"]
41+
build-backend = "hatchling.build"
42+
43+
[tool.hatch.metadata]
44+
allow-direct-references = true
4045

4146
[tool.pyright]
4247
pythonVersion = "3.12"

0 commit comments

Comments
 (0)