added version to client

This commit is contained in:
Jakub Trllo 2024-05-31 17:13:14 +02:00
parent 4d2b9b2abc
commit b32291fb1c
3 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,4 @@
from .version import __version__
from .addon import (
get_launch_script_path,
TVPaintAddon,
@ -6,6 +7,8 @@ from .addon import (
__all__ = (
"__version__",
"get_launch_script_path",
"TVPaintAddon",
"TVPAINT_ROOT_DIR",

View file

@ -1,6 +1,8 @@
import os
from ayon_core.addon import AYONAddon, IHostAddon
from .version import __version__
TVPAINT_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
@ -14,6 +16,7 @@ def get_launch_script_path():
class TVPaintAddon(AYONAddon, IHostAddon):
name = "tvpaint"
version = __version__
host_name = "tvpaint"
def add_implementation_envs(self, env, _app):

View file

@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
"""Package declaring AYON addon 'tvpaint' version."""
__version__ = "0.2.1"