Skip to content

Commit

Permalink
Make version data available through root package.
Browse files Browse the repository at this point in the history
  • Loading branch information
Malcolm White committed Apr 25, 2020
1 parent 805a32c commit 304f33d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
10 changes: 10 additions & 0 deletions pykonal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
from .__version__ import (
__major_version__,
__minor_version__,
__minor_subversion__,
__release__,
__patch__,
__version_number__,
__version__
)

from .solver import EikonalSolver

from . import constants
Expand Down
14 changes: 13 additions & 1 deletion pykonal/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
__version__ = '0.2.3a0'
__major_version__ = 0
__minor_version__ = 2
__minor_subversion__ = 3
__release__ = "a"
__patch__ = 0
__version_number__ = ".".join(
(
str(__major_version__),
str(__minor_version__),
str(__minor_subversion__)
)
)
__version__ = f"{__version_number__}{__release__}{__patch__}"

0 comments on commit 304f33d

Please sign in to comment.