forked from benda/packagehowto
added version module
This commit is contained in:
@@ -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
14
src/numerix/version.py
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user