diff --git a/pyproject.toml b/pyproject.toml index 0ffc883..1b55237 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,9 @@ Documentation = "https://readthedocs.org" Repository = "https://github.com/vokimon/python-wavefile" Changelog = "https://github.com/vokimon/python-wavefile/blob/master/CHANGELOG.md" +[tool.setuptools.packages] +find = {} + [tool.coverage.run] relative_files = true branch = true diff --git a/wavefile/__init__.py b/wavefile/__init__.py index e0f884e..4594971 100644 --- a/wavefile/__init__.py +++ b/wavefile/__init__.py @@ -1 +1,4 @@ from .wavefile import * +import importlib.metadata +__version__ = importlib.metadata.version('wavefile') +