Skip to content

Commit b6ca66c

Browse files
committed
Use dynamic version
1 parent 7496cff commit b6ca66c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

DEVELOPING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ uv add <somepackage> --optional <somegroup>
2626

2727
## Creating Distributions
2828

29-
Make sure the versions in [version.py](./wfdb/version.py) and [pyproject.toml](./pyproject.toml) are updated and kept in sync.
29+
Make sure to update the version in [version.py](./wfdb/version.py) accordingly.
3030

3131
It may be useful to publish to testpypi and preview the changes before publishing to PyPi. However, the project dependencies likely will not be available when trying to install from there.
3232

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "wfdb"
7-
version = "4.1.2"
87
description = "The WFDB Python package: tools for reading, writing, and processing physiologic signals and annotations."
98
authors = [{name = "The Laboratory for Computational Physiology", email = "contact@physionet.org"}]
109
license = {text = "MIT License"}
@@ -18,6 +17,7 @@ dependencies = [
1817
"matplotlib >= 3.2.2",
1918
"requests >= 2.8.1",
2019
]
20+
dynamic = ["version"]
2121

2222
[project.optional-dependencies]
2323
dev = [
@@ -44,3 +44,6 @@ exclude = [
4444
"/demo-img.png",
4545
"/demo.ipynb",
4646
]
47+
48+
[tool.hatch.version]
49+
path = "wfdb/version.py"

0 commit comments

Comments
 (0)