mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34: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 avalon_sync
|
||||||
from . import credentials
|
from . import credentials
|
||||||
from .ftrack_base_handler import BaseHandler
|
from .ftrack_base_handler import BaseHandler
|
||||||
from .ftrack_event_handler import BaseEvent
|
from .ftrack_event_handler import BaseEvent
|
||||||
from .ftrack_action_handler import BaseAction, ServerAction, statics_icon
|
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__ = (
|
__all__ = (
|
||||||
"avalon_sync",
|
"avalon_sync",
|
||||||
"credentials",
|
"credentials",
|
||||||
|
|
@ -11,5 +22,8 @@ __all__ = (
|
||||||
"BaseEvent",
|
"BaseEvent",
|
||||||
"BaseAction",
|
"BaseAction",
|
||||||
"ServerAction",
|
"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