mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add version to max client addon class
This commit is contained in:
parent
a62478a87b
commit
7d2948b135
4 changed files with 10 additions and 1 deletions
|
|
@ -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",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
3
server_addon/max/client/ayon_max/version.py
Normal file
3
server_addon/max/client/ayon_max/version.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Package declaring AYON addon 'max' version."""
|
||||
__version__ = "0.2.1"
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
name = "max"
|
||||
title = "Max"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
client_dir = "ayon_max"
|
||||
|
||||
ayon_required_addons = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue