forked from benda/packagehowto
added version module
This commit is contained in:
parent
736fa319b9
commit
51b5c67e46
@ -4,12 +4,11 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "numerix"
|
name = "numerix"
|
||||||
version = "1.0"
|
dynamic = ["version"]
|
||||||
#dynamic = ["version"]
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"numpy",
|
"numpy",
|
||||||
]
|
]
|
||||||
requires-python = ">=3.2"
|
requires-python = ">=3.6"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Jan Benda", email = "jan.benda@uni-tuebingen.de"},
|
{name = "Jan Benda", email = "jan.benda@uni-tuebingen.de"},
|
||||||
]
|
]
|
||||||
@ -36,15 +35,15 @@ classifiers = [
|
|||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
]
|
]
|
||||||
|
|
||||||
#[project.urls]
|
[project.urls]
|
||||||
#Repository = "https://github.com/bendalab/thunderfish"
|
Repository = "https://whale.am28.uni-tuebingen.de/git/benda/packagehowto"
|
||||||
#Documentation = "https://bendalab.github.io/thunderfish"
|
Documentation = "https://whale.am28.uni-tuebingen.de/git/benda/packagehowto/src/branch/master/README.md"
|
||||||
|
|
||||||
#[project.scripts]
|
#[project.scripts]
|
||||||
#thunderfish = "thunderfish.thunderfish:main"
|
#numerix = "numerix.numerix:main"
|
||||||
|
|
||||||
#[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
#version = {attr = "thunderfish.version.__version__"}
|
version = {attr = "numerix.version.__version__"}
|
||||||
|
|
||||||
#[tool.pytest.ini_options]
|
#[tool.pytest.ini_options]
|
||||||
#pythonpath = "src"
|
#pythonpath = "src"
|
||||||
|
@ -25,3 +25,4 @@ def add_four(x):
|
|||||||
# Functions from the modules of the package can be imported into the
|
# Functions from the modules of the package can be imported into the
|
||||||
# namespace of the package:
|
# namespace of the package:
|
||||||
from .addition import add_two
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user