Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion ants/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@

__version__ = '0.6.3'
from importlib.metadata import PackageNotFoundError as _PackageNotFoundError
from importlib.metadata import version as _version

try:
__version__ = _version("antspyx")
except _PackageNotFoundError:
# Documentation builds import the source tree without installing antspyx.
__version__ = "unknown"

from .core import *
from .label import *
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version = "0.6.4"
description = "A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more."
license = { text = "Apache-2.0" }
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.10"
authors = [
{ name = "Brian B. Avants", email = "stnava@gmail.com" }
]
Expand Down
Loading