mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge branch 'develop' into feature/new-context-env-variables
This commit is contained in:
commit
282685b0d5
2 changed files with 6 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ import re
|
|||
import os
|
||||
import platform
|
||||
|
||||
__version__ = "1.0.0"
|
||||
|
||||
######################################################################
|
||||
# This is the function that Deadline calls to get an instance of the
|
||||
|
|
@ -52,6 +53,9 @@ class AyonDeadlinePlugin(DeadlinePlugin):
|
|||
del self.RenderArgumentCallback
|
||||
|
||||
def InitializeProcess(self):
|
||||
self.LogInfo(
|
||||
"Initializing process with AYON plugin {}".format(__version__)
|
||||
)
|
||||
self.PluginType = PluginType.Simple
|
||||
self.StdoutHandling = True
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ from Deadline.Scripting import (
|
|||
DirectoryUtils,
|
||||
ProcessUtils,
|
||||
)
|
||||
|
||||
__version__ = "1.0.0"
|
||||
VERSION_REGEX = re.compile(
|
||||
r"(?P<major>0|[1-9]\d*)"
|
||||
r"\.(?P<minor>0|[1-9]\d*)"
|
||||
|
|
@ -602,7 +602,7 @@ def inject_render_job_id(deadlinePlugin):
|
|||
|
||||
|
||||
def __main__(deadlinePlugin):
|
||||
print("*** GlobalJobPreload start ...")
|
||||
print("*** GlobalJobPreload {} start ...".format(__version__))
|
||||
print(">>> Getting job ...")
|
||||
job = deadlinePlugin.GetJob()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue