Skip to content

Commit 5522041

Browse files
nekealqwencoder
andcommitted
Migrate root project from Poetry to uv/hatchling
- Convert pyproject.toml from Poetry to PEP 621 format - Use hatchling as build backend - Add dependency-groups for dev dependencies - Fix trailing newlines in workflow templates Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
1 parent 34a4521 commit 5522041

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[project]
2+
name = "cookiecutter-python-package"
3+
version = "0.1.0"
4+
description = "Cookiecutter template for Python packages"
5+
authors = [{name = "Szymon Cader", email = "szymon.sc.cader@gmail.com"}]
6+
readme = "README.md"
7+
requires-python = ">=3.11"
8+
dependencies = [
9+
"cookiecutter>=2.2.3",
10+
"pytest>=7.4.0",
11+
"pyyaml>=6.0.1",
12+
"toml>=0.10.2",
13+
]
14+
15+
[dependency-groups]
16+
dev = [
17+
"flake8-to-ruff>=0.0.233",
18+
"black>=23.7.0",
19+
"pre-commit>=3.3.3",
20+
"python-redmine>=2.4.0",
21+
"cffi>=1.17.1",
22+
]
23+
24+
[build-system]
25+
requires = ["hatchling"]
26+
build-backend = "hatchling.build"
27+
28+
[tool.hatch.build.targets.wheel]
29+
packages = ["."]

0 commit comments

Comments
 (0)