mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
added version to client
This commit is contained in:
parent
4d2b9b2abc
commit
b32291fb1c
3 changed files with 9 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
3
server_addon/tvpaint/client/ayon_tvpaint/version.py
Normal file
3
server_addon/tvpaint/client/ayon_tvpaint/version.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Package declaring AYON addon 'tvpaint' version."""
|
||||
__version__ = "0.2.1"
|
||||
Loading…
Add table
Add a link
Reference in a new issue