Skip to content

Commit

Permalink
Use dynamic version
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Oct 15, 2024
1 parent 7496cff commit b6ca66c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ uv add <somepackage> --optional <somegroup>

## Creating Distributions

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

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.

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ build-backend = "hatchling.build"

[project]
name = "wfdb"
version = "4.1.2"
description = "The WFDB Python package: tools for reading, writing, and processing physiologic signals and annotations."
authors = [{name = "The Laboratory for Computational Physiology", email = "[email protected]"}]
license = {text = "MIT License"}
Expand All @@ -18,6 +17,7 @@ dependencies = [
"matplotlib >= 3.2.2",
"requests >= 2.8.1",
]
dynamic = ["version"]

[project.optional-dependencies]
dev = [
Expand All @@ -44,3 +44,6 @@ exclude = [
"/demo-img.png",
"/demo.ipynb",
]

[tool.hatch.version]
path = "wfdb/version.py"

0 comments on commit b6ca66c

Please sign in to comment.