Skip to content

Commit

Permalink
Set up automatic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
nfahlgren committed Apr 16, 2024
1 parent 52ce0fd commit 102ff91
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions plantcv/annotate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from importlib.metadata import version
# Auto versioning
__version__ = version("annotate")
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools >= 61.0"]
requires = ["setuptools >= 64.0", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
Expand All @@ -26,7 +26,15 @@ classifiers = [
"Intended Audience :: Science/Research",
]

[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]

[project.urls]
Homepage = "https://plantcv.org"
Documentation = "https://plantcv.readthedocs.io"
Repository = "https://github.com/danforthcenter/plantcv-annotate"

[tool.setuptools_scm]

0 comments on commit 102ff91

Please sign in to comment.