mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
added default envent handler paths to ftrack lib
This commit is contained in:
parent
5b57ecb1e3
commit
45a6988fd8
1 changed files with 15 additions and 1 deletions
|
|
@ -1,9 +1,20 @@
|
|||
import os
|
||||
from . import avalon_sync
|
||||
from . import credentials
|
||||
from .ftrack_base_handler import BaseHandler
|
||||
from .ftrack_event_handler import BaseEvent
|
||||
from .ftrack_action_handler import BaseAction, ServerAction, statics_icon
|
||||
|
||||
FTRACK_MODULE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
SERVER_HANDLERS_DIR = os.path.join(
|
||||
FTRACK_MODULE_DIR,
|
||||
"events"
|
||||
)
|
||||
USER_HANDLERS_DIR = os.path.join(
|
||||
FTRACK_MODULE_DIR,
|
||||
"actions"
|
||||
)
|
||||
|
||||
__all__ = (
|
||||
"avalon_sync",
|
||||
"credentials",
|
||||
|
|
@ -11,5 +22,8 @@ __all__ = (
|
|||
"BaseEvent",
|
||||
"BaseAction",
|
||||
"ServerAction",
|
||||
"statics_icon"
|
||||
"statics_icon",
|
||||
"FTRACK_MODULE_DIR",
|
||||
"SERVER_HANDLERS_DIR",
|
||||
"USER_HANDLERS_DIR"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue