From 2e1996390647f5fa4d1e531e7cec7aea2d06fdfb Mon Sep 17 00:00:00 2001 From: RemyLau Date: Wed, 10 Jan 2024 11:06:46 -0500 Subject: [PATCH] add version info to init --- .bumpversion.cfg | 4 ++++ src/pecanpy/__init__.py | 1 + 2 files changed, 5 insertions(+) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index d4a7c7a6..fd078cb8 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -19,6 +19,10 @@ values = search = version = {current_version} replace = version = {new_version} +[bumpversion:file:src/pecanpy/__init__.py] +search = __version__ = "{current_version}" +replace = version = "{new_version}" + [bumpversion:file:docs/source/conf.py] search = release = "{current_version}" replace = release = "{new_version}" diff --git a/src/pecanpy/__init__.py b/src/pecanpy/__init__.py index 0f46e6bd..7bcb7917 100644 --- a/src/pecanpy/__init__.py +++ b/src/pecanpy/__init__.py @@ -2,4 +2,5 @@ from . import graph from . import pecanpy +__version__ = "2.0.9-dev" __all__ = ["graph", "pecanpy"]