2022-05-08 19:15:40 +03:00
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools>=42", "wheel"]
|
|
|
|
build-backend = "setuptools.build_meta"
|
2022-05-08 19:16:03 +03:00
|
|
|
|
|
|
|
[tool.tbump]
|
|
|
|
github_url = "https://github.com/TomSchimansky/CustomTkinter"
|
|
|
|
|
|
|
|
[tool.tbump.version]
|
2023-02-06 22:07:47 +03:00
|
|
|
current = "5.1.2"
|
2022-05-08 19:16:03 +03:00
|
|
|
|
|
|
|
# Example of a semver regexp.
|
|
|
|
# Make sure this matches current_version before
|
|
|
|
# using tbump
|
|
|
|
regex = '''
|
|
|
|
(?P<major>\d+)
|
|
|
|
\.
|
|
|
|
(?P<minor>\d+)
|
2022-05-22 03:17:43 +03:00
|
|
|
\.
|
|
|
|
(?P<patch>\d+)
|
2022-05-08 19:16:03 +03:00
|
|
|
'''
|
|
|
|
|
|
|
|
[tool.tbump.git]
|
|
|
|
message_template = "Bump to {new_version}"
|
|
|
|
tag_template = "v{new_version}"
|
|
|
|
|
|
|
|
# For each file to patch, add a [[tool.tbump.file]] config
|
|
|
|
# section containing the path of the file, relative to the
|
|
|
|
# tbump.toml location.
|
|
|
|
[[tool.tbump.file]]
|
|
|
|
src = "setup.cfg"
|
|
|
|
|
|
|
|
[[tool.tbump.file]]
|
|
|
|
src = "customtkinter/__init__.py"
|
|
|
|
search = "__version__ = \"{current_version}\""
|