Skip to content

Commit 3364ae1

Browse files
committed
src: fix version incorrect
Signed-off-by: ChaoLiu <[email protected]>
1 parent 8b011b3 commit 3364ae1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "splitpatch"
3-
version = "1.0.1"
3+
dynamic = ["version"]
44
authors = [
55
{ name="Chao Liu", email="[email protected]" },
66
]
@@ -23,4 +23,7 @@ requires = ["setuptools >= 77.0.3"]
2323
build-backend = "setuptools.build_meta"
2424

2525
[tool.setuptools.packages.find]
26-
exclude = ["tests", "tests.*", ".github"]
26+
exclude = ["tests", "tests.*", ".github"]
27+
28+
[tool.setuptools.dynamic]
29+
version = {attr = "splitpatch.__version__"}

splitpatch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import logging
55

6-
__version__ = "0.1.0"
6+
__version__ = "1.0.2"
77

88
logger = logging.getLogger(__name__)
99

0 commit comments

Comments
 (0)