Skip to content

Commit

Permalink
🐛 pyproject: version in package, properly find packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed Oct 10, 2023
1 parent 6b0048d commit 520f31a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions wavefile/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
from .wavefile import *
import importlib.metadata
__version__ = importlib.metadata.version('wavefile')

0 comments on commit 520f31a

Please sign in to comment.