-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #501. To do: - [ ] Adapt workflow to setup access to PyPI (see https://docs.astral.sh/uv/guides/publish/#publishing-a-package) - [ ] Optimize tests (currently, I'm using `uv pip ...`, but I think this should be replaced with `uv run ...` - [ ] Bump any package versions and/or Python? - [ ] Use Ruff instead of Black?
- Loading branch information
Showing
4 changed files
with
52 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,3 @@ target/ | |
|
||
# pyenv | ||
.python-version | ||
|
||
# Poetry | ||
poetry.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,49 @@ | ||
[tool.poetry] | ||
[build-system] | ||
requires = ["hatchling"] | ||
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 = ["The Laboratory for Computational Physiology <[email protected]>"] | ||
authors = [{name = "The Laboratory for Computational Physiology", email = "[email protected]"}] | ||
license = {text = "MIT License"} | ||
readme = "README.md" | ||
requires-python = ">= 3.8" | ||
dependencies = [ | ||
"numpy >= 1.10.1, < 2.0.0", | ||
"scipy >= 1.0.0", | ||
"pandas >= 1.3.0", | ||
"soundfile >= 0.10.0", | ||
"matplotlib >= 3.2.2", | ||
"requests >= 2.8.1", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest >= 7.1.1", | ||
"pytest-xdist >= 2.5.0", | ||
"pylint >= 2.13.7", | ||
"black >= 22.3.0", | ||
"sphinx >= 4.5.0", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/MIT-LCP/wfdb-python/" | ||
repository = "https://github.com/MIT-LCP/wfdb-python/" | ||
documentation = "https://wfdb.readthedocs.io/" | ||
license = "MIT" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.7" | ||
numpy = ">=1.10.1,<2.0.0" | ||
scipy = ">=1.0.0" | ||
pandas = ">=1.3.0" | ||
SoundFile = ">=0.10.0" | ||
matplotlib = ">=3.2.2" | ||
requests = ">=2.8.1" | ||
pytest = {version = ">=7.1.1", optional = true} | ||
pytest-xdist = {version = ">=2.5.0", optional = true} | ||
pylint = {version = ">=2.13.7", optional = true} | ||
black = {version = ">=22.3.0", optional = true} | ||
Sphinx = {version = ">=4.5.0", optional = true} | ||
|
||
[tool.poetry.extras] | ||
dev = ["pytest", "pytest-xdist", "pylint", "black", "Sphinx"] | ||
|
||
# Do NOT use [tool.poetry.dev-dependencies]. See: https://github.com/python-poetry/poetry/issues/3514 | ||
|
||
[tool.black] | ||
line-length = 80 | ||
target-version = ['py37'] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
[tool.hatch.build.targets.sdist] | ||
exclude = [ | ||
"/tests", | ||
"/sample-data", | ||
"/demo-img.png", | ||
"/demo.ipynb", | ||
] | ||
|
||
[tool.hatch.version] | ||
path = "wfdb/version.py" |