From 8244af585df0d350dd4eb69aa8bd4ae81046a2f7 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 13 May 2021 19:26:27 -0700 Subject: [PATCH] Python Module: __version__ The `adios2` Python module should expose an `adios2.__version__` attribute (PEP-8). --- bindings/Python/__init__.py.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/Python/__init__.py.in b/bindings/Python/__init__.py.in index 0ba7882b73..01932e43ce 100644 --- a/bindings/Python/__init__.py.in +++ b/bindings/Python/__init__.py.in @@ -1 +1,3 @@ from .adios2@ADIOS2_LIBRARY_SUFFIX@ import * + +__version__ = "@ADIOS2_VERSION@"