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 (
MaxAddon,
MAX_HOST_DIR,
@ -5,6 +6,8 @@ from .addon import (
__all__ = (
"__version__",
"MaxAddon",
"MAX_HOST_DIR",
)

View file

@ -2,11 +2,14 @@
import os
from ayon_core.addon import AYONAddon, IHostAddon
from .version import __version__
MAX_HOST_DIR = os.path.dirname(os.path.abspath(__file__))
class MaxAddon(AYONAddon, IHostAddon):
name = "max"
version = __version__
host_name = "max"
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"
title = "Max"
version = "0.2.0"
version = "0.2.1"
client_dir = "ayon_max"
ayon_required_addons = {