Skip to content

Commit cce9e1d

Browse files
committed
Changed dependency manager to uv.
1 parent 44eb22a commit cce9e1d

File tree

3 files changed

+2322
-7
lines changed

3 files changed

+2322
-7
lines changed

bumpversion/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Top-level package for bump-my-version."""
22

3-
__version__: str = "0.27.0"
3+
__version__ = "0.27.0"

pyproject.toml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "bump-my-version"
@@ -85,11 +85,12 @@ test = [
8585
"pytest-sugar",
8686
]
8787

88-
[tool.setuptools.dynamic]
89-
version = {attr = "bumpversion.__version__"}
88+
[tool.hatch.version]
89+
path = "bumpversion/__init__.py"
90+
91+
[tool.hatch.build.targets.wheel]
92+
packages = ["bumpversion"]
9093

91-
[tool.setuptools.packages.find]
92-
exclude = ["example*", "tests*", "docs*", "build", "tools", "site"]
9394

9495
[tool.coverage.run]
9596
branch = true

0 commit comments

Comments
 (0)