Skip to content

Commit c3908f7

Browse files
author
attdona
committed
bump version 0.5.0 -> 0.6.0
1 parent c2dd325 commit c3908f7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "rembus"
7-
version = "0.5.0"
7+
version = "0.6.0"
88
license = "AGPL-3.0-only"
99
authors = [
1010
{ name="Attilio Donà", email="attilio.dona@gmail.com" },

src/rembus/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
__version__ = "0.5.0"
1+
from importlib.metadata import version, PackageNotFoundError
2+
3+
try:
4+
__version__ = version("rembus")
5+
except PackageNotFoundError:
6+
__version__ = "0.0.0"
27

38
# import logging
49
from .core import component, RbURL # noqa: F401

0 commit comments

Comments
 (0)