FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: update cz_template by Stoiicc · Pull Request #7 · commitizen-tools/commitizen_cz_template · GitHub

feat: update cz_template - #7

Open
Stoiicc wants to merge 1 commit into
commitizen-tools:masterfrom
Stoiicc:docs/update-cz-template-page
Open

feat: update cz_template#7
Stoiicc wants to merge 1 commit into
commitizen-tools:masterfrom
Stoiicc:docs/update-cz-template-page

Conversation

Stoiicc commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Summary

This updates the commitizen_cz_template to follow newer Python packaging conventions:

  • migrate metadata to pyproject.toml
  • remove setup.py in favor of pyproject-only packaging
  • move the generated module to a src/ layout

Note on __init__.py

The previously added __init__.py is removed as part of this change.
With the new src/cz_*.py layout, entry points resolve from the installed module under src/, making __init__.py unnecessary.

Related to commitizen-tools/commitizen#1709

Lee-W left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Comment thread pyproject.toml
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["setuptools>=61"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

do we still need setuptools

Stoiicc Jan 8, 2026
edited
Loading

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

do i replace it uv_build ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

sounds like a good idea

Stoiicc commented Jan 8, 2026

Copy link
Copy Markdown
Contributor Author

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

which files we need to change ?

Stoiicc changed the title docs: update cz_template feat: update cz_template Jan 8, 2026

Lee-W commented Jan 12, 2026

Copy link
Copy Markdown
Member

I think we need to change the files in master/%7B%7Bcookiecutter.cz_name%7D%7D

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!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL