pyproject.toml 757 B

12345678910111213141516171819202122232425262728293031323334
  1. [build-system]
  2. requires = ["setuptools>=42", "wheel"]
  3. build-backend = "setuptools.build_meta"
  4. [tool.tbump]
  5. github_url = "https://github.com/TomSchimansky/CustomTkinter"
  6. [tool.tbump.version]
  7. current = "5.2.2"
  8. # Example of a semver regexp.
  9. # Make sure this matches current_version before
  10. # using tbump
  11. regex = '''
  12. (?P<major>\d+)
  13. \.
  14. (?P<minor>\d+)
  15. \.
  16. (?P<patch>\d+)
  17. '''
  18. [tool.tbump.git]
  19. message_template = "Bump to {new_version}"
  20. tag_template = "v{new_version}"
  21. # For each file to patch, add a [[tool.tbump.file]] config
  22. # section containing the path of the file, relative to the
  23. # tbump.toml location.
  24. [[tool.tbump.file]]
  25. src = "setup.cfg"
  26. [[tool.tbump.file]]
  27. src = "customtkinter/__init__.py"
  28. search = "__version__ = \"{current_version}\""