mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
implemented webpublish addon
This commit is contained in:
parent
1c931a1606
commit
caf9e014bd
2 changed files with 23 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
from .addon import (
|
||||
WebpublisherAddon,
|
||||
WEBPUBLISHER_ROOT_DIR,
|
||||
)
|
||||
|
||||
|
||||
__all__ = (
|
||||
"WebpublisherAddon",
|
||||
"WEBPUBLISHER_ROOT_DIR",
|
||||
)
|
||||
13
openpype/hosts/webpublisher/addon.py
Normal file
13
openpype/hosts/webpublisher/addon.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue