Moving around the __version__ string to get bumpversion to work again.

This commit is contained in:
Fabio Manganiello 2024-07-27 12:12:07 +02:00
parent a70f151e28
commit 0963cd3d55
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
4 changed files with 3 additions and 4 deletions

1
__version__.py Normal file
View file

@ -0,0 +1 @@
VERSION = '1.1.3'

View file

@ -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 <fabio@manganiello.tech>'
__all__ = [
'Application',

View file

@ -1 +0,0 @@
__version__ = '1.1.3'

View file

@ -13,7 +13,7 @@ data_files =
[metadata]
name = platypush
version = 1.1.3
version = attr: __version__.VERSION
description_file = README.md
[flake8]