Skip to content

Commit

Permalink
Setup automatic versioning with git tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
faymanns committed Oct 25, 2023
1 parent 9458afb commit 9212de4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[build-system]
requires = ["setuptools>=42.0.0", "wheel"]
requires = ["setuptools>=64", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"


[tool.setuptools_scm]
write_to = "src/napari_melt_pool_tracker/_version.py"

[tool.black]
line-length = 79
Expand Down
7 changes: 4 additions & 3 deletions src/napari_melt_pool_tracker/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
try:
from ._version import version as __version__
except ImportError:
__version__ = "unknown"
from ._reader import napari_get_reader
from ._sample_data import make_sample_data
from ._widget import MeltPoolTrackerQWidget

__version__ = "0.0.1"


__all__ = (
"napari_get_reader",
"make_sample_data",
Expand Down

0 comments on commit 9212de4

Please sign in to comment.