implemented webpublish addon

This commit is contained in:
Jakub Trllo 2022-08-25 16:32:46 +02:00
parent 1c931a1606
commit caf9e014bd
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,10 @@
from .addon import (
WebpublisherAddon,
WEBPUBLISHER_ROOT_DIR,
)
__all__ = (
"WebpublisherAddon",
"WEBPUBLISHER_ROOT_DIR",
)

View file

@ -0,0 +1,13 @@
import os
from openpype.modules import OpenPypeModule
from openpype.modules.interfaces import IHostModule
WEBPUBLISHER_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
class WebpublisherAddon(OpenPypeModule, IHostModule):
name = "webpublisher"
host_name = "webpublisher"
def initialize(self, module_settings):
self.enabled = True