added version module

This commit is contained in:
2024-04-24 12:16:28 +02:00
parent 736fa319b9
commit 51b5c67e46
3 changed files with 23 additions and 9 deletions

View File

@@ -25,3 +25,4 @@ def add_four(x):
# Functions from the modules of the package can be imported into the
# namespace of the package:
from .addition import add_two
from .version import __version__

14
src/numerix/version.py Normal file
View File

@@ -0,0 +1,14 @@
""" Version and year of the numerix package.
"""
__version__ = '1.4.2'
""" Current version of the numerix package as string 'x.y.z'. """
__year__ = '2024'
""" Year of the current numerix version as string. """
# Add them to documentation:
__pdoc__ = {}
__pdoc__['__version__'] = True
__pdoc__['__year__'] = True