Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ cz template for [commitizen](https://github.com/commitizen-tools/commitizen) v3+

## Prerequisites

- Python 3.x
- Poetry 1.2.x
- Python 3.10+
- [cookiecutter](https://cookiecutter.readthedocs.io/en/latest/)
- `python -m pip install cookiecutter`

Expand Down
25 changes: 9 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
[tool.poetry]
[project]
name = "commitizen_cz_template"
version = "0.1.0"
description = "Template for commitizen cz"
authors = ["Wei Lee <weilee.rx@gmail.com>"]
license = "MIT"

[tool.poetry.dependencies]
python = "^3.11"

[tool.poetry.group.dev.dependencies]
commitizen = "^3"

[tool.commitizen]
version = "0.1.0"
requires-python = ">=3.10,<4.0"
dependencies = [
"commitizen>=3",
]

[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["setuptools>=61"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still need setuptools

Copy link
Contributor Author

@BelpHegoR17 BelpHegoR17 Jan 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do i replace it uv_build ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds like a good idea

build-backend = "setuptools.build_meta"

[tool.poetry.plugins."commitizen.plugin"]
cz_{{cookiecutter.cz_name}} = "{{cookiecutter.cz_name}}.cz_{{cookiecutter.cz_name}}:{{cookiecutter.cz_name | capitalize}}Cz"
[project.entry-points."commitizen.plugin"]
cz_{{cookiecutter.cz_name}} = "cz_{{cookiecutter.cz_name}}:{{cookiecutter.cz_name | capitalize}}Cz"
Empty file.
11 changes: 0 additions & 11 deletions {{cookiecutter.cz_name}}/setup.py

This file was deleted.