Conversation
Lee-W
left a comment
There was a problem hiding this comment.
I think we need to change the files in https://github.com/commitizen-tools/commitizen_cz_template/tree/master/%7B%7Bcookiecutter.cz_name%7D%7D
also this should be categorized as a feature instead of a doc
| [build-system] | ||
| requires = ["poetry_core>=1.0.0"] | ||
| build-backend = "poetry.core.masonry.api" | ||
| requires = ["setuptools>=61"] |
There was a problem hiding this comment.
do i replace it uv_build ?
which files we need to change ? |
pyproject.toml and setup.py and etc. please take a look at how cookie-cutter works and you'll have a better idea. Thanks! |
Summary
This updates the commitizen_cz_template to follow newer Python packaging conventions:
pyproject.tomlsetup.pyin favor of pyproject-only packagingsrc/layoutNote on
__init__.pyThe previously added
__init__.pyis removed as part of this change.With the new
src/cz_*.pylayout, entry points resolve from the installed module undersrc/, making__init__.pyunnecessary.Related to commitizen-tools/commitizen#1709