From 0963cd3d55d3ba20846c2dcfdd3504993c237b7b Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 27 Jul 2024 12:12:07 +0200 Subject: [PATCH] Moving around the __version__ string to get bumpversion to work again. --- __version__.py | 1 + platypush/__init__.py | 3 +-- platypush/__version__.py | 1 - setup.cfg | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 __version__.py delete mode 100644 platypush/__version__.py diff --git a/__version__.py b/__version__.py new file mode 100644 index 0000000000..2f59475ff8 --- /dev/null +++ b/__version__.py @@ -0,0 +1 @@ +VERSION = '1.1.3' diff --git a/platypush/__init__.py b/platypush/__init__.py index d6b3c50118..6c9dec57b6 100644 --- a/platypush/__init__.py +++ b/platypush/__init__.py @@ -16,13 +16,12 @@ from .message.response import Response from .procedure import procedure from .runner import main from .utils import run -from .__version__ import __version__ # Alias for platypush.event.hook.hook, # see https://git.platypush.tech/platypush/platypush/issues/399 when = hook - +__version__ = '1.1.3' __author__ = 'Fabio Manganiello ' __all__ = [ 'Application', diff --git a/platypush/__version__.py b/platypush/__version__.py deleted file mode 100644 index 7bb021e2f3..0000000000 --- a/platypush/__version__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = '1.1.3' diff --git a/setup.cfg b/setup.cfg index 453ba2970a..042a3f0a34 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,7 +13,7 @@ data_files = [metadata] name = platypush -version = 1.1.3 +version = attr: __version__.VERSION description_file = README.md [flake8]