Replies: 1 comment 2 replies
-
The example you cited is to create a new package containing a new version provider. As a python user, if you are not using a Sample: # .cz.toml
[tool.commitizen]
version = "0.1.0"
update_changelog_on_bump = true
version_files = [
"setup.cfg:version"
] You can also run That's all you need. If you want to create a new version provider that modifies the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a project i want to test commitzen with.
It uses only setup.cfg, so no setup.py because starting with setuptools version 30.3.0 (8 Dec 2016), the setup.cfg file is sufficient for packaging and you don't strictly need a setup.py file anymore.
The docs seem to only cover examples using setup.py. See https://commitizen-tools.github.io/commitizen/config/#custom-version-provider
when i tried the following command
i get
this is the first 3 lines in my setup.cfg
so I was wondering if setup.cfg alone is enough to work with commitizen
Thank you
Beta Was this translation helpful? Give feedback.
All reactions