add version to max client addon class

This commit is contained in:
Jakub Trllo 2024-06-06 18:45:16 +02:00
parent a62478a87b
commit 7d2948b135
4 changed files with 10 additions and 1 deletions

View file

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

View file

@ -2,11 +2,14 @@
import os import os
from ayon_core.addon import AYONAddon, IHostAddon from ayon_core.addon import AYONAddon, IHostAddon
from .version import __version__
MAX_HOST_DIR = os.path.dirname(os.path.abspath(__file__)) MAX_HOST_DIR = os.path.dirname(os.path.abspath(__file__))
class MaxAddon(AYONAddon, IHostAddon): class MaxAddon(AYONAddon, IHostAddon):
name = "max" name = "max"
version = __version__
host_name = "max" host_name = "max"
def add_implementation_envs(self, env, _app): def add_implementation_envs(self, env, _app):

View file

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

View file

@ -1,6 +1,6 @@
name = "max" name = "max"
title = "Max" title = "Max"
version = "0.2.0" version = "0.2.1"
client_dir = "ayon_max" client_dir = "ayon_max"
ayon_required_addons = { ayon_required_addons = {