Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2789 from pypeclub/feature/move_deadline_module
Browse files Browse the repository at this point in the history
Deadline: Move module one hierarchy level higher
  • Loading branch information
iLLiCiTiT authored Feb 23, 2022
2 parents e179b1d + 25cd18f commit e8b7e64
Show file tree
Hide file tree
Showing 30 changed files with 14 additions and 10 deletions.
1 change: 1 addition & 0 deletions openpype/modules/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"avalon_apps",
"clockify",
"log_viewer",
"deadline",
"muster",
"royal_render",
"python_console_interpreter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import requests

import pyblish.api
from .abstract_metaplugins import AbstractMetaInstancePlugin
from openpype.lib.abstract_metaplugins import AbstractMetaInstancePlugin


def requests_post(*args, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

from avalon import api

from openpype.lib import abstract_submit_deadline
from openpype.lib.abstract_submit_deadline import DeadlineJobInfo
from openpype.lib import env_value_to_bool
from openpype_modules.deadline import abstract_submit_deadline
from openpype_modules.deadline.abstract_submit_deadline import DeadlineJobInfo


@attr.s
Expand All @@ -24,7 +24,9 @@ class DeadlinePluginInfo():
MultiProcess = attr.ib(default=None)


class AfterEffectsSubmitDeadline(abstract_submit_deadline.AbstractSubmitDeadline):
class AfterEffectsSubmitDeadline(
abstract_submit_deadline.AbstractSubmitDeadline
):

label = "Submit AE to Deadline"
order = pyblish.api.IntegratorOrder + 0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

import attr
import pyblish.api

import openpype.lib.abstract_submit_deadline
from openpype.lib.abstract_submit_deadline import DeadlineJobInfo
from avalon import api

from openpype_modules.deadline import abstract_submit_deadline
from openpype_modules.deadline.abstract_submit_deadline import DeadlineJobInfo


class _ZipFile(ZipFile):
"""Extended check for windows invalid characters."""
Expand Down Expand Up @@ -217,7 +217,8 @@ def filter_data(a, v):


class HarmonySubmitDeadline(
openpype.lib.abstract_submit_deadline.AbstractSubmitDeadline):
abstract_submit_deadline.AbstractSubmitDeadline
):
"""Submit render write of Harmony scene to Deadline.
Renders are submitted to a Deadline Web Service as
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import pyblish.api

from openpype.lib.abstract_submit_deadline import requests_get
from openpype.lib.delivery import collect_frames
from openpype_modules.deadline.abstract_submit_deadline import requests_get


class ValidateExpectedFiles(pyblish.api.InstancePlugin):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion website/docs/module_deadline.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ For [AWS Thinkbox Deadline](https://www.awsthinkbox.com/deadline) support you ne

4. Point OpenPype to your deadline webservice URL in the [OpenPype Admin Settings](admin_settings_system.md#deadline).

5. Install our custom plugin and scripts to your deadline repository. It should be as simple as copying content of `openPype/vendor/deadline/custom` to `path/to/your/deadline/repository/custom`.
5. Install our custom plugin and scripts to your deadline repository. It should be as simple as copying content of `openpype/modules/deadline/repository/custom` to `path/to/your/deadline/repository/custom`.


## Configuration
Expand Down

0 comments on commit e8b7e64

Please sign in to comment.