added version to cealaction addon class

This commit is contained in:
Jakub Trllo 2024-05-30 11:36:59 +02:00
parent cfb06c9a9b
commit ddb4da0e86
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,4 @@
from .version import __version__
from .addon import (
CELACTION_ROOT_DIR,
CelactionAddon,
@ -5,6 +6,8 @@ from .addon import (
__all__ = (
"__version__",
"CELACTION_ROOT_DIR",
"CelactionAddon",
)

View file

@ -1,11 +1,14 @@
import os
from ayon_core.addon import AYONAddon, IHostAddon
from .version import __version__
CELACTION_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
class CelactionAddon(AYONAddon, IHostAddon):
name = "celaction"
version = __version__
host_name = "celaction"
def get_launch_hook_paths(self, app):