From 42cc04fd923f6be42bf8f21a2193b09c93db02f9 Mon Sep 17 00:00:00 2001 From: Lukas Kluft <lukas.kluft@gmail.com> Date: Wed, 17 Aug 2022 08:33:59 +0200 Subject: [PATCH] Define package version in pacakge source --- moist_thermodynamics/__init__.py | 3 +++ setup.cfg | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/moist_thermodynamics/__init__.py b/moist_thermodynamics/__init__.py index 956a73e..da2f7e8 100644 --- a/moist_thermodynamics/__init__.py +++ b/moist_thermodynamics/__init__.py @@ -1,2 +1,5 @@ from .functions import * from . import constants + + +__version__ = "0.5.0" diff --git a/setup.cfg b/setup.cfg index c4a92a3..551b604 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = moist_thermodynamics -version = 0.5.0 +version = attr: moist_thermodynamics.__version__ description = Constants and functions for the treatment of moist atmospheric thermodynamics. long_description = file: README.md license = BSD 3-Clause License -- GitLab