From 5cf9fe8e4515e698e75a53e00ec98ef471f61e55 Mon Sep 17 00:00:00 2001 From: Fabian Gruenewald Date: Tue, 7 Jan 2025 11:31:31 +0100 Subject: [PATCH] add version variable --- cgsmiles/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgsmiles/__init__.py b/cgsmiles/__init__.py index 18eca30..9d11b14 100644 --- a/cgsmiles/__init__.py +++ b/cgsmiles/__init__.py @@ -1,6 +1,8 @@ """ CGsmiles: Coarse-Grained Smiles (CGsmiles) for representing abitrarily complex molecules using line notation. """ +import pbr.version +__version__ = pbr.version.VersionInfo('cgsmiles').release_string() from .read_cgsmiles import read_cgsmiles from .read_fragments import read_fragments