mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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 (
|
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",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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):
|
||||||
|
|
|
||||||
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"
|
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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue