Skip to content

Commit 2e19963

Browse files
committed
add version info to init
1 parent ebf4504 commit 2e19963

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.bumpversion.cfg

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ values =
1919
search = version = {current_version}
2020
replace = version = {new_version}
2121

22+
[bumpversion:file:src/pecanpy/__init__.py]
23+
search = __version__ = "{current_version}"
24+
replace = version = "{new_version}"
25+
2226
[bumpversion:file:docs/source/conf.py]
2327
search = release = "{current_version}"
2428
replace = release = "{new_version}"

src/pecanpy/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
from . import graph
33
from . import pecanpy
44

5+
__version__ = "2.0.9-dev"
56
__all__ = ["graph", "pecanpy"]

0 commit comments

Comments
 (0)