Skip to content

Commit ea6e008

Browse files
committed
build: 🔧 use PEP621 (uv default) pyproject.toml
1 parent 2af4d50 commit ea6e008

File tree

1 file changed

+23
-26
lines changed

1 file changed

+23
-26
lines changed

pyproject.toml

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,41 @@
1-
[tool.poetry]
1+
[project]
22
name = "template-python-package"
3-
version = "0.0.1"
4-
description = ""
3+
version = "0.1.0"
4+
description = "Template Python Package"
55
authors = [
6-
"Luke W. Johnston <[email protected]>",
7-
"Kristiane Beicher <[email protected]>",
8-
"Signe Kirk Brødbæk <[email protected]>",
9-
"Marton Vago <[email protected] >",
6+
{name = "Luke W. Johnston", email = "[email protected]" },
7+
{name = "Kristiane Beicher", email = "[email protected]" },
8+
{name = "Signe Kirk Brødbæk", email = "[email protected]" },
9+
{name = "Marton Vago", email = "[email protected]" },
1010
]
1111
maintainers = [
12-
"Luke W. Johnston <[email protected]>",
13-
"Kristiane Beicher <[email protected]>",
14-
"Signe Kirk Brødbæk <[email protected]>",
15-
"Marton Vago <[email protected] >",
12+
{name = "Luke W. Johnston", email = "[email protected]" },
13+
{name = "Kristiane Beicher", email = "[email protected]" },
14+
{name = "Signe Kirk Brødbæk", email = "[email protected]" },
15+
{name = "Marton Vago", email = "[email protected]" },
1616
]
1717
readme = "README.md"
18-
homepage = "https://NAME.seedcase-project.org"
19-
repository = "https://github.com/seedcase-project/REPO"
2018
license = "MIT"
19+
license-files = ["LICENSE.md"]
20+
requires-python = ">=3.12"
21+
dependencies = []
2122

22-
[tool.poetry.urls]
23-
"Bug Tracker" = "https://github.com/seedcase-project/REPO/issues"
24-
25-
[tool.poetry.dependencies]
26-
python = "^3.12"
27-
28-
[tool.poetry.group.test.dependencies]
29-
pytest = "^8.3.2"
23+
# TODO: Update these
24+
[project.urls]
25+
homepage = "https://PROJECT.seedcase-project.org"
26+
repository = "https://github.com/seedcase-project/REPO"
27+
changelog = "https://github.com/seedcase-project/REPO/blob/main/CHANGELOG.md"
28+
issues = "https://github.com/seedcase-project/REPO/issues"
3029

31-
[tool.poetry.group.dev.dependencies]
32-
ruff = "^0.6.2"
3330

3431
[build-system]
35-
requires = ["poetry-core"]
36-
build-backend = "poetry.core.masonry.api"
32+
requires = ["hatchling"]
33+
build-backend = "hatchling.build"
3734

3835
[tool.pytest.ini_options]
3936
addopts = [
4037
# A short traceback mode to make it easier to view
4138
"--tb=short",
42-
# Use the package in `src/`
39+
# Use the `src/` package
4340
"--import-mode=importlib",
4441
]

0 commit comments

Comments
 (0)