added more info to package py and added version.py

This commit is contained in:
Jakub Trllo 2024-06-03 14:02:01 +02:00
parent 48ec3a73c0
commit 21c02e023c
4 changed files with 16 additions and 1 deletions

View file

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

View file

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

View file

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

View file

@ -1,3 +1,9 @@
name = "hiero"
title = "Hiero"
version = "0.1.3"
version = "0.2.0"
client_dir = "ayon_hiero"
ayon_required_addons = {
"core": ">0.3.2",
}
ayon_compatible_addons = {}