diff --git a/libkirk/__init__.py b/libkirk/__init__.py index 9469828..b54b695 100644 --- a/libkirk/__init__.py +++ b/libkirk/__init__.py @@ -13,7 +13,7 @@ # Kirk version -VERSION = '1.1' +__version__ = '1.1' class KirkException(Exception): diff --git a/libkirk/main.py b/libkirk/main.py index 54be92c..8ece5ac 100644 --- a/libkirk/main.py +++ b/libkirk/main.py @@ -14,7 +14,7 @@ import libkirk.data import libkirk.events import libkirk.plugin -from libkirk import KirkException +from libkirk import KirkException, __version__ from libkirk.sut import SUT from libkirk.sut import SUTError from libkirk.framework import Framework @@ -351,7 +351,7 @@ def run(cmd_args: list = None) -> None: "--version", "-V", action="version", - version=f"%(prog)s, {libkirk.VERSION}") + version=f"%(prog)s, {__version__}") # user interface arguments parser.add_argument( diff --git a/setup.py b/setup.py index 29938a1..b263048 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name='kirk', - version=libkirk.VERSION, + version=libkirk.__version__, description='All-in-one Linux Testing Framework', author='Andrea Cervesato', author_email='andrea.cervesato@mailbox.org',