diff --git a/pype/__init__.py b/openpype/__init__.py similarity index 100% rename from pype/__init__.py rename to openpype/__init__.py diff --git a/pype/__main__.py b/openpype/__main__.py similarity index 100% rename from pype/__main__.py rename to openpype/__main__.py diff --git a/pype/action.py b/openpype/action.py similarity index 100% rename from pype/action.py rename to openpype/action.py diff --git a/pype/api.py b/openpype/api.py similarity index 100% rename from pype/api.py rename to openpype/api.py diff --git a/pype/cli.py b/openpype/cli.py similarity index 100% rename from pype/cli.py rename to openpype/cli.py diff --git a/pype/hooks/pre_add_last_workfile_arg.py b/openpype/hooks/pre_add_last_workfile_arg.py similarity index 95% rename from pype/hooks/pre_add_last_workfile_arg.py rename to openpype/hooks/pre_add_last_workfile_arg.py index e19a884eff..377026da4a 100644 --- a/pype/hooks/pre_add_last_workfile_arg.py +++ b/openpype/hooks/pre_add_last_workfile_arg.py @@ -1,5 +1,5 @@ import os -from pype.lib import PreLaunchHook +from openpype.lib import PreLaunchHook class AddLastWorkfileToLaunchArgs(PreLaunchHook): diff --git a/pype/hooks/pre_global_host_data.py b/openpype/hooks/pre_global_host_data.py similarity index 97% rename from pype/hooks/pre_global_host_data.py rename to openpype/hooks/pre_global_host_data.py index 5405bc0894..c669d91ad5 100644 --- a/pype/hooks/pre_global_host_data.py +++ b/openpype/hooks/pre_global_host_data.py @@ -1,5 +1,5 @@ -from pype.api import Anatomy -from pype.lib import ( +from openpype.api import Anatomy +from openpype.lib import ( PreLaunchHook, EnvironmentPrepData, prepare_host_environments, diff --git a/pype/hooks/pre_non_python_host_launch.py b/openpype/hooks/pre_non_python_host_launch.py similarity index 95% rename from pype/hooks/pre_non_python_host_launch.py rename to openpype/hooks/pre_non_python_host_launch.py index ad1a202d4e..a48088dcac 100644 --- a/pype/hooks/pre_non_python_host_launch.py +++ b/openpype/hooks/pre_non_python_host_launch.py @@ -1,11 +1,11 @@ import os -from pype.lib import ( +from openpype.lib import ( PreLaunchHook, get_pype_execute_args ) -from pype import PACKAGE_DIR as PYPE_DIR +from openpype import PACKAGE_DIR as PYPE_DIR class NonPythonHostHook(PreLaunchHook): diff --git a/pype/hooks/pre_python2_vendor.py b/openpype/hooks/pre_python2_vendor.py similarity index 96% rename from pype/hooks/pre_python2_vendor.py rename to openpype/hooks/pre_python2_vendor.py index 377431b372..0aeb2f3ca4 100644 --- a/pype/hooks/pre_python2_vendor.py +++ b/openpype/hooks/pre_python2_vendor.py @@ -1,5 +1,5 @@ import os -from pype.lib import PreLaunchHook +from openpype.lib import PreLaunchHook class PrePython2Vendor(PreLaunchHook): diff --git a/pype/hooks/pre_with_windows_shell.py b/openpype/hooks/pre_with_windows_shell.py similarity index 95% rename from pype/hooks/pre_with_windows_shell.py rename to openpype/hooks/pre_with_windows_shell.py index d675c9bf5b..5f0f03f13e 100644 --- a/pype/hooks/pre_with_windows_shell.py +++ b/openpype/hooks/pre_with_windows_shell.py @@ -1,5 +1,5 @@ import os -from pype.lib import PreLaunchHook +from openpype.lib import PreLaunchHook class LaunchWithWindowsShell(PreLaunchHook): diff --git a/pype/hosts/__init__.py b/openpype/hosts/__init__.py similarity index 100% rename from pype/hosts/__init__.py rename to openpype/hosts/__init__.py diff --git a/pype/hosts/aftereffects/__init__.py b/openpype/hosts/aftereffects/__init__.py similarity index 100% rename from pype/hosts/aftereffects/__init__.py rename to openpype/hosts/aftereffects/__init__.py diff --git a/pype/hosts/aftereffects/api/__init__.py b/openpype/hosts/aftereffects/api/__init__.py similarity index 93% rename from pype/hosts/aftereffects/api/__init__.py rename to openpype/hosts/aftereffects/api/__init__.py index cd9ce6a835..ee73a0f52b 100644 --- a/pype/hosts/aftereffects/api/__init__.py +++ b/openpype/hosts/aftereffects/api/__init__.py @@ -5,15 +5,15 @@ import logging from avalon import io from avalon import api as avalon from avalon.vendor import Qt -from pype import lib +from openpype import lib import pyblish.api as pyblish -import pype.hosts.aftereffects +import openpype.hosts.aftereffects log = logging.getLogger("pype.hosts.aftereffects") -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.aftereffects.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.aftereffects.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") LOAD_PATH = os.path.join(PLUGINS_DIR, "load") diff --git a/pype/hosts/aftereffects/plugins/__init__.py b/openpype/hosts/aftereffects/plugins/__init__.py similarity index 100% rename from pype/hosts/aftereffects/plugins/__init__.py rename to openpype/hosts/aftereffects/plugins/__init__.py diff --git a/pype/hosts/aftereffects/plugins/create/create_render.py b/openpype/hosts/aftereffects/plugins/create/create_render.py similarity index 96% rename from pype/hosts/aftereffects/plugins/create/create_render.py rename to openpype/hosts/aftereffects/plugins/create/create_render.py index 70abd36406..b8fc747670 100644 --- a/pype/hosts/aftereffects/plugins/create/create_render.py +++ b/openpype/hosts/aftereffects/plugins/create/create_render.py @@ -1,4 +1,4 @@ -import pype.api +import openpype.api from avalon.vendor import Qt from avalon import aftereffects @@ -7,7 +7,7 @@ import logging log = logging.getLogger(__name__) -class CreateRender(pype.api.Creator): +class CreateRender(openpype.api.Creator): """Render folder for publish. Creates subsets in format 'familyTaskSubsetname', diff --git a/pype/hosts/aftereffects/plugins/load/load_background.py b/openpype/hosts/aftereffects/plugins/load/load_background.py similarity index 97% rename from pype/hosts/aftereffects/plugins/load/load_background.py rename to openpype/hosts/aftereffects/plugins/load/load_background.py index e6f8b6a032..9856abe3fe 100644 --- a/pype/hosts/aftereffects/plugins/load/load_background.py +++ b/openpype/hosts/aftereffects/plugins/load/load_background.py @@ -2,7 +2,7 @@ import re from avalon import api, aftereffects -from pype.lib import get_background_layers, get_unique_layer_name +from openpype.lib import get_background_layers, get_unique_layer_name stub = aftereffects.stub() diff --git a/pype/hosts/aftereffects/plugins/load/load_file.py b/openpype/hosts/aftereffects/plugins/load/load_file.py similarity index 99% rename from pype/hosts/aftereffects/plugins/load/load_file.py rename to openpype/hosts/aftereffects/plugins/load/load_file.py index 500a53a69b..74de6b7ac1 100644 --- a/pype/hosts/aftereffects/plugins/load/load_file.py +++ b/openpype/hosts/aftereffects/plugins/load/load_file.py @@ -1,5 +1,5 @@ from avalon import api, aftereffects -from pype import lib +from openpype import lib import re stub = aftereffects.stub() diff --git a/pype/hosts/aftereffects/plugins/publish/collect_audio.py b/openpype/hosts/aftereffects/plugins/publish/collect_audio.py similarity index 100% rename from pype/hosts/aftereffects/plugins/publish/collect_audio.py rename to openpype/hosts/aftereffects/plugins/publish/collect_audio.py diff --git a/pype/hosts/aftereffects/plugins/publish/collect_current_file.py b/openpype/hosts/aftereffects/plugins/publish/collect_current_file.py similarity index 100% rename from pype/hosts/aftereffects/plugins/publish/collect_current_file.py rename to openpype/hosts/aftereffects/plugins/publish/collect_current_file.py diff --git a/pype/hosts/aftereffects/plugins/publish/collect_render.py b/openpype/hosts/aftereffects/plugins/publish/collect_render.py similarity index 98% rename from pype/hosts/aftereffects/plugins/publish/collect_render.py rename to openpype/hosts/aftereffects/plugins/publish/collect_render.py index 7f7d5a52bc..59660a9bdc 100644 --- a/pype/hosts/aftereffects/plugins/publish/collect_render.py +++ b/openpype/hosts/aftereffects/plugins/publish/collect_render.py @@ -1,5 +1,5 @@ -from pype.lib import abstract_collect_render -from pype.lib.abstract_collect_render import RenderInstance +from openpype.lib import abstract_collect_render +from openpype.lib.abstract_collect_render import RenderInstance import pyblish.api import attr import os diff --git a/pype/hosts/aftereffects/plugins/publish/collect_workfile.py b/openpype/hosts/aftereffects/plugins/publish/collect_workfile.py similarity index 100% rename from pype/hosts/aftereffects/plugins/publish/collect_workfile.py rename to openpype/hosts/aftereffects/plugins/publish/collect_workfile.py diff --git a/pype/hosts/aftereffects/plugins/publish/extract_save_scene.py b/openpype/hosts/aftereffects/plugins/publish/extract_save_scene.py similarity index 66% rename from pype/hosts/aftereffects/plugins/publish/extract_save_scene.py rename to openpype/hosts/aftereffects/plugins/publish/extract_save_scene.py index e19065d086..fa6ad37073 100644 --- a/pype/hosts/aftereffects/plugins/publish/extract_save_scene.py +++ b/openpype/hosts/aftereffects/plugins/publish/extract_save_scene.py @@ -1,11 +1,11 @@ -import pype.api +import openpype.api from avalon import aftereffects -class ExtractSaveScene(pype.api.Extractor): +class ExtractSaveScene(openpype.api.Extractor): """Save scene before extraction.""" - order = pype.api.Extractor.order - 0.49 + order = openpype.api.Extractor.order - 0.49 label = "Extract Save Scene" hosts = ["aftereffects"] families = ["workfile"] diff --git a/pype/hosts/aftereffects/plugins/publish/increment_workfile.py b/openpype/hosts/aftereffects/plugins/publish/increment_workfile.py similarity index 89% rename from pype/hosts/aftereffects/plugins/publish/increment_workfile.py rename to openpype/hosts/aftereffects/plugins/publish/increment_workfile.py index ef49d01280..18ddf41366 100644 --- a/pype/hosts/aftereffects/plugins/publish/increment_workfile.py +++ b/openpype/hosts/aftereffects/plugins/publish/increment_workfile.py @@ -1,6 +1,6 @@ import pyblish.api -from pype.action import get_errored_plugins_from_data -from pype.lib import version_up +from openpype.action import get_errored_plugins_from_data +from openpype.lib import version_up from avalon import aftereffects diff --git a/pype/hosts/aftereffects/resources/template.aep b/openpype/hosts/aftereffects/resources/template.aep similarity index 100% rename from pype/hosts/aftereffects/resources/template.aep rename to openpype/hosts/aftereffects/resources/template.aep diff --git a/pype/hosts/blender/__init__.py b/openpype/hosts/blender/__init__.py similarity index 100% rename from pype/hosts/blender/__init__.py rename to openpype/hosts/blender/__init__.py diff --git a/pype/hosts/blender/api/__init__.py b/openpype/hosts/blender/api/__init__.py similarity index 93% rename from pype/hosts/blender/api/__init__.py rename to openpype/hosts/blender/api/__init__.py index 7fcd09201a..55c5b63f60 100644 --- a/pype/hosts/blender/api/__init__.py +++ b/openpype/hosts/blender/api/__init__.py @@ -7,9 +7,9 @@ import bpy from avalon import api as avalon from pyblish import api as pyblish -import pype.hosts.blender +import openpype.hosts.blender -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.blender.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.blender.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") LOAD_PATH = os.path.join(PLUGINS_DIR, "load") diff --git a/pype/hosts/blender/api/action.py b/openpype/hosts/blender/api/action.py similarity index 96% rename from pype/hosts/blender/api/action.py rename to openpype/hosts/blender/api/action.py index b140688670..f3426ac3cf 100644 --- a/pype/hosts/blender/api/action.py +++ b/openpype/hosts/blender/api/action.py @@ -2,7 +2,7 @@ import bpy import pyblish.api -from pype.api import get_errored_instances_from_context +from openpype.api import get_errored_instances_from_context class SelectInvalidAction(pyblish.api.Action): diff --git a/pype/hosts/blender/api/plugin.py b/openpype/hosts/blender/api/plugin.py similarity index 99% rename from pype/hosts/blender/api/plugin.py rename to openpype/hosts/blender/api/plugin.py index f216eb28be..eb88e7af63 100644 --- a/pype/hosts/blender/api/plugin.py +++ b/openpype/hosts/blender/api/plugin.py @@ -7,7 +7,7 @@ import bpy from avalon import api import avalon.blender -from pype.api import PypeCreatorMixin +from openpype.api import PypeCreatorMixin VALID_EXTENSIONS = [".blend", ".json"] diff --git a/pype/hosts/blender/hooks/pre_pyside_install.py b/openpype/hosts/blender/hooks/pre_pyside_install.py similarity index 99% rename from pype/hosts/blender/hooks/pre_pyside_install.py rename to openpype/hosts/blender/hooks/pre_pyside_install.py index 935105e895..088a27566d 100644 --- a/pype/hosts/blender/hooks/pre_pyside_install.py +++ b/openpype/hosts/blender/hooks/pre_pyside_install.py @@ -1,6 +1,6 @@ import os import subprocess -from pype.lib import PreLaunchHook +from openpype.lib import PreLaunchHook class InstallPySideToBlender(PreLaunchHook): diff --git a/pype/hosts/blender/plugins/__init__.py b/openpype/hosts/blender/plugins/__init__.py similarity index 100% rename from pype/hosts/blender/plugins/__init__.py rename to openpype/hosts/blender/plugins/__init__.py diff --git a/pype/hosts/blender/plugins/create/__init__.py b/openpype/hosts/blender/plugins/create/__init__.py similarity index 100% rename from pype/hosts/blender/plugins/create/__init__.py rename to openpype/hosts/blender/plugins/create/__init__.py diff --git a/pype/hosts/blender/plugins/create/create_action.py b/openpype/hosts/blender/plugins/create/create_action.py similarity index 86% rename from pype/hosts/blender/plugins/create/create_action.py rename to openpype/hosts/blender/plugins/create/create_action.py index b8ad24e711..f7bb2bfc26 100644 --- a/pype/hosts/blender/plugins/create/create_action.py +++ b/openpype/hosts/blender/plugins/create/create_action.py @@ -3,11 +3,11 @@ import bpy from avalon import api -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin from avalon.blender import lib -class CreateAction(pype.hosts.blender.api.plugin.Creator): +class CreateAction(openpype.hosts.blender.api.plugin.Creator): """Action output for character rigs""" name = "actionMain" @@ -19,7 +19,7 @@ class CreateAction(pype.hosts.blender.api.plugin.Creator): asset = self.data["asset"] subset = self.data["subset"] - name = pype.hosts.blender.api.plugin.asset_name(asset, subset) + name = openpype.hosts.blender.api.plugin.asset_name(asset, subset) collection = bpy.data.collections.new(name=name) bpy.context.scene.collection.children.link(collection) self.data['task'] = api.Session.get('AVALON_TASK') diff --git a/pype/hosts/blender/plugins/create/create_animation.py b/openpype/hosts/blender/plugins/create/create_animation.py similarity index 79% rename from pype/hosts/blender/plugins/create/create_animation.py rename to openpype/hosts/blender/plugins/create/create_animation.py index 79744ad7e9..9aebf7e9b7 100644 --- a/pype/hosts/blender/plugins/create/create_animation.py +++ b/openpype/hosts/blender/plugins/create/create_animation.py @@ -3,10 +3,10 @@ import bpy from avalon import api, blender -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin -class CreateAnimation(pype.hosts.blender.api.plugin.Creator): +class CreateAnimation(openpype.hosts.blender.api.plugin.Creator): """Animation output for character rigs""" name = "animationMain" @@ -17,7 +17,7 @@ class CreateAnimation(pype.hosts.blender.api.plugin.Creator): def process(self): asset = self.data["asset"] subset = self.data["subset"] - name = pype.hosts.blender.api.plugin.asset_name(asset, subset) + name = openpype.hosts.blender.api.plugin.asset_name(asset, subset) collection = bpy.data.collections.new(name=name) bpy.context.scene.collection.children.link(collection) self.data['task'] = api.Session.get('AVALON_TASK') diff --git a/pype/hosts/blender/plugins/create/create_camera.py b/openpype/hosts/blender/plugins/create/create_camera.py similarity index 80% rename from pype/hosts/blender/plugins/create/create_camera.py rename to openpype/hosts/blender/plugins/create/create_camera.py index 177d26e08b..c7fea30787 100644 --- a/pype/hosts/blender/plugins/create/create_camera.py +++ b/openpype/hosts/blender/plugins/create/create_camera.py @@ -4,10 +4,10 @@ import bpy from avalon import api from avalon.blender import lib -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin -class CreateCamera(pype.hosts.blender.api.plugin.Creator): +class CreateCamera(openpype.hosts.blender.api.plugin.Creator): """Polygonal static geometry""" name = "cameraMain" @@ -19,7 +19,7 @@ class CreateCamera(pype.hosts.blender.api.plugin.Creator): asset = self.data["asset"] subset = self.data["subset"] - name = pype.hosts.blender.api.plugin.asset_name(asset, subset) + name = openpype.hosts.blender.api.plugin.asset_name(asset, subset) collection = bpy.data.collections.new(name=name) bpy.context.scene.collection.children.link(collection) self.data['task'] = api.Session.get('AVALON_TASK') diff --git a/pype/hosts/blender/plugins/create/create_layout.py b/openpype/hosts/blender/plugins/create/create_layout.py similarity index 86% rename from pype/hosts/blender/plugins/create/create_layout.py rename to openpype/hosts/blender/plugins/create/create_layout.py index f45b58d137..f72e364f50 100644 --- a/pype/hosts/blender/plugins/create/create_layout.py +++ b/openpype/hosts/blender/plugins/create/create_layout.py @@ -4,10 +4,10 @@ import bpy from avalon import api from avalon.blender import lib -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin -class CreateLayout(pype.hosts.blender.api.plugin.Creator): +class CreateLayout(openpype.hosts.blender.api.plugin.Creator): """Layout output for character rigs""" name = "layoutMain" @@ -19,7 +19,7 @@ class CreateLayout(pype.hosts.blender.api.plugin.Creator): asset = self.data["asset"] subset = self.data["subset"] - name = pype.hosts.blender.api.plugin.asset_name(asset, subset) + name = openpype.hosts.blender.api.plugin.asset_name(asset, subset) collection = bpy.data.collections.new(name=name) bpy.context.scene.collection.children.link(collection) self.data['task'] = api.Session.get('AVALON_TASK') diff --git a/pype/hosts/blender/plugins/create/create_model.py b/openpype/hosts/blender/plugins/create/create_model.py similarity index 79% rename from pype/hosts/blender/plugins/create/create_model.py rename to openpype/hosts/blender/plugins/create/create_model.py index 7404b3a157..921d86513b 100644 --- a/pype/hosts/blender/plugins/create/create_model.py +++ b/openpype/hosts/blender/plugins/create/create_model.py @@ -4,10 +4,10 @@ import bpy from avalon import api from avalon.blender import lib -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin -class CreateModel(pype.hosts.blender.api.plugin.Creator): +class CreateModel(openpype.hosts.blender.api.plugin.Creator): """Polygonal static geometry""" name = "modelMain" @@ -19,7 +19,7 @@ class CreateModel(pype.hosts.blender.api.plugin.Creator): asset = self.data["asset"] subset = self.data["subset"] - name = pype.hosts.blender.api.plugin.asset_name(asset, subset) + name = openpype.hosts.blender.api.plugin.asset_name(asset, subset) collection = bpy.data.collections.new(name=name) bpy.context.scene.collection.children.link(collection) self.data['task'] = api.Session.get('AVALON_TASK') diff --git a/pype/hosts/blender/plugins/create/create_rig.py b/openpype/hosts/blender/plugins/create/create_rig.py similarity index 87% rename from pype/hosts/blender/plugins/create/create_rig.py rename to openpype/hosts/blender/plugins/create/create_rig.py index d96a88f71d..116fb9f742 100644 --- a/pype/hosts/blender/plugins/create/create_rig.py +++ b/openpype/hosts/blender/plugins/create/create_rig.py @@ -4,10 +4,10 @@ import bpy from avalon import api from avalon.blender import lib -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin -class CreateRig(pype.hosts.blender.api.plugin.Creator): +class CreateRig(openpype.hosts.blender.api.plugin.Creator): """Artist-friendly rig with controls to direct motion""" name = "rigMain" @@ -19,7 +19,7 @@ class CreateRig(pype.hosts.blender.api.plugin.Creator): asset = self.data["asset"] subset = self.data["subset"] - name = pype.hosts.blender.api.plugin.asset_name(asset, subset) + name = openpype.hosts.blender.api.plugin.asset_name(asset, subset) collection = bpy.data.collections.new(name=name) bpy.context.scene.collection.children.link(collection) self.data['task'] = api.Session.get('AVALON_TASK') diff --git a/pype/hosts/blender/plugins/create/create_setdress.py b/openpype/hosts/blender/plugins/create/create_setdress.py similarity index 75% rename from pype/hosts/blender/plugins/create/create_setdress.py rename to openpype/hosts/blender/plugins/create/create_setdress.py index 201893b3df..97c737c235 100644 --- a/pype/hosts/blender/plugins/create/create_setdress.py +++ b/openpype/hosts/blender/plugins/create/create_setdress.py @@ -1,10 +1,10 @@ import bpy from avalon import api, blender -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin -class CreateSetDress(pype.hosts.blender.api.plugin.Creator): +class CreateSetDress(openpype.hosts.blender.api.plugin.Creator): """A grouped package of loaded content""" name = "setdressMain" @@ -16,7 +16,7 @@ class CreateSetDress(pype.hosts.blender.api.plugin.Creator): def process(self): asset = self.data["asset"] subset = self.data["subset"] - name = pype.hosts.blender.api.plugin.asset_name(asset, subset) + name = openpype.hosts.blender.api.plugin.asset_name(asset, subset) collection = bpy.data.collections.new(name=name) bpy.context.scene.collection.children.link(collection) self.data['task'] = api.Session.get('AVALON_TASK') diff --git a/pype/hosts/blender/plugins/load/__init__.py b/openpype/hosts/blender/plugins/load/__init__.py similarity index 100% rename from pype/hosts/blender/plugins/load/__init__.py rename to openpype/hosts/blender/plugins/load/__init__.py diff --git a/pype/hosts/blender/plugins/load/load_action.py b/openpype/hosts/blender/plugins/load/load_action.py similarity index 96% rename from pype/hosts/blender/plugins/load/load_action.py rename to openpype/hosts/blender/plugins/load/load_action.py index 61dc9ce317..0cbb679d22 100644 --- a/pype/hosts/blender/plugins/load/load_action.py +++ b/openpype/hosts/blender/plugins/load/load_action.py @@ -7,12 +7,12 @@ from typing import Dict, List, Optional from avalon import api, blender import bpy -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin logger = logging.getLogger("pype").getChild("blender").getChild("load_action") -class BlendActionLoader(pype.hosts.blender.api.plugin.AssetLoader): +class BlendActionLoader(openpype.hosts.blender.api.plugin.AssetLoader): """Load action from a .blend file. Warning: @@ -42,8 +42,8 @@ class BlendActionLoader(pype.hosts.blender.api.plugin.AssetLoader): libpath = self.fname asset = context["asset"]["name"] subset = context["subset"]["name"] - lib_container = pype.hosts.blender.api.plugin.asset_name(asset, subset) - container_name = pype.hosts.blender.api.plugin.asset_name( + lib_container = openpype.hosts.blender.api.plugin.asset_name(asset, subset) + container_name = openpype.hosts.blender.api.plugin.asset_name( asset, subset, namespace ) @@ -149,7 +149,7 @@ class BlendActionLoader(pype.hosts.blender.api.plugin.AssetLoader): assert libpath.is_file(), ( f"The file doesn't exist: {libpath}" ) - assert extension in pype.hosts.blender.api.plugin.VALID_EXTENSIONS, ( + assert extension in openpype.hosts.blender.api.plugin.VALID_EXTENSIONS, ( f"Unsupported file: {libpath}" ) diff --git a/pype/hosts/blender/plugins/load/load_animation.py b/openpype/hosts/blender/plugins/load/load_animation.py similarity index 95% rename from pype/hosts/blender/plugins/load/load_animation.py rename to openpype/hosts/blender/plugins/load/load_animation.py index 53d30d0a66..a8d5db3d2f 100644 --- a/pype/hosts/blender/plugins/load/load_animation.py +++ b/openpype/hosts/blender/plugins/load/load_animation.py @@ -7,14 +7,14 @@ from typing import Dict, List, Optional from avalon import api, blender import bpy -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin logger = logging.getLogger("pype").getChild( "blender").getChild("load_animation") -class BlendAnimationLoader(pype.hosts.blender.api.plugin.AssetLoader): +class BlendAnimationLoader(openpype.hosts.blender.api.plugin.AssetLoader): """Load animations from a .blend file. Warning: @@ -105,8 +105,8 @@ class BlendAnimationLoader(pype.hosts.blender.api.plugin.AssetLoader): libpath = self.fname asset = context["asset"]["name"] subset = context["subset"]["name"] - lib_container = pype.hosts.blender.api.plugin.asset_name(asset, subset) - container_name = pype.hosts.blender.api.plugin.asset_name( + lib_container = openpype.hosts.blender.api.plugin.asset_name(asset, subset) + container_name = openpype.hosts.blender.api.plugin.asset_name( asset, subset, namespace ) @@ -175,7 +175,7 @@ class BlendAnimationLoader(pype.hosts.blender.api.plugin.AssetLoader): assert libpath.is_file(), ( f"The file doesn't exist: {libpath}" ) - assert extension in pype.hosts.blender.api.plugin.VALID_EXTENSIONS, ( + assert extension in openpype.hosts.blender.api.plugin.VALID_EXTENSIONS, ( f"Unsupported file: {libpath}" ) diff --git a/pype/hosts/blender/plugins/load/load_camera.py b/openpype/hosts/blender/plugins/load/load_camera.py similarity index 95% rename from pype/hosts/blender/plugins/load/load_camera.py rename to openpype/hosts/blender/plugins/load/load_camera.py index 1e8d4086ac..1a17f3d8b6 100644 --- a/pype/hosts/blender/plugins/load/load_camera.py +++ b/openpype/hosts/blender/plugins/load/load_camera.py @@ -7,12 +7,12 @@ from typing import Dict, List, Optional from avalon import api, blender import bpy -import pype.hosts.blender.api.plugin +import openpype.hosts.blender.api.plugin logger = logging.getLogger("pype").getChild("blender").getChild("load_camera") -class BlendCameraLoader(pype.hosts.blender.api.plugin.AssetLoader): +class BlendCameraLoader(openpype.hosts.blender.api.plugin.AssetLoader): """Load a camera from a .blend file. Warning: @@ -92,8 +92,8 @@ class BlendCameraLoader(pype.hosts.blender.api.plugin.AssetLoader): libpath = self.fname asset = context["asset"]["name"] subset = context["subset"]["name"] - lib_container = pype.hosts.blender.api.plugin.asset_name(asset, subset) - container_name = pype.hosts.blender.api.plugin.asset_name( + lib_container = openpype.hosts.blender.api.plugin.asset_name(asset, subset) + container_name = openpype.hosts.blender.api.plugin.asset_name( asset, subset, namespace ) @@ -162,7 +162,7 @@ class BlendCameraLoader(pype.hosts.blender.api.plugin.AssetLoader): assert libpath.is_file(), ( f"The file doesn't exist: {libpath}" ) - assert extension in pype.hosts.blender.api.plugin.VALID_EXTENSIONS, ( + assert extension in openpype.hosts.blender.api.plugin.VALID_EXTENSIONS, ( f"Unsupported file: {libpath}" ) diff --git a/pype/hosts/blender/plugins/load/load_layout.py b/openpype/hosts/blender/plugins/load/load_layout.py similarity index 99% rename from pype/hosts/blender/plugins/load/load_layout.py rename to openpype/hosts/blender/plugins/load/load_layout.py index cdd5f7db85..73b12d8c25 100644 --- a/pype/hosts/blender/plugins/load/load_layout.py +++ b/openpype/hosts/blender/plugins/load/load_layout.py @@ -11,8 +11,8 @@ from typing import Dict, List, Optional from avalon import api, blender, pipeline import bpy -import pype.hosts.blender.api.plugin as plugin -from pype.lib import get_creator_by_name +import openpype.hosts.blender.api.plugin as plugin +from openpype.lib import get_creator_by_name class BlendLayoutLoader(plugin.AssetLoader): diff --git a/pype/hosts/blender/plugins/load/load_model.py b/openpype/hosts/blender/plugins/load/load_model.py similarity index 99% rename from pype/hosts/blender/plugins/load/load_model.py rename to openpype/hosts/blender/plugins/load/load_model.py index 4c6c1a8d7f..7297e459a6 100644 --- a/pype/hosts/blender/plugins/load/load_model.py +++ b/openpype/hosts/blender/plugins/load/load_model.py @@ -7,7 +7,7 @@ from typing import Dict, List, Optional from avalon import api, blender import bpy -import pype.hosts.blender.api.plugin as plugin +import openpype.hosts.blender.api.plugin as plugin class BlendModelLoader(plugin.AssetLoader): diff --git a/pype/hosts/blender/plugins/load/load_rig.py b/openpype/hosts/blender/plugins/load/load_rig.py similarity index 99% rename from pype/hosts/blender/plugins/load/load_rig.py rename to openpype/hosts/blender/plugins/load/load_rig.py index 12fca8e4aa..c5690a6ab8 100644 --- a/pype/hosts/blender/plugins/load/load_rig.py +++ b/openpype/hosts/blender/plugins/load/load_rig.py @@ -7,7 +7,7 @@ from typing import Dict, List, Optional from avalon import api, blender import bpy -import pype.hosts.blender.api.plugin as plugin +import openpype.hosts.blender.api.plugin as plugin class BlendRigLoader(plugin.AssetLoader): diff --git a/pype/hosts/blender/plugins/publish/__init__.py b/openpype/hosts/blender/plugins/publish/__init__.py similarity index 100% rename from pype/hosts/blender/plugins/publish/__init__.py rename to openpype/hosts/blender/plugins/publish/__init__.py diff --git a/pype/hosts/blender/plugins/publish/collect_current_file.py b/openpype/hosts/blender/plugins/publish/collect_current_file.py similarity index 100% rename from pype/hosts/blender/plugins/publish/collect_current_file.py rename to openpype/hosts/blender/plugins/publish/collect_current_file.py diff --git a/pype/hosts/blender/plugins/publish/collect_instances.py b/openpype/hosts/blender/plugins/publish/collect_instances.py similarity index 100% rename from pype/hosts/blender/plugins/publish/collect_instances.py rename to openpype/hosts/blender/plugins/publish/collect_instances.py diff --git a/pype/hosts/blender/plugins/publish/extract_abc.py b/openpype/hosts/blender/plugins/publish/extract_abc.py similarity index 93% rename from pype/hosts/blender/plugins/publish/extract_abc.py rename to openpype/hosts/blender/plugins/publish/extract_abc.py index 949b28df51..6a89c6019b 100644 --- a/pype/hosts/blender/plugins/publish/extract_abc.py +++ b/openpype/hosts/blender/plugins/publish/extract_abc.py @@ -1,12 +1,12 @@ import os -import pype.api -import pype.hosts.blender.api.plugin +import openpype.api +import openpype.hosts.blender.api.plugin import bpy -class ExtractABC(pype.api.Extractor): +class ExtractABC(openpype.api.Extractor): """Extract as ABC.""" label = "Extract ABC" @@ -61,7 +61,7 @@ class ExtractABC(pype.api.Extractor): except: continue - new_context = pype.hosts.blender.api.plugin.create_blender_context( + new_context = openpype.hosts.blender.api.plugin.create_blender_context( active=selected[0], selected=selected) # We set the scale of the scene for the export diff --git a/pype/hosts/blender/plugins/publish/extract_animation_collection.py b/openpype/hosts/blender/plugins/publish/extract_animation_collection.py similarity index 96% rename from pype/hosts/blender/plugins/publish/extract_animation_collection.py rename to openpype/hosts/blender/plugins/publish/extract_animation_collection.py index 0cdd17cf1f..19dc59c5cd 100644 --- a/pype/hosts/blender/plugins/publish/extract_animation_collection.py +++ b/openpype/hosts/blender/plugins/publish/extract_animation_collection.py @@ -1,13 +1,13 @@ import os import json -import pype.api +import openpype.api import pyblish.api import bpy -class ExtractSetDress(pype.api.Extractor): +class ExtractSetDress(openpype.api.Extractor): """Extract setdress.""" label = "Extract SetDress" diff --git a/pype/hosts/blender/plugins/publish/extract_blend.py b/openpype/hosts/blender/plugins/publish/extract_blend.py similarity index 95% rename from pype/hosts/blender/plugins/publish/extract_blend.py rename to openpype/hosts/blender/plugins/publish/extract_blend.py index 6ba28d039a..890c8b5ffd 100644 --- a/pype/hosts/blender/plugins/publish/extract_blend.py +++ b/openpype/hosts/blender/plugins/publish/extract_blend.py @@ -1,10 +1,10 @@ import os import avalon.blender.workio -import pype.api +import openpype.api -class ExtractBlend(pype.api.Extractor): +class ExtractBlend(openpype.api.Extractor): """Extract a blend file.""" label = "Extract Blend" diff --git a/pype/hosts/blender/plugins/publish/extract_fbx.py b/openpype/hosts/blender/plugins/publish/extract_fbx.py similarity index 97% rename from pype/hosts/blender/plugins/publish/extract_fbx.py rename to openpype/hosts/blender/plugins/publish/extract_fbx.py index 231bfdde24..dc74348949 100644 --- a/pype/hosts/blender/plugins/publish/extract_fbx.py +++ b/openpype/hosts/blender/plugins/publish/extract_fbx.py @@ -1,11 +1,11 @@ import os -import pype.api +import openpype.api import bpy -class ExtractFBX(pype.api.Extractor): +class ExtractFBX(openpype.api.Extractor): """Extract as FBX.""" label = "Extract FBX" diff --git a/pype/hosts/blender/plugins/publish/extract_fbx_animation.py b/openpype/hosts/blender/plugins/publish/extract_fbx_animation.py similarity index 98% rename from pype/hosts/blender/plugins/publish/extract_fbx_animation.py rename to openpype/hosts/blender/plugins/publish/extract_fbx_animation.py index 9c421560f0..1036800705 100644 --- a/pype/hosts/blender/plugins/publish/extract_fbx_animation.py +++ b/openpype/hosts/blender/plugins/publish/extract_fbx_animation.py @@ -1,13 +1,13 @@ import os -import pype.api +import openpype.api import bpy import bpy_extras import bpy_extras.anim_utils -class ExtractAnimationFBX(pype.api.Extractor): +class ExtractAnimationFBX(openpype.api.Extractor): """Extract as animation.""" label = "Extract FBX" diff --git a/pype/hosts/blender/plugins/publish/increment_workfile_version.py b/openpype/hosts/blender/plugins/publish/increment_workfile_version.py similarity index 94% rename from pype/hosts/blender/plugins/publish/increment_workfile_version.py rename to openpype/hosts/blender/plugins/publish/increment_workfile_version.py index 5addca6392..db73842323 100644 --- a/pype/hosts/blender/plugins/publish/increment_workfile_version.py +++ b/openpype/hosts/blender/plugins/publish/increment_workfile_version.py @@ -16,7 +16,7 @@ class IncrementWorkfileVersion(pyblish.api.ContextPlugin): assert all(result["success"] for result in context.data["results"]), ( "Publishing not succesfull so version is not increased.") - from pype.lib import version_up + from openpype.lib import version_up path = context.data["currentFile"] filepath = version_up(path) diff --git a/pype/hosts/blender/plugins/publish/integrate_animation.py b/openpype/hosts/blender/plugins/publish/integrate_animation.py similarity index 100% rename from pype/hosts/blender/plugins/publish/integrate_animation.py rename to openpype/hosts/blender/plugins/publish/integrate_animation.py diff --git a/pype/hosts/blender/plugins/publish/validate_mesh_has_uv.py b/openpype/hosts/blender/plugins/publish/validate_mesh_has_uv.py similarity index 93% rename from pype/hosts/blender/plugins/publish/validate_mesh_has_uv.py rename to openpype/hosts/blender/plugins/publish/validate_mesh_has_uv.py index c415ea0e0d..1c73476fc8 100644 --- a/pype/hosts/blender/plugins/publish/validate_mesh_has_uv.py +++ b/openpype/hosts/blender/plugins/publish/validate_mesh_has_uv.py @@ -3,7 +3,7 @@ from typing import List import bpy import pyblish.api -import pype.hosts.blender.api.action +import openpype.hosts.blender.api.action class ValidateMeshHasUvs(pyblish.api.InstancePlugin): @@ -14,7 +14,7 @@ class ValidateMeshHasUvs(pyblish.api.InstancePlugin): families = ["model"] category = "geometry" label = "Mesh Has UV's" - actions = [pype.hosts.blender.api.action.SelectInvalidAction] + actions = [openpype.hosts.blender.api.action.SelectInvalidAction] optional = True @staticmethod diff --git a/pype/hosts/blender/plugins/publish/validate_mesh_no_negative_scale.py b/openpype/hosts/blender/plugins/publish/validate_mesh_no_negative_scale.py similarity index 88% rename from pype/hosts/blender/plugins/publish/validate_mesh_no_negative_scale.py rename to openpype/hosts/blender/plugins/publish/validate_mesh_no_negative_scale.py index bbce37f3db..00159a2d36 100644 --- a/pype/hosts/blender/plugins/publish/validate_mesh_no_negative_scale.py +++ b/openpype/hosts/blender/plugins/publish/validate_mesh_no_negative_scale.py @@ -3,7 +3,7 @@ from typing import List import bpy import pyblish.api -import pype.hosts.blender.api.action +import openpype.hosts.blender.api.action class ValidateMeshNoNegativeScale(pyblish.api.Validator): @@ -13,7 +13,7 @@ class ValidateMeshNoNegativeScale(pyblish.api.Validator): hosts = ["blender"] families = ["model"] label = "Mesh No Negative Scale" - actions = [pype.hosts.blender.api.action.SelectInvalidAction] + actions = [openpype.hosts.blender.api.action.SelectInvalidAction] @staticmethod def get_invalid(instance) -> List: diff --git a/openpype/hosts/blender/startup/init.py b/openpype/hosts/blender/startup/init.py new file mode 100644 index 0000000000..4b4e48fedc --- /dev/null +++ b/openpype/hosts/blender/startup/init.py @@ -0,0 +1,3 @@ +from openpype.hosts.blender import api + +api.install() diff --git a/pype/hosts/celaction/__init__.py b/openpype/hosts/celaction/__init__.py similarity index 100% rename from pype/hosts/celaction/__init__.py rename to openpype/hosts/celaction/__init__.py diff --git a/pype/hosts/celaction/api/__init__.py b/openpype/hosts/celaction/api/__init__.py similarity index 100% rename from pype/hosts/celaction/api/__init__.py rename to openpype/hosts/celaction/api/__init__.py diff --git a/pype/hosts/celaction/api/cli.py b/openpype/hosts/celaction/api/cli.py similarity index 91% rename from pype/hosts/celaction/api/cli.py rename to openpype/hosts/celaction/api/cli.py index f77bdea451..0a70610acb 100644 --- a/pype/hosts/celaction/api/cli.py +++ b/openpype/hosts/celaction/api/cli.py @@ -9,16 +9,16 @@ from avalon.tools import publish import pyblish.api import pyblish.util -from pype.api import Logger -import pype -import pype.hosts.celaction -from pype.hosts.celaction import api as celaction +from openpype.api import Logger +import openpype +import openpype.hosts.celaction +from openpype.hosts.celaction import api as celaction log = Logger().get_logger("Celaction_cli_publisher") publish_host = "celaction" -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.celaction.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.celaction.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") LOAD_PATH = os.path.join(PLUGINS_DIR, "load") @@ -89,7 +89,7 @@ def main(): _prepare_publish_environments() # Registers pype's Global pyblish plugins - pype.install() + openpype.install() if os.path.exists(PUBLISH_PATH): log.info(f"Registering path: {PUBLISH_PATH}") diff --git a/pype/hosts/celaction/hooks/__init__.py b/openpype/hosts/celaction/hooks/__init__.py similarity index 100% rename from pype/hosts/celaction/hooks/__init__.py rename to openpype/hosts/celaction/hooks/__init__.py diff --git a/pype/hosts/celaction/hooks/pre_celaction_registers.py b/openpype/hosts/celaction/hooks/pre_celaction_registers.py similarity index 97% rename from pype/hosts/celaction/hooks/pre_celaction_registers.py rename to openpype/hosts/celaction/hooks/pre_celaction_registers.py index 2e535d6d77..e49e66f163 100644 --- a/pype/hosts/celaction/hooks/pre_celaction_registers.py +++ b/openpype/hosts/celaction/hooks/pre_celaction_registers.py @@ -1,8 +1,8 @@ import os import shutil import winreg -from pype.lib import PreLaunchHook -from pype.hosts.celaction import api as celaction +from openpype.lib import PreLaunchHook +from openpype.hosts.celaction import api as celaction class CelactionPrelaunchHook(PreLaunchHook): diff --git a/pype/hosts/celaction/plugins/__init__.py b/openpype/hosts/celaction/plugins/__init__.py similarity index 100% rename from pype/hosts/celaction/plugins/__init__.py rename to openpype/hosts/celaction/plugins/__init__.py diff --git a/pype/hosts/celaction/plugins/publish/collect_audio.py b/openpype/hosts/celaction/plugins/publish/collect_audio.py similarity index 100% rename from pype/hosts/celaction/plugins/publish/collect_audio.py rename to openpype/hosts/celaction/plugins/publish/collect_audio.py diff --git a/pype/hosts/celaction/plugins/publish/collect_celaction_cli_kwargs.py b/openpype/hosts/celaction/plugins/publish/collect_celaction_cli_kwargs.py similarity index 93% rename from pype/hosts/celaction/plugins/publish/collect_celaction_cli_kwargs.py rename to openpype/hosts/celaction/plugins/publish/collect_celaction_cli_kwargs.py index 463805ce4b..15c5ddaf1c 100644 --- a/pype/hosts/celaction/plugins/publish/collect_celaction_cli_kwargs.py +++ b/openpype/hosts/celaction/plugins/publish/collect_celaction_cli_kwargs.py @@ -1,5 +1,5 @@ import pyblish.api -from pype.hosts.celaction import api as celaction +from openpype.hosts.celaction import api as celaction class CollectCelactionCliKwargs(pyblish.api.Collector): diff --git a/pype/hosts/celaction/plugins/publish/collect_celaction_instances.py b/openpype/hosts/celaction/plugins/publish/collect_celaction_instances.py similarity index 100% rename from pype/hosts/celaction/plugins/publish/collect_celaction_instances.py rename to openpype/hosts/celaction/plugins/publish/collect_celaction_instances.py diff --git a/pype/hosts/celaction/plugins/publish/collect_render_path.py b/openpype/hosts/celaction/plugins/publish/collect_render_path.py similarity index 100% rename from pype/hosts/celaction/plugins/publish/collect_render_path.py rename to openpype/hosts/celaction/plugins/publish/collect_render_path.py diff --git a/pype/hosts/celaction/plugins/publish/integrate_version_up.py b/openpype/hosts/celaction/plugins/publish/integrate_version_up.py similarity index 88% rename from pype/hosts/celaction/plugins/publish/integrate_version_up.py rename to openpype/hosts/celaction/plugins/publish/integrate_version_up.py index 140878e2b9..dc08127a8a 100644 --- a/pype/hosts/celaction/plugins/publish/integrate_version_up.py +++ b/openpype/hosts/celaction/plugins/publish/integrate_version_up.py @@ -1,5 +1,5 @@ import shutil -import pype +import openpype import pyblish.api @@ -12,7 +12,7 @@ class VersionUpScene(pyblish.api.ContextPlugin): def process(self, context): current_file = context.data.get('currentFile') - v_up = pype.lib.version_up(current_file) + v_up = openpype.lib.version_up(current_file) self.log.debug('Current file is: {}'.format(current_file)) self.log.debug('Version up: {}'.format(v_up)) diff --git a/pype/hosts/celaction/plugins/publish/submit_celaction_deadline.py b/openpype/hosts/celaction/plugins/publish/submit_celaction_deadline.py similarity index 100% rename from pype/hosts/celaction/plugins/publish/submit_celaction_deadline.py rename to openpype/hosts/celaction/plugins/publish/submit_celaction_deadline.py diff --git a/pype/hosts/celaction/resources/celaction_template_scene.scn b/openpype/hosts/celaction/resources/celaction_template_scene.scn similarity index 100% rename from pype/hosts/celaction/resources/celaction_template_scene.scn rename to openpype/hosts/celaction/resources/celaction_template_scene.scn diff --git a/pype/hosts/fusion/__init__.py b/openpype/hosts/fusion/__init__.py similarity index 100% rename from pype/hosts/fusion/__init__.py rename to openpype/hosts/fusion/__init__.py diff --git a/pype/hosts/fusion/api/__init__.py b/openpype/hosts/fusion/api/__init__.py similarity index 100% rename from pype/hosts/fusion/api/__init__.py rename to openpype/hosts/fusion/api/__init__.py diff --git a/pype/hosts/fusion/api/lib.py b/openpype/hosts/fusion/api/lib.py similarity index 100% rename from pype/hosts/fusion/api/lib.py rename to openpype/hosts/fusion/api/lib.py diff --git a/pype/hosts/fusion/api/menu.py b/openpype/hosts/fusion/api/menu.py similarity index 99% rename from pype/hosts/fusion/api/menu.py rename to openpype/hosts/fusion/api/menu.py index b338b361d0..3f04bf839b 100644 --- a/pype/hosts/fusion/api/menu.py +++ b/openpype/hosts/fusion/api/menu.py @@ -15,7 +15,7 @@ from avalon.tools import ( libraryloader ) -from pype.hosts.fusion.scripts import ( +from openpype.hosts.fusion.scripts import ( set_rendermode, duplicate_with_inputs ) diff --git a/pype/hosts/fusion/api/menu_style.qss b/openpype/hosts/fusion/api/menu_style.qss similarity index 100% rename from pype/hosts/fusion/api/menu_style.qss rename to openpype/hosts/fusion/api/menu_style.qss diff --git a/pype/hosts/fusion/api/pipeline.py b/openpype/hosts/fusion/api/pipeline.py similarity index 96% rename from pype/hosts/fusion/api/pipeline.py rename to openpype/hosts/fusion/api/pipeline.py index bcb2b0aaf3..4fec548993 100644 --- a/pype/hosts/fusion/api/pipeline.py +++ b/openpype/hosts/fusion/api/pipeline.py @@ -6,12 +6,12 @@ import os from avalon.tools import workfiles from avalon import api as avalon from pyblish import api as pyblish -from pype.api import Logger -import pype.hosts.fusion +from openpype.api import Logger +import openpype.hosts.fusion log = Logger().get_logger(__name__) -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.fusion.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.fusion.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") diff --git a/pype/hosts/fusion/api/utils.py b/openpype/hosts/fusion/api/utils.py similarity index 94% rename from pype/hosts/fusion/api/utils.py rename to openpype/hosts/fusion/api/utils.py index 377c33d457..5605323b1e 100644 --- a/pype/hosts/fusion/api/utils.py +++ b/openpype/hosts/fusion/api/utils.py @@ -7,8 +7,8 @@ Fusion tools for setting environment import os import shutil -from pype.api import Logger -import pype.hosts.fusion +from openpype.api import Logger +import openpype.hosts.fusion log = Logger().get_logger(__name__) @@ -27,7 +27,7 @@ def _sync_utility_scripts(env=None): us_env = env.get("FUSION_UTILITY_SCRIPTS_SOURCE_DIR") us_dir = env.get("FUSION_UTILITY_SCRIPTS_DIR", "") us_paths = [os.path.join( - os.path.dirname(os.path.abspath(pype.hosts.fusion.__file__)), + os.path.dirname(os.path.abspath(openpype.hosts.fusion.__file__)), "utility_scripts" )] diff --git a/pype/hosts/fusion/hooks/pre_fusion_setup.py b/openpype/hosts/fusion/hooks/pre_fusion_setup.py similarity index 95% rename from pype/hosts/fusion/hooks/pre_fusion_setup.py rename to openpype/hosts/fusion/hooks/pre_fusion_setup.py index 0a6135419b..a0c16a6700 100644 --- a/pype/hosts/fusion/hooks/pre_fusion_setup.py +++ b/openpype/hosts/fusion/hooks/pre_fusion_setup.py @@ -1,7 +1,7 @@ import os import importlib -from pype.lib import PreLaunchHook -from pype.hosts.fusion.api import utils +from openpype.lib import PreLaunchHook +from openpype.hosts.fusion.api import utils class FusionPrelaunch(PreLaunchHook): diff --git a/pype/hosts/fusion/plugins/create/create_exr_saver.py b/openpype/hosts/fusion/plugins/create/create_exr_saver.py similarity index 95% rename from pype/hosts/fusion/plugins/create/create_exr_saver.py rename to openpype/hosts/fusion/plugins/create/create_exr_saver.py index 560f7deb7f..077e77c059 100644 --- a/pype/hosts/fusion/plugins/create/create_exr_saver.py +++ b/openpype/hosts/fusion/plugins/create/create_exr_saver.py @@ -1,10 +1,10 @@ import os -import pype.api +import openpype.api from avalon import fusion -class CreateOpenEXRSaver(pype.api.Creator): +class CreateOpenEXRSaver(openpype.api.Creator): name = "openexrDefault" label = "Create OpenEXR Saver" diff --git a/pype/hosts/fusion/plugins/inventory/select_containers.py b/openpype/hosts/fusion/plugins/inventory/select_containers.py similarity index 100% rename from pype/hosts/fusion/plugins/inventory/select_containers.py rename to openpype/hosts/fusion/plugins/inventory/select_containers.py diff --git a/pype/hosts/fusion/plugins/inventory/set_tool_color.py b/openpype/hosts/fusion/plugins/inventory/set_tool_color.py similarity index 100% rename from pype/hosts/fusion/plugins/inventory/set_tool_color.py rename to openpype/hosts/fusion/plugins/inventory/set_tool_color.py diff --git a/pype/hosts/fusion/plugins/load/actions.py b/openpype/hosts/fusion/plugins/load/actions.py similarity index 95% rename from pype/hosts/fusion/plugins/load/actions.py rename to openpype/hosts/fusion/plugins/load/actions.py index 51a32ee6e1..e1cdc6a41b 100644 --- a/pype/hosts/fusion/plugins/load/actions.py +++ b/openpype/hosts/fusion/plugins/load/actions.py @@ -22,7 +22,7 @@ class FusionSetFrameRangeLoader(api.Loader): def load(self, context, name, namespace, data): - from pype.hosts.fusion.api import lib + from openpype.hosts.fusion.api import lib version = context['version'] version_data = version.get("data", {}) @@ -55,7 +55,7 @@ class FusionSetFrameRangeWithHandlesLoader(api.Loader): def load(self, context, name, namespace, data): - from pype.hosts.fusion.api import lib + from openpype.hosts.fusion.api import lib version = context['version'] version_data = version.get("data", {}) diff --git a/pype/hosts/fusion/plugins/load/load_sequence.py b/openpype/hosts/fusion/plugins/load/load_sequence.py similarity index 100% rename from pype/hosts/fusion/plugins/load/load_sequence.py rename to openpype/hosts/fusion/plugins/load/load_sequence.py diff --git a/pype/hosts/fusion/plugins/publish/collect_comp.py b/openpype/hosts/fusion/plugins/publish/collect_comp.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/collect_comp.py rename to openpype/hosts/fusion/plugins/publish/collect_comp.py diff --git a/pype/hosts/fusion/plugins/publish/collect_fusion_version.py b/openpype/hosts/fusion/plugins/publish/collect_fusion_version.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/collect_fusion_version.py rename to openpype/hosts/fusion/plugins/publish/collect_fusion_version.py diff --git a/pype/hosts/fusion/plugins/publish/collect_instances.py b/openpype/hosts/fusion/plugins/publish/collect_instances.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/collect_instances.py rename to openpype/hosts/fusion/plugins/publish/collect_instances.py diff --git a/pype/hosts/fusion/plugins/publish/collect_render_target.py b/openpype/hosts/fusion/plugins/publish/collect_render_target.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/collect_render_target.py rename to openpype/hosts/fusion/plugins/publish/collect_render_target.py diff --git a/pype/hosts/fusion/plugins/publish/increment_current_file_deadline.py b/openpype/hosts/fusion/plugins/publish/increment_current_file_deadline.py similarity index 89% rename from pype/hosts/fusion/plugins/publish/increment_current_file_deadline.py rename to openpype/hosts/fusion/plugins/publish/increment_current_file_deadline.py index 9641ba7ef6..6483454d96 100644 --- a/pype/hosts/fusion/plugins/publish/increment_current_file_deadline.py +++ b/openpype/hosts/fusion/plugins/publish/increment_current_file_deadline.py @@ -16,8 +16,8 @@ class FusionIncrementCurrentFile(pyblish.api.ContextPlugin): def process(self, context): - from pype.lib import version_up - from pype.action import get_errored_plugins_from_data + from openpype.lib import version_up + from openpype.action import get_errored_plugins_from_data errored_plugins = get_errored_plugins_from_data(context) if any(plugin.__name__ == "FusionSubmitDeadline" diff --git a/pype/hosts/fusion/plugins/publish/render_local.py b/openpype/hosts/fusion/plugins/publish/render_local.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/render_local.py rename to openpype/hosts/fusion/plugins/publish/render_local.py diff --git a/pype/hosts/fusion/plugins/publish/save_scene.py b/openpype/hosts/fusion/plugins/publish/save_scene.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/save_scene.py rename to openpype/hosts/fusion/plugins/publish/save_scene.py diff --git a/pype/hosts/fusion/plugins/publish/submit_deadline.py b/openpype/hosts/fusion/plugins/publish/submit_deadline.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/submit_deadline.py rename to openpype/hosts/fusion/plugins/publish/submit_deadline.py diff --git a/pype/hosts/fusion/plugins/publish/validate_background_depth.py b/openpype/hosts/fusion/plugins/publish/validate_background_depth.py similarity index 97% rename from pype/hosts/fusion/plugins/publish/validate_background_depth.py rename to openpype/hosts/fusion/plugins/publish/validate_background_depth.py index de042ae315..a0734d8278 100644 --- a/pype/hosts/fusion/plugins/publish/validate_background_depth.py +++ b/openpype/hosts/fusion/plugins/publish/validate_background_depth.py @@ -1,6 +1,6 @@ import pyblish.api -from pype import action +from openpype import action class ValidateBackgroundDepth(pyblish.api.InstancePlugin): diff --git a/pype/hosts/fusion/plugins/publish/validate_comp_saved.py b/openpype/hosts/fusion/plugins/publish/validate_comp_saved.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/validate_comp_saved.py rename to openpype/hosts/fusion/plugins/publish/validate_comp_saved.py diff --git a/pype/hosts/fusion/plugins/publish/validate_create_folder_checked.py b/openpype/hosts/fusion/plugins/publish/validate_create_folder_checked.py similarity index 97% rename from pype/hosts/fusion/plugins/publish/validate_create_folder_checked.py rename to openpype/hosts/fusion/plugins/publish/validate_create_folder_checked.py index cce3695c31..45ed53f65c 100644 --- a/pype/hosts/fusion/plugins/publish/validate_create_folder_checked.py +++ b/openpype/hosts/fusion/plugins/publish/validate_create_folder_checked.py @@ -1,6 +1,6 @@ import pyblish.api -from pype import action +from openpype import action class ValidateCreateFolderChecked(pyblish.api.InstancePlugin): diff --git a/pype/hosts/fusion/plugins/publish/validate_filename_has_extension.py b/openpype/hosts/fusion/plugins/publish/validate_filename_has_extension.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/validate_filename_has_extension.py rename to openpype/hosts/fusion/plugins/publish/validate_filename_has_extension.py diff --git a/pype/hosts/fusion/plugins/publish/validate_saver_has_input.py b/openpype/hosts/fusion/plugins/publish/validate_saver_has_input.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/validate_saver_has_input.py rename to openpype/hosts/fusion/plugins/publish/validate_saver_has_input.py diff --git a/pype/hosts/fusion/plugins/publish/validate_saver_passthrough.py b/openpype/hosts/fusion/plugins/publish/validate_saver_passthrough.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/validate_saver_passthrough.py rename to openpype/hosts/fusion/plugins/publish/validate_saver_passthrough.py diff --git a/pype/hosts/fusion/plugins/publish/validate_unique_subsets.py b/openpype/hosts/fusion/plugins/publish/validate_unique_subsets.py similarity index 100% rename from pype/hosts/fusion/plugins/publish/validate_unique_subsets.py rename to openpype/hosts/fusion/plugins/publish/validate_unique_subsets.py diff --git a/pype/hosts/fusion/scripts/__init__.py b/openpype/hosts/fusion/scripts/__init__.py similarity index 100% rename from pype/hosts/fusion/scripts/__init__.py rename to openpype/hosts/fusion/scripts/__init__.py diff --git a/pype/hosts/fusion/scripts/duplicate_with_inputs.py b/openpype/hosts/fusion/scripts/duplicate_with_inputs.py similarity index 100% rename from pype/hosts/fusion/scripts/duplicate_with_inputs.py rename to openpype/hosts/fusion/scripts/duplicate_with_inputs.py diff --git a/pype/hosts/fusion/scripts/fusion_switch_shot.py b/openpype/hosts/fusion/scripts/fusion_switch_shot.py similarity index 99% rename from pype/hosts/fusion/scripts/fusion_switch_shot.py rename to openpype/hosts/fusion/scripts/fusion_switch_shot.py index 2eea68b007..05b577c8ba 100644 --- a/pype/hosts/fusion/scripts/fusion_switch_shot.py +++ b/openpype/hosts/fusion/scripts/fusion_switch_shot.py @@ -8,8 +8,8 @@ from avalon import api, io, pipeline import avalon.fusion # Config imports -import pype.lib as pype -import pype.hosts.fusion.api.lib as fusion_lib +import openpype.lib as pype +import openpype.hosts.fusion.api.lib as fusion_lib log = logging.getLogger("Update Slap Comp") diff --git a/pype/hosts/fusion/scripts/set_rendermode.py b/openpype/hosts/fusion/scripts/set_rendermode.py similarity index 100% rename from pype/hosts/fusion/scripts/set_rendermode.py rename to openpype/hosts/fusion/scripts/set_rendermode.py diff --git a/pype/hosts/fusion/utility_scripts/32bit/backgrounds_selected_to32bit.py b/openpype/hosts/fusion/utility_scripts/32bit/backgrounds_selected_to32bit.py similarity index 100% rename from pype/hosts/fusion/utility_scripts/32bit/backgrounds_selected_to32bit.py rename to openpype/hosts/fusion/utility_scripts/32bit/backgrounds_selected_to32bit.py diff --git a/pype/hosts/fusion/utility_scripts/32bit/backgrounds_to32bit.py b/openpype/hosts/fusion/utility_scripts/32bit/backgrounds_to32bit.py similarity index 100% rename from pype/hosts/fusion/utility_scripts/32bit/backgrounds_to32bit.py rename to openpype/hosts/fusion/utility_scripts/32bit/backgrounds_to32bit.py diff --git a/pype/hosts/fusion/utility_scripts/32bit/loaders_selected_to32bit.py b/openpype/hosts/fusion/utility_scripts/32bit/loaders_selected_to32bit.py similarity index 100% rename from pype/hosts/fusion/utility_scripts/32bit/loaders_selected_to32bit.py rename to openpype/hosts/fusion/utility_scripts/32bit/loaders_selected_to32bit.py diff --git a/pype/hosts/fusion/utility_scripts/32bit/loaders_to32bit.py b/openpype/hosts/fusion/utility_scripts/32bit/loaders_to32bit.py similarity index 100% rename from pype/hosts/fusion/utility_scripts/32bit/loaders_to32bit.py rename to openpype/hosts/fusion/utility_scripts/32bit/loaders_to32bit.py diff --git a/pype/hosts/fusion/utility_scripts/__OpenPype_Menu__.py b/openpype/hosts/fusion/utility_scripts/__OpenPype_Menu__.py similarity index 77% rename from pype/hosts/fusion/utility_scripts/__OpenPype_Menu__.py rename to openpype/hosts/fusion/utility_scripts/__OpenPype_Menu__.py index 8940f5fc52..81df2bc31d 100644 --- a/pype/hosts/fusion/utility_scripts/__OpenPype_Menu__.py +++ b/openpype/hosts/fusion/utility_scripts/__OpenPype_Menu__.py @@ -1,17 +1,17 @@ import os import sys -import pype +import openpype -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger(__name__) def main(env): - from pype.hosts.fusion.api import menu + from openpype.hosts.fusion.api import menu import avalon.fusion # Registers pype's Global pyblish plugins - pype.install() + openpype.install() # activate resolve from pype avalon.api.install(avalon.fusion) diff --git a/pype/hosts/fusion/utility_scripts/switch_ui.py b/openpype/hosts/fusion/utility_scripts/switch_ui.py similarity index 100% rename from pype/hosts/fusion/utility_scripts/switch_ui.py rename to openpype/hosts/fusion/utility_scripts/switch_ui.py diff --git a/pype/hosts/fusion/utility_scripts/update_loader_ranges.py b/openpype/hosts/fusion/utility_scripts/update_loader_ranges.py similarity index 100% rename from pype/hosts/fusion/utility_scripts/update_loader_ranges.py rename to openpype/hosts/fusion/utility_scripts/update_loader_ranges.py diff --git a/pype/hosts/harmony/__init__.py b/openpype/hosts/harmony/__init__.py similarity index 100% rename from pype/hosts/harmony/__init__.py rename to openpype/hosts/harmony/__init__.py diff --git a/pype/hosts/harmony/api/__init__.py b/openpype/hosts/harmony/api/__init__.py similarity index 97% rename from pype/hosts/harmony/api/__init__.py rename to openpype/hosts/harmony/api/__init__.py index ae1450d9cc..6ed8c0c7cf 100644 --- a/pype/hosts/harmony/api/__init__.py +++ b/openpype/hosts/harmony/api/__init__.py @@ -4,9 +4,9 @@ import os from pathlib import Path import logging -from pype import lib -from pype.api import (get_current_project_settings) -import pype.hosts.harmony +from openpype import lib +from openpype.api import (get_current_project_settings) +import openpype.hosts.harmony import pyblish.api @@ -17,7 +17,7 @@ import avalon.tools.sceneinventory log = logging.getLogger("pype.hosts.harmony") -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.harmony.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.harmony.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") LOAD_PATH = os.path.join(PLUGINS_DIR, "load") diff --git a/pype/hosts/harmony/api/plugin.py b/openpype/hosts/harmony/api/plugin.py similarity index 67% rename from pype/hosts/harmony/api/plugin.py rename to openpype/hosts/harmony/api/plugin.py index 3525ad686d..7ac7fe510c 100644 --- a/pype/hosts/harmony/api/plugin.py +++ b/openpype/hosts/harmony/api/plugin.py @@ -1,5 +1,5 @@ from avalon import harmony -from pype.api import PypeCreatorMixin +from openpype.api import PypeCreatorMixin class Creator(PypeCreatorMixin, harmony.Creator): diff --git a/pype/hosts/harmony/js/.eslintrc.json b/openpype/hosts/harmony/js/.eslintrc.json similarity index 100% rename from pype/hosts/harmony/js/.eslintrc.json rename to openpype/hosts/harmony/js/.eslintrc.json diff --git a/pype/hosts/harmony/js/PypeHarmony.js b/openpype/hosts/harmony/js/PypeHarmony.js similarity index 100% rename from pype/hosts/harmony/js/PypeHarmony.js rename to openpype/hosts/harmony/js/PypeHarmony.js diff --git a/pype/hosts/harmony/js/README.md b/openpype/hosts/harmony/js/README.md similarity index 100% rename from pype/hosts/harmony/js/README.md rename to openpype/hosts/harmony/js/README.md diff --git a/pype/hosts/harmony/js/creators/CreateRender.js b/openpype/hosts/harmony/js/creators/CreateRender.js similarity index 100% rename from pype/hosts/harmony/js/creators/CreateRender.js rename to openpype/hosts/harmony/js/creators/CreateRender.js diff --git a/pype/hosts/harmony/js/loaders/ImageSequenceLoader.js b/openpype/hosts/harmony/js/loaders/ImageSequenceLoader.js similarity index 100% rename from pype/hosts/harmony/js/loaders/ImageSequenceLoader.js rename to openpype/hosts/harmony/js/loaders/ImageSequenceLoader.js diff --git a/pype/hosts/harmony/js/loaders/TemplateLoader.js b/openpype/hosts/harmony/js/loaders/TemplateLoader.js similarity index 100% rename from pype/hosts/harmony/js/loaders/TemplateLoader.js rename to openpype/hosts/harmony/js/loaders/TemplateLoader.js diff --git a/pype/hosts/harmony/js/package.json b/openpype/hosts/harmony/js/package.json similarity index 100% rename from pype/hosts/harmony/js/package.json rename to openpype/hosts/harmony/js/package.json diff --git a/pype/hosts/harmony/js/publish/CollectCurrentFile.js b/openpype/hosts/harmony/js/publish/CollectCurrentFile.js similarity index 100% rename from pype/hosts/harmony/js/publish/CollectCurrentFile.js rename to openpype/hosts/harmony/js/publish/CollectCurrentFile.js diff --git a/pype/hosts/harmony/js/publish/CollectFarmRender.js b/openpype/hosts/harmony/js/publish/CollectFarmRender.js similarity index 100% rename from pype/hosts/harmony/js/publish/CollectFarmRender.js rename to openpype/hosts/harmony/js/publish/CollectFarmRender.js diff --git a/pype/hosts/harmony/js/publish/CollectPalettes.js b/openpype/hosts/harmony/js/publish/CollectPalettes.js similarity index 100% rename from pype/hosts/harmony/js/publish/CollectPalettes.js rename to openpype/hosts/harmony/js/publish/CollectPalettes.js diff --git a/pype/hosts/harmony/js/publish/ExtractPalette.js b/openpype/hosts/harmony/js/publish/ExtractPalette.js similarity index 100% rename from pype/hosts/harmony/js/publish/ExtractPalette.js rename to openpype/hosts/harmony/js/publish/ExtractPalette.js diff --git a/pype/hosts/harmony/js/publish/ExtractTemplate.js b/openpype/hosts/harmony/js/publish/ExtractTemplate.js similarity index 100% rename from pype/hosts/harmony/js/publish/ExtractTemplate.js rename to openpype/hosts/harmony/js/publish/ExtractTemplate.js diff --git a/pype/hosts/harmony/plugins/__init__.py b/openpype/hosts/harmony/plugins/__init__.py similarity index 100% rename from pype/hosts/harmony/plugins/__init__.py rename to openpype/hosts/harmony/plugins/__init__.py diff --git a/pype/hosts/harmony/plugins/create/create_farm_render.py b/openpype/hosts/harmony/plugins/create/create_farm_render.py similarity index 95% rename from pype/hosts/harmony/plugins/create/create_farm_render.py rename to openpype/hosts/harmony/plugins/create/create_farm_render.py index a1b198b672..26dab92034 100644 --- a/pype/hosts/harmony/plugins/create/create_farm_render.py +++ b/openpype/hosts/harmony/plugins/create/create_farm_render.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Create Composite node for render on farm.""" from avalon import harmony -from pype.hosts.harmony.api import plugin +from openpype.hosts.harmony.api import plugin class CreateFarmRender(plugin.Creator): diff --git a/pype/hosts/harmony/plugins/create/create_render.py b/openpype/hosts/harmony/plugins/create/create_render.py similarity index 93% rename from pype/hosts/harmony/plugins/create/create_render.py rename to openpype/hosts/harmony/plugins/create/create_render.py index b9a0987b37..b7fd6e6ef9 100644 --- a/pype/hosts/harmony/plugins/create/create_render.py +++ b/openpype/hosts/harmony/plugins/create/create_render.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Create render node.""" from avalon import harmony -from pype.hosts.harmony.api import plugin +from openpype.hosts.harmony.api import plugin class CreateRender(plugin.Creator): diff --git a/pype/hosts/harmony/plugins/create/create_template.py b/openpype/hosts/harmony/plugins/create/create_template.py similarity index 86% rename from pype/hosts/harmony/plugins/create/create_template.py rename to openpype/hosts/harmony/plugins/create/create_template.py index 628606c9f4..534179b190 100644 --- a/pype/hosts/harmony/plugins/create/create_template.py +++ b/openpype/hosts/harmony/plugins/create/create_template.py @@ -1,4 +1,4 @@ -from pype.hosts.harmony.api import plugin +from openpype.hosts.harmony.api import plugin class CreateTemplate(plugin.Creator): diff --git a/pype/hosts/harmony/plugins/load/load_audio.py b/openpype/hosts/harmony/plugins/load/load_audio.py similarity index 100% rename from pype/hosts/harmony/plugins/load/load_audio.py rename to openpype/hosts/harmony/plugins/load/load_audio.py diff --git a/pype/hosts/harmony/plugins/load/load_background.py b/openpype/hosts/harmony/plugins/load/load_background.py similarity index 99% rename from pype/hosts/harmony/plugins/load/load_background.py rename to openpype/hosts/harmony/plugins/load/load_background.py index 5ef4535576..946090f6e6 100644 --- a/pype/hosts/harmony/plugins/load/load_background.py +++ b/openpype/hosts/harmony/plugins/load/load_background.py @@ -2,7 +2,7 @@ import os import json from avalon import api, harmony -import pype.lib +import openpype.lib copy_files = """function copyFile(srcFilename, dstFilename) @@ -343,7 +343,7 @@ class BackgroundLoader(api.Loader): } %s """ % (sig, sig) - if pype.lib.is_latest(representation): + if openpype.lib.is_latest(representation): harmony.send({"function": func, "args": [node, "green"]}) else: harmony.send({"function": func, "args": [node, "red"]}) diff --git a/pype/hosts/harmony/plugins/load/load_imagesequence.py b/openpype/hosts/harmony/plugins/load/load_imagesequence.py similarity index 98% rename from pype/hosts/harmony/plugins/load/load_imagesequence.py rename to openpype/hosts/harmony/plugins/load/load_imagesequence.py index db7af90b14..80f63a8049 100644 --- a/pype/hosts/harmony/plugins/load/load_imagesequence.py +++ b/openpype/hosts/harmony/plugins/load/load_imagesequence.py @@ -7,7 +7,7 @@ from pathlib import Path import clique from avalon import api, harmony -import pype.lib +import openpype.lib class ImageSequenceLoader(api.Loader): @@ -105,7 +105,7 @@ class ImageSequenceLoader(api.Loader): ) # Colour node. - if pype.lib.is_latest(representation): + if openpype.lib.is_latest(representation): harmony.send( { "function": "PypeHarmony.setColor", diff --git a/pype/hosts/harmony/plugins/load/load_palette.py b/openpype/hosts/harmony/plugins/load/load_palette.py similarity index 100% rename from pype/hosts/harmony/plugins/load/load_palette.py rename to openpype/hosts/harmony/plugins/load/load_palette.py diff --git a/pype/hosts/harmony/plugins/load/load_template.py b/openpype/hosts/harmony/plugins/load/load_template.py similarity index 98% rename from pype/hosts/harmony/plugins/load/load_template.py rename to openpype/hosts/harmony/plugins/load/load_template.py index 59135c7931..34161daf81 100644 --- a/pype/hosts/harmony/plugins/load/load_template.py +++ b/openpype/hosts/harmony/plugins/load/load_template.py @@ -7,7 +7,7 @@ import shutil import uuid from avalon import api, harmony -import pype.lib +import openpype.lib class TemplateLoader(api.Loader): @@ -79,7 +79,7 @@ class TemplateLoader(api.Loader): self_name = self.__class__.__name__ update_and_replace = False - if pype.lib.is_latest(representation): + if openpype.lib.is_latest(representation): self._set_green(node) else: self._set_red(node) diff --git a/pype/hosts/harmony/plugins/load/load_template_workfile.py b/openpype/hosts/harmony/plugins/load/load_template_workfile.py similarity index 100% rename from pype/hosts/harmony/plugins/load/load_template_workfile.py rename to openpype/hosts/harmony/plugins/load/load_template_workfile.py diff --git a/pype/hosts/harmony/plugins/publish/collect_audio.py b/openpype/hosts/harmony/plugins/publish/collect_audio.py similarity index 100% rename from pype/hosts/harmony/plugins/publish/collect_audio.py rename to openpype/hosts/harmony/plugins/publish/collect_audio.py diff --git a/pype/hosts/harmony/plugins/publish/collect_current_file.py b/openpype/hosts/harmony/plugins/publish/collect_current_file.py similarity index 100% rename from pype/hosts/harmony/plugins/publish/collect_current_file.py rename to openpype/hosts/harmony/plugins/publish/collect_current_file.py diff --git a/pype/hosts/harmony/plugins/publish/collect_farm_render.py b/openpype/hosts/harmony/plugins/publish/collect_farm_render.py similarity index 97% rename from pype/hosts/harmony/plugins/publish/collect_farm_render.py rename to openpype/hosts/harmony/plugins/publish/collect_farm_render.py index c283b7f8da..fc80e7c029 100644 --- a/pype/hosts/harmony/plugins/publish/collect_farm_render.py +++ b/openpype/hosts/harmony/plugins/publish/collect_farm_render.py @@ -5,9 +5,9 @@ from pathlib import Path import attr from avalon import harmony, api -import pype.lib.abstract_collect_render -from pype.lib.abstract_collect_render import RenderInstance -import pype.lib +import openpype.lib.abstract_collect_render +from openpype.lib.abstract_collect_render import RenderInstance +import openpype.lib @attr.s @@ -18,7 +18,7 @@ class HarmonyRenderInstance(RenderInstance): leadingZeros = attr.ib(default=3) -class CollectFarmRender(pype.lib.abstract_collect_render. +class CollectFarmRender(openpype.lib.abstract_collect_render. AbstractCollectRender): """Gather all publishable renders.""" diff --git a/pype/hosts/harmony/plugins/publish/collect_instances.py b/openpype/hosts/harmony/plugins/publish/collect_instances.py similarity index 100% rename from pype/hosts/harmony/plugins/publish/collect_instances.py rename to openpype/hosts/harmony/plugins/publish/collect_instances.py diff --git a/pype/hosts/harmony/plugins/publish/collect_palettes.py b/openpype/hosts/harmony/plugins/publish/collect_palettes.py similarity index 100% rename from pype/hosts/harmony/plugins/publish/collect_palettes.py rename to openpype/hosts/harmony/plugins/publish/collect_palettes.py diff --git a/pype/hosts/harmony/plugins/publish/collect_scene.py b/openpype/hosts/harmony/plugins/publish/collect_scene.py similarity index 100% rename from pype/hosts/harmony/plugins/publish/collect_scene.py rename to openpype/hosts/harmony/plugins/publish/collect_scene.py diff --git a/pype/hosts/harmony/plugins/publish/collect_workfile.py b/openpype/hosts/harmony/plugins/publish/collect_workfile.py similarity index 100% rename from pype/hosts/harmony/plugins/publish/collect_workfile.py rename to openpype/hosts/harmony/plugins/publish/collect_workfile.py diff --git a/pype/hosts/harmony/plugins/publish/extract_palette.py b/openpype/hosts/harmony/plugins/publish/extract_palette.py similarity index 99% rename from pype/hosts/harmony/plugins/publish/extract_palette.py rename to openpype/hosts/harmony/plugins/publish/extract_palette.py index 39a822153c..d334883e9c 100644 --- a/pype/hosts/harmony/plugins/publish/extract_palette.py +++ b/openpype/hosts/harmony/plugins/publish/extract_palette.py @@ -6,10 +6,10 @@ import csv from PIL import Image, ImageDraw, ImageFont from avalon import harmony -import pype.api +import openpype.api -class ExtractPalette(pype.api.Extractor): +class ExtractPalette(openpype.api.Extractor): """Extract palette.""" label = "Extract Palette" diff --git a/pype/hosts/harmony/plugins/publish/extract_render.py b/openpype/hosts/harmony/plugins/publish/extract_render.py similarity index 98% rename from pype/hosts/harmony/plugins/publish/extract_render.py rename to openpype/hosts/harmony/plugins/publish/extract_render.py index 551d7afee1..8374a9427a 100644 --- a/pype/hosts/harmony/plugins/publish/extract_render.py +++ b/openpype/hosts/harmony/plugins/publish/extract_render.py @@ -4,7 +4,7 @@ import subprocess import pyblish.api from avalon import harmony -import pype.lib +import openpype.lib import clique @@ -89,7 +89,7 @@ class ExtractRender(pyblish.api.InstancePlugin): # Generate thumbnail. thumbnail_path = os.path.join(path, "thumbnail.png") - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") args = [ "{}".format(ffmpeg_path), "-y", "-i", os.path.join(path, list(collections[0])[0]), diff --git a/pype/hosts/harmony/plugins/publish/extract_save_scene.py b/openpype/hosts/harmony/plugins/publish/extract_save_scene.py similarity index 100% rename from pype/hosts/harmony/plugins/publish/extract_save_scene.py rename to openpype/hosts/harmony/plugins/publish/extract_save_scene.py diff --git a/pype/hosts/harmony/plugins/publish/extract_template.py b/openpype/hosts/harmony/plugins/publish/extract_template.py similarity index 96% rename from pype/hosts/harmony/plugins/publish/extract_template.py rename to openpype/hosts/harmony/plugins/publish/extract_template.py index 842bc77202..687fa19c22 100644 --- a/pype/hosts/harmony/plugins/publish/extract_template.py +++ b/openpype/hosts/harmony/plugins/publish/extract_template.py @@ -3,12 +3,12 @@ import os import shutil -import pype.api +import openpype.api from avalon import harmony -import pype.hosts.harmony +import openpype.hosts.harmony -class ExtractTemplate(pype.api.Extractor): +class ExtractTemplate(openpype.api.Extractor): """Extract the connected nodes to the composite instance.""" label = "Extract Template" @@ -50,7 +50,7 @@ class ExtractTemplate(pype.api.Extractor): dependencies.remove(instance.data["setMembers"][0]) # Export template. - pype.hosts.harmony.api.export_template( + openpype.hosts.harmony.api.export_template( unique_backdrops, dependencies, filepath ) diff --git a/pype/hosts/harmony/plugins/publish/extract_workfile.py b/openpype/hosts/harmony/plugins/publish/extract_workfile.py similarity index 94% rename from pype/hosts/harmony/plugins/publish/extract_workfile.py rename to openpype/hosts/harmony/plugins/publish/extract_workfile.py index 842d0aa8d3..7f25ec8150 100644 --- a/pype/hosts/harmony/plugins/publish/extract_workfile.py +++ b/openpype/hosts/harmony/plugins/publish/extract_workfile.py @@ -4,10 +4,10 @@ import os import shutil from zipfile import ZipFile -import pype.api +import openpype.api -class ExtractWorkfile(pype.api.Extractor): +class ExtractWorkfile(openpype.api.Extractor): """Extract and zip complete workfile folder into zip.""" label = "Extract Workfile" diff --git a/pype/hosts/harmony/plugins/publish/increment_workfile.py b/openpype/hosts/harmony/plugins/publish/increment_workfile.py similarity index 91% rename from pype/hosts/harmony/plugins/publish/increment_workfile.py rename to openpype/hosts/harmony/plugins/publish/increment_workfile.py index 858e5fab0e..fcbe299d15 100644 --- a/pype/hosts/harmony/plugins/publish/increment_workfile.py +++ b/openpype/hosts/harmony/plugins/publish/increment_workfile.py @@ -1,8 +1,8 @@ import os import pyblish.api -from pype.action import get_errored_plugins_from_data -from pype.lib import version_up +from openpype.action import get_errored_plugins_from_data +from openpype.lib import version_up from avalon import harmony diff --git a/pype/hosts/harmony/plugins/publish/validate_audio.py b/openpype/hosts/harmony/plugins/publish/validate_audio.py similarity index 100% rename from pype/hosts/harmony/plugins/publish/validate_audio.py rename to openpype/hosts/harmony/plugins/publish/validate_audio.py diff --git a/pype/hosts/harmony/plugins/publish/validate_instances.py b/openpype/hosts/harmony/plugins/publish/validate_instances.py similarity index 95% rename from pype/hosts/harmony/plugins/publish/validate_instances.py rename to openpype/hosts/harmony/plugins/publish/validate_instances.py index 238f8d1038..78073a1978 100644 --- a/pype/hosts/harmony/plugins/publish/validate_instances.py +++ b/openpype/hosts/harmony/plugins/publish/validate_instances.py @@ -1,7 +1,7 @@ import os import pyblish.api -import pype.api +import openpype.api from avalon import harmony @@ -36,7 +36,7 @@ class ValidateInstance(pyblish.api.InstancePlugin): label = "Validate Instance" hosts = ["harmony"] actions = [ValidateInstanceRepair] - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder def process(self, instance): instance_asset = instance.data["asset"] diff --git a/pype/hosts/harmony/plugins/publish/validate_scene_settings.py b/openpype/hosts/harmony/plugins/publish/validate_scene_settings.py similarity index 95% rename from pype/hosts/harmony/plugins/publish/validate_scene_settings.py rename to openpype/hosts/harmony/plugins/publish/validate_scene_settings.py index 9b8a6183df..b3e7f49268 100644 --- a/pype/hosts/harmony/plugins/publish/validate_scene_settings.py +++ b/openpype/hosts/harmony/plugins/publish/validate_scene_settings.py @@ -6,7 +6,7 @@ import json import pyblish.api from avalon import harmony -import pype.hosts.harmony +import openpype.hosts.harmony class ValidateSceneSettingsRepair(pyblish.api.Action): @@ -18,12 +18,12 @@ class ValidateSceneSettingsRepair(pyblish.api.Action): def process(self, context, plugin): """Repair action entry point.""" - expected = pype.hosts.harmony.api.get_asset_settings() + expected = openpype.hosts.harmony.api.get_asset_settings() asset_settings = _update_frames(dict.copy(expected)) asset_settings["frameStart"] = 1 asset_settings["frameEnd"] = asset_settings["frameEnd"] + \ asset_settings["handleEnd"] - pype.hosts.harmony.api.set_scene_settings(asset_settings) + openpype.hosts.harmony.api.set_scene_settings(asset_settings) if not os.path.exists(context.data["scenePath"]): self.log.info("correcting scene name") scene_dir = os.path.dirname(context.data["currentFile"]) @@ -48,7 +48,7 @@ class ValidateSceneSettings(pyblish.api.InstancePlugin): def process(self, instance): """Plugin entry point.""" - expected_settings = pype.hosts.harmony.api.get_asset_settings() + expected_settings = openpype.hosts.harmony.api.get_asset_settings() self.log.info(expected_settings) expected_settings = _update_frames(dict.copy(expected_settings)) diff --git a/pype/hosts/hiero/__init__.py b/openpype/hosts/hiero/__init__.py similarity index 100% rename from pype/hosts/hiero/__init__.py rename to openpype/hosts/hiero/__init__.py diff --git a/pype/hosts/hiero/api/__init__.py b/openpype/hosts/hiero/api/__init__.py similarity index 100% rename from pype/hosts/hiero/api/__init__.py rename to openpype/hosts/hiero/api/__init__.py diff --git a/pype/hosts/hiero/api/events.py b/openpype/hosts/hiero/api/events.py similarity index 99% rename from pype/hosts/hiero/api/events.py rename to openpype/hosts/hiero/api/events.py index 918912ce2e..c02e3e2ac4 100644 --- a/pype/hosts/hiero/api/events.py +++ b/openpype/hosts/hiero/api/events.py @@ -1,7 +1,7 @@ import os import hiero.core.events import avalon.api as avalon -from pype.api import Logger +from openpype.api import Logger from .lib import sync_avalon_data_to_workfile, launch_workfiles_app from .tags import add_tags_to_workfile from .menu import update_menu_task_label diff --git a/pype/hosts/hiero/api/lib.py b/openpype/hosts/hiero/api/lib.py similarity index 99% rename from pype/hosts/hiero/api/lib.py rename to openpype/hosts/hiero/api/lib.py index 0d37f2d075..b74e70cae3 100644 --- a/pype/hosts/hiero/api/lib.py +++ b/openpype/hosts/hiero/api/lib.py @@ -9,7 +9,7 @@ import hiero import avalon.api as avalon import avalon.io from avalon.vendor.Qt import QtWidgets -from pype.api import (Logger, Anatomy, config) +from openpype.api import (Logger, Anatomy, config) from . import tags import shutil from compiler.ast import flatten diff --git a/pype/hosts/hiero/api/menu.py b/openpype/hosts/hiero/api/menu.py similarity index 99% rename from pype/hosts/hiero/api/menu.py rename to openpype/hosts/hiero/api/menu.py index f32bea07e1..9ccf5e39d1 100644 --- a/pype/hosts/hiero/api/menu.py +++ b/openpype/hosts/hiero/api/menu.py @@ -1,7 +1,7 @@ import os import sys import hiero.core -from pype.api import Logger +from openpype.api import Logger from avalon.api import Session from hiero.ui import findMenuAction diff --git a/pype/hosts/hiero/api/pipeline.py b/openpype/hosts/hiero/api/pipeline.py similarity index 99% rename from pype/hosts/hiero/api/pipeline.py rename to openpype/hosts/hiero/api/pipeline.py index 6d9f24698e..ab7e2bdabf 100644 --- a/pype/hosts/hiero/api/pipeline.py +++ b/openpype/hosts/hiero/api/pipeline.py @@ -12,7 +12,7 @@ from avalon.pipeline import AVALON_CONTAINER_ID from avalon import api as avalon from avalon import schema from pyblish import api as pyblish -from pype.api import Logger +from openpype.api import Logger from . import lib, menu, events log = Logger().get_logger(__name__) @@ -289,7 +289,7 @@ def on_pyblish_instance_toggled(instance, old_value, new_value): log.info("instance toggle: {}, old_value: {}, new_value:{} ".format( instance, old_value, new_value)) - from pype.hosts.hiero.api import ( + from openpype.hosts.hiero.api import ( get_track_item_pype_tag, set_publish_attribute ) diff --git a/pype/hosts/hiero/api/plugin.py b/openpype/hosts/hiero/api/plugin.py similarity index 99% rename from pype/hosts/hiero/api/plugin.py rename to openpype/hosts/hiero/api/plugin.py index 06ee403a5b..92e15cfae4 100644 --- a/pype/hosts/hiero/api/plugin.py +++ b/openpype/hosts/hiero/api/plugin.py @@ -4,7 +4,7 @@ import hiero from Qt import QtWidgets, QtCore from avalon.vendor import qargparse import avalon.api as avalon -import pype.api as pype +import openpype.api as pype from . import lib log = pype.Logger().get_logger(__name__) @@ -599,7 +599,7 @@ class Creator(pype.Creator): rename_index = None def __init__(self, *args, **kwargs): - import pype.hosts.hiero.api as phiero + import openpype.hosts.hiero.api as phiero super(Creator, self).__init__(*args, **kwargs) self.presets = pype.get_current_project_settings()[ "hiero"]["create"].get(self.__class__.__name__, {}) diff --git a/pype/hosts/hiero/api/style.css b/openpype/hosts/hiero/api/style.css similarity index 100% rename from pype/hosts/hiero/api/style.css rename to openpype/hosts/hiero/api/style.css diff --git a/pype/hosts/hiero/api/tags.py b/openpype/hosts/hiero/api/tags.py similarity index 99% rename from pype/hosts/hiero/api/tags.py rename to openpype/hosts/hiero/api/tags.py index 63c60a3039..06fa655a2e 100644 --- a/pype/hosts/hiero/api/tags.py +++ b/openpype/hosts/hiero/api/tags.py @@ -2,7 +2,7 @@ import re import os import hiero -from pype.api import Logger +from openpype.api import Logger from avalon import io log = Logger().get_logger(__name__) diff --git a/pype/hosts/hiero/api/workio.py b/openpype/hosts/hiero/api/workio.py similarity index 98% rename from pype/hosts/hiero/api/workio.py rename to openpype/hosts/hiero/api/workio.py index c3505ef1bc..15ffbf84d8 100644 --- a/pype/hosts/hiero/api/workio.py +++ b/openpype/hosts/hiero/api/workio.py @@ -1,7 +1,7 @@ import os import hiero from avalon import api -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger(__name__) diff --git a/pype/hosts/hiero/plugins/_publish/collect_calculate_retime.py b/openpype/hosts/hiero/plugins/_publish/collect_calculate_retime.py similarity index 100% rename from pype/hosts/hiero/plugins/_publish/collect_calculate_retime.py rename to openpype/hosts/hiero/plugins/_publish/collect_calculate_retime.py diff --git a/pype/hosts/hiero/plugins/_publish/collect_framerate.py b/openpype/hosts/hiero/plugins/_publish/collect_framerate.py similarity index 100% rename from pype/hosts/hiero/plugins/_publish/collect_framerate.py rename to openpype/hosts/hiero/plugins/_publish/collect_framerate.py diff --git a/pype/hosts/hiero/plugins/_publish/collect_metadata.py b/openpype/hosts/hiero/plugins/_publish/collect_metadata.py similarity index 100% rename from pype/hosts/hiero/plugins/_publish/collect_metadata.py rename to openpype/hosts/hiero/plugins/_publish/collect_metadata.py diff --git a/pype/hosts/hiero/plugins/_publish/collect_tag_comments.py b/openpype/hosts/hiero/plugins/_publish/collect_tag_comments.py similarity index 100% rename from pype/hosts/hiero/plugins/_publish/collect_tag_comments.py rename to openpype/hosts/hiero/plugins/_publish/collect_tag_comments.py diff --git a/pype/hosts/hiero/plugins/_publish/collect_tag_retime.py b/openpype/hosts/hiero/plugins/_publish/collect_tag_retime.py similarity index 100% rename from pype/hosts/hiero/plugins/_publish/collect_tag_retime.py rename to openpype/hosts/hiero/plugins/_publish/collect_tag_retime.py diff --git a/pype/hosts/hiero/plugins/_publish/collect_timecodes.py b/openpype/hosts/hiero/plugins/_publish/collect_timecodes.py similarity index 100% rename from pype/hosts/hiero/plugins/_publish/collect_timecodes.py rename to openpype/hosts/hiero/plugins/_publish/collect_timecodes.py diff --git a/pype/hosts/hiero/plugins/create/create_shot_clip.py b/openpype/hosts/hiero/plugins/create/create_shot_clip.py similarity index 99% rename from pype/hosts/hiero/plugins/create/create_shot_clip.py rename to openpype/hosts/hiero/plugins/create/create_shot_clip.py index 9f8ae1a300..96938bc2e7 100644 --- a/pype/hosts/hiero/plugins/create/create_shot_clip.py +++ b/openpype/hosts/hiero/plugins/create/create_shot_clip.py @@ -1,4 +1,4 @@ -import pype.hosts.hiero.api as phiero +import openpype.hosts.hiero.api as phiero # from pype.hosts.hiero.api import plugin, lib # reload(lib) # reload(plugin) diff --git a/pype/hosts/hiero/plugins/load/load_clip.py b/openpype/hosts/hiero/plugins/load/load_clip.py similarity index 99% rename from pype/hosts/hiero/plugins/load/load_clip.py rename to openpype/hosts/hiero/plugins/load/load_clip.py index d9f6bbf3c8..9fc84be7e2 100644 --- a/pype/hosts/hiero/plugins/load/load_clip.py +++ b/openpype/hosts/hiero/plugins/load/load_clip.py @@ -1,5 +1,5 @@ from avalon import io, api -import pype.hosts.hiero.api as phiero +import openpype.hosts.hiero.api as phiero # from pype.hosts.hiero.api import plugin, lib # reload(lib) # reload(plugin) diff --git a/pype/hosts/hiero/plugins/publish/collect_assetbuilds.py b/openpype/hosts/hiero/plugins/publish/collect_assetbuilds.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/collect_assetbuilds.py rename to openpype/hosts/hiero/plugins/publish/collect_assetbuilds.py diff --git a/pype/hosts/hiero/plugins/publish/collect_clip_resolution.py b/openpype/hosts/hiero/plugins/publish/collect_clip_resolution.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/collect_clip_resolution.py rename to openpype/hosts/hiero/plugins/publish/collect_clip_resolution.py diff --git a/pype/hosts/hiero/plugins/publish/collect_frame_ranges.py b/openpype/hosts/hiero/plugins/publish/collect_frame_ranges.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/collect_frame_ranges.py rename to openpype/hosts/hiero/plugins/publish/collect_frame_ranges.py diff --git a/pype/hosts/hiero/plugins/publish/collect_hierarchy_context.py b/openpype/hosts/hiero/plugins/publish/collect_hierarchy_context.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/collect_hierarchy_context.py rename to openpype/hosts/hiero/plugins/publish/collect_hierarchy_context.py diff --git a/pype/hosts/hiero/plugins/publish/collect_host_version.py b/openpype/hosts/hiero/plugins/publish/collect_host_version.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/collect_host_version.py rename to openpype/hosts/hiero/plugins/publish/collect_host_version.py diff --git a/pype/hosts/hiero/plugins/publish/collect_plates.py b/openpype/hosts/hiero/plugins/publish/collect_plates.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/collect_plates.py rename to openpype/hosts/hiero/plugins/publish/collect_plates.py diff --git a/pype/hosts/hiero/plugins/publish/collect_review.py b/openpype/hosts/hiero/plugins/publish/collect_review.py similarity index 99% rename from pype/hosts/hiero/plugins/publish/collect_review.py rename to openpype/hosts/hiero/plugins/publish/collect_review.py index 6f550223ce..a0ab00b355 100644 --- a/pype/hosts/hiero/plugins/publish/collect_review.py +++ b/openpype/hosts/hiero/plugins/publish/collect_review.py @@ -1,7 +1,7 @@ from pyblish import api import os import clique -from pype.hosts.hiero.api import ( +from openpype.hosts.hiero.api import ( is_overlapping, get_sequence_pattern_and_padding) diff --git a/pype/hosts/hiero/plugins/publish/collect_tag_tasks.py b/openpype/hosts/hiero/plugins/publish/collect_tag_tasks.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/collect_tag_tasks.py rename to openpype/hosts/hiero/plugins/publish/collect_tag_tasks.py diff --git a/pype/hosts/hiero/plugins/publish/extract_audio.py b/openpype/hosts/hiero/plugins/publish/extract_audio.py similarity index 96% rename from pype/hosts/hiero/plugins/publish/extract_audio.py rename to openpype/hosts/hiero/plugins/publish/extract_audio.py index 690e9c5b1e..6d9abb58e2 100644 --- a/pype/hosts/hiero/plugins/publish/extract_audio.py +++ b/openpype/hosts/hiero/plugins/publish/extract_audio.py @@ -1,10 +1,10 @@ import os from hiero.exporters.FnExportUtil import writeSequenceAudioWithHandles import pyblish -import pype +import openpype -class ExtractAudioFile(pype.api.Extractor): +class ExtractAudioFile(openpype.api.Extractor): """Extracts audio subset file from all active timeline audio tracks""" order = pyblish.api.ExtractorOrder diff --git a/pype/hosts/hiero/plugins/publish/extract_clip_effects.py b/openpype/hosts/hiero/plugins/publish/extract_clip_effects.py similarity index 97% rename from pype/hosts/hiero/plugins/publish/extract_clip_effects.py rename to openpype/hosts/hiero/plugins/publish/extract_clip_effects.py index 308b33ff3a..3890bed79c 100644 --- a/pype/hosts/hiero/plugins/publish/extract_clip_effects.py +++ b/openpype/hosts/hiero/plugins/publish/extract_clip_effects.py @@ -2,10 +2,10 @@ import os import json import pyblish.api -import pype +import openpype -class ExtractClipEffects(pype.api.Extractor): +class ExtractClipEffects(openpype.api.Extractor): """Extract clip effects instances.""" order = pyblish.api.ExtractorOrder diff --git a/pype/hosts/hiero/plugins/publish/extract_review_preparation.py b/openpype/hosts/hiero/plugins/publish/extract_review_preparation.py similarity index 96% rename from pype/hosts/hiero/plugins/publish/extract_review_preparation.py rename to openpype/hosts/hiero/plugins/publish/extract_review_preparation.py index bc4a895ba4..5456ddc3c4 100644 --- a/pype/hosts/hiero/plugins/publish/extract_review_preparation.py +++ b/openpype/hosts/hiero/plugins/publish/extract_review_preparation.py @@ -3,12 +3,12 @@ import sys import six import errno from pyblish import api -import pype +import openpype import clique from avalon.vendor import filelink -class ExtractReviewPreparation(pype.api.Extractor): +class ExtractReviewPreparation(openpype.api.Extractor): """Cut up clips from long video file""" order = api.ExtractorOrder @@ -34,8 +34,8 @@ class ExtractReviewPreparation(pype.api.Extractor): # frame range data media_duration = review_item_data["mediaDuration"] - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") - ffprobe_path = pype.lib.get_ffmpeg_tool_path("ffprobe") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") + ffprobe_path = openpype.lib.get_ffmpeg_tool_path("ffprobe") # filter out mov and img sequences representations_new = representations[:] @@ -132,7 +132,7 @@ class ExtractReviewPreparation(pype.api.Extractor): ).format(**locals()) self.log.debug("ffprob_cmd: {}".format(ffprob_cmd)) - audio_check_output = pype.api.subprocess(ffprob_cmd) + audio_check_output = openpype.api.subprocess(ffprob_cmd) self.log.debug( "audio_check_output: {}".format(audio_check_output)) @@ -167,7 +167,7 @@ class ExtractReviewPreparation(pype.api.Extractor): # try to get video native resolution data try: - resolution_output = pype.api.subprocess(( + resolution_output = openpype.api.subprocess(( "\"{ffprobe_path}\" -i \"{full_input_path}\"" " -v error " "-select_streams v:0 -show_entries " @@ -280,7 +280,7 @@ class ExtractReviewPreparation(pype.api.Extractor): # run subprocess self.log.debug("Executing: {}".format(subprcs_cmd)) - output = pype.api.subprocess(subprcs_cmd) + output = openpype.api.subprocess(subprcs_cmd) self.log.debug("Output: {}".format(output)) repre_new = { diff --git a/pype/hosts/hiero/plugins/publish/precollect_clip_effects.py b/openpype/hosts/hiero/plugins/publish/precollect_clip_effects.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/precollect_clip_effects.py rename to openpype/hosts/hiero/plugins/publish/precollect_clip_effects.py diff --git a/pype/hosts/hiero/plugins/publish/precollect_instances.py b/openpype/hosts/hiero/plugins/publish/precollect_instances.py similarity index 99% rename from pype/hosts/hiero/plugins/publish/precollect_instances.py rename to openpype/hosts/hiero/plugins/publish/precollect_instances.py index 2ca637cf57..5231efff9f 100644 --- a/pype/hosts/hiero/plugins/publish/precollect_instances.py +++ b/openpype/hosts/hiero/plugins/publish/precollect_instances.py @@ -1,6 +1,6 @@ from compiler.ast import flatten from pyblish import api -from pype.hosts.hiero import api as phiero +from openpype.hosts.hiero import api as phiero import hiero # from pype.hosts.hiero.api import lib # reload(lib) diff --git a/pype/hosts/hiero/plugins/publish/precollect_workfile.py b/openpype/hosts/hiero/plugins/publish/precollect_workfile.py similarity index 98% rename from pype/hosts/hiero/plugins/publish/precollect_workfile.py rename to openpype/hosts/hiero/plugins/publish/precollect_workfile.py index 1b22371943..ef7d07421b 100644 --- a/pype/hosts/hiero/plugins/publish/precollect_workfile.py +++ b/openpype/hosts/hiero/plugins/publish/precollect_workfile.py @@ -1,6 +1,6 @@ import os import pyblish.api -from pype.hosts.hiero import api as phiero +from openpype.hosts.hiero import api as phiero from avalon import api as avalon diff --git a/pype/hosts/hiero/plugins/publish/validate_audio.py b/openpype/hosts/hiero/plugins/publish/validate_audio.py similarity index 92% rename from pype/hosts/hiero/plugins/publish/validate_audio.py rename to openpype/hosts/hiero/plugins/publish/validate_audio.py index 5decc86304..0b2a94dc68 100644 --- a/pype/hosts/hiero/plugins/publish/validate_audio.py +++ b/openpype/hosts/hiero/plugins/publish/validate_audio.py @@ -1,5 +1,5 @@ import pyblish -from pype.hosts.hiero.api import is_overlapping +from openpype.hosts.hiero.api import is_overlapping class ValidateAudioFile(pyblish.api.InstancePlugin): diff --git a/pype/hosts/hiero/plugins/publish/validate_hierarchy.py b/openpype/hosts/hiero/plugins/publish/validate_hierarchy.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/validate_hierarchy.py rename to openpype/hosts/hiero/plugins/publish/validate_hierarchy.py diff --git a/pype/hosts/hiero/plugins/publish/validate_names.py b/openpype/hosts/hiero/plugins/publish/validate_names.py similarity index 100% rename from pype/hosts/hiero/plugins/publish/validate_names.py rename to openpype/hosts/hiero/plugins/publish/validate_names.py diff --git a/pype/hosts/hiero/plugins/publish/version_up_workfile.py b/openpype/hosts/hiero/plugins/publish/version_up_workfile.py similarity index 94% rename from pype/hosts/hiero/plugins/publish/version_up_workfile.py rename to openpype/hosts/hiero/plugins/publish/version_up_workfile.py index 893d3789eb..ae03513d78 100644 --- a/pype/hosts/hiero/plugins/publish/version_up_workfile.py +++ b/openpype/hosts/hiero/plugins/publish/version_up_workfile.py @@ -1,5 +1,5 @@ from pyblish import api -import pype.api as pype +import openpype.api as pype class VersionUpWorkfile(api.ContextPlugin): diff --git a/pype/hosts/hiero/startup/HieroPlayer/PlayerPresets.hrox b/openpype/hosts/hiero/startup/HieroPlayer/PlayerPresets.hrox similarity index 100% rename from pype/hosts/hiero/startup/HieroPlayer/PlayerPresets.hrox rename to openpype/hosts/hiero/startup/HieroPlayer/PlayerPresets.hrox diff --git a/pype/hosts/hiero/startup/Icons/1_add_handles_end.png b/openpype/hosts/hiero/startup/Icons/1_add_handles_end.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/1_add_handles_end.png rename to openpype/hosts/hiero/startup/Icons/1_add_handles_end.png diff --git a/pype/hosts/hiero/startup/Icons/2_add_handles.png b/openpype/hosts/hiero/startup/Icons/2_add_handles.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/2_add_handles.png rename to openpype/hosts/hiero/startup/Icons/2_add_handles.png diff --git a/pype/hosts/hiero/startup/Icons/3D.png b/openpype/hosts/hiero/startup/Icons/3D.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/3D.png rename to openpype/hosts/hiero/startup/Icons/3D.png diff --git a/pype/hosts/hiero/startup/Icons/3_add_handles_start.png b/openpype/hosts/hiero/startup/Icons/3_add_handles_start.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/3_add_handles_start.png rename to openpype/hosts/hiero/startup/Icons/3_add_handles_start.png diff --git a/pype/hosts/hiero/startup/Icons/4_2D.png b/openpype/hosts/hiero/startup/Icons/4_2D.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/4_2D.png rename to openpype/hosts/hiero/startup/Icons/4_2D.png diff --git a/pype/hosts/hiero/startup/Icons/edit.png b/openpype/hosts/hiero/startup/Icons/edit.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/edit.png rename to openpype/hosts/hiero/startup/Icons/edit.png diff --git a/pype/hosts/hiero/startup/Icons/fusion.png b/openpype/hosts/hiero/startup/Icons/fusion.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/fusion.png rename to openpype/hosts/hiero/startup/Icons/fusion.png diff --git a/pype/hosts/hiero/startup/Icons/hierarchy.png b/openpype/hosts/hiero/startup/Icons/hierarchy.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/hierarchy.png rename to openpype/hosts/hiero/startup/Icons/hierarchy.png diff --git a/pype/hosts/hiero/startup/Icons/houdini.png b/openpype/hosts/hiero/startup/Icons/houdini.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/houdini.png rename to openpype/hosts/hiero/startup/Icons/houdini.png diff --git a/pype/hosts/hiero/startup/Icons/layers.psd b/openpype/hosts/hiero/startup/Icons/layers.psd similarity index 100% rename from pype/hosts/hiero/startup/Icons/layers.psd rename to openpype/hosts/hiero/startup/Icons/layers.psd diff --git a/pype/hosts/hiero/startup/Icons/lense.png b/openpype/hosts/hiero/startup/Icons/lense.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/lense.png rename to openpype/hosts/hiero/startup/Icons/lense.png diff --git a/pype/hosts/hiero/startup/Icons/lense1.png b/openpype/hosts/hiero/startup/Icons/lense1.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/lense1.png rename to openpype/hosts/hiero/startup/Icons/lense1.png diff --git a/pype/hosts/hiero/startup/Icons/maya.png b/openpype/hosts/hiero/startup/Icons/maya.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/maya.png rename to openpype/hosts/hiero/startup/Icons/maya.png diff --git a/pype/hosts/hiero/startup/Icons/nuke.png b/openpype/hosts/hiero/startup/Icons/nuke.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/nuke.png rename to openpype/hosts/hiero/startup/Icons/nuke.png diff --git a/pype/hosts/hiero/startup/Icons/pype_icon.png b/openpype/hosts/hiero/startup/Icons/pype_icon.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/pype_icon.png rename to openpype/hosts/hiero/startup/Icons/pype_icon.png diff --git a/pype/hosts/hiero/startup/Icons/resolution.png b/openpype/hosts/hiero/startup/Icons/resolution.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/resolution.png rename to openpype/hosts/hiero/startup/Icons/resolution.png diff --git a/pype/hosts/hiero/startup/Icons/resolution.psd b/openpype/hosts/hiero/startup/Icons/resolution.psd similarity index 100% rename from pype/hosts/hiero/startup/Icons/resolution.psd rename to openpype/hosts/hiero/startup/Icons/resolution.psd diff --git a/pype/hosts/hiero/startup/Icons/retiming.png b/openpype/hosts/hiero/startup/Icons/retiming.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/retiming.png rename to openpype/hosts/hiero/startup/Icons/retiming.png diff --git a/pype/hosts/hiero/startup/Icons/retiming.psd b/openpype/hosts/hiero/startup/Icons/retiming.psd similarity index 100% rename from pype/hosts/hiero/startup/Icons/retiming.psd rename to openpype/hosts/hiero/startup/Icons/retiming.psd diff --git a/pype/hosts/hiero/startup/Icons/review.png b/openpype/hosts/hiero/startup/Icons/review.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/review.png rename to openpype/hosts/hiero/startup/Icons/review.png diff --git a/pype/hosts/hiero/startup/Icons/review.psd b/openpype/hosts/hiero/startup/Icons/review.psd similarity index 100% rename from pype/hosts/hiero/startup/Icons/review.psd rename to openpype/hosts/hiero/startup/Icons/review.psd diff --git a/pype/hosts/hiero/startup/Icons/volume.png b/openpype/hosts/hiero/startup/Icons/volume.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/volume.png rename to openpype/hosts/hiero/startup/Icons/volume.png diff --git a/pype/hosts/hiero/startup/Icons/z_layer_bg.png b/openpype/hosts/hiero/startup/Icons/z_layer_bg.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/z_layer_bg.png rename to openpype/hosts/hiero/startup/Icons/z_layer_bg.png diff --git a/pype/hosts/hiero/startup/Icons/z_layer_fg.png b/openpype/hosts/hiero/startup/Icons/z_layer_fg.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/z_layer_fg.png rename to openpype/hosts/hiero/startup/Icons/z_layer_fg.png diff --git a/pype/hosts/hiero/startup/Icons/z_layer_main.png b/openpype/hosts/hiero/startup/Icons/z_layer_main.png similarity index 100% rename from pype/hosts/hiero/startup/Icons/z_layer_main.png rename to openpype/hosts/hiero/startup/Icons/z_layer_main.png diff --git a/pype/hosts/hiero/startup/Python/Startup/SpreadsheetExport.py b/openpype/hosts/hiero/startup/Python/Startup/SpreadsheetExport.py similarity index 100% rename from pype/hosts/hiero/startup/Python/Startup/SpreadsheetExport.py rename to openpype/hosts/hiero/startup/Python/Startup/SpreadsheetExport.py diff --git a/pype/hosts/hiero/startup/Python/Startup/Startup.py b/openpype/hosts/hiero/startup/Python/Startup/Startup.py similarity index 79% rename from pype/hosts/hiero/startup/Python/Startup/Startup.py rename to openpype/hosts/hiero/startup/Python/Startup/Startup.py index 94b2d53f9f..8de2dc2d11 100644 --- a/pype/hosts/hiero/startup/Python/Startup/Startup.py +++ b/openpype/hosts/hiero/startup/Python/Startup/Startup.py @@ -2,7 +2,7 @@ import traceback # activate hiero from pype import avalon.api -import pype.hosts.hiero.api as phiero +import openpype.hosts.hiero.api as phiero avalon.api.install(phiero) try: @@ -15,5 +15,5 @@ except ImportError as e: else: # Setup integration - import pype.hosts.hiero.api as phiero + import openpype.hosts.hiero.api as phiero phiero.lib.setup() diff --git a/pype/hosts/hiero/startup/Python/Startup/otioexporter/OTIOExportTask.py b/openpype/hosts/hiero/startup/Python/Startup/otioexporter/OTIOExportTask.py similarity index 100% rename from pype/hosts/hiero/startup/Python/Startup/otioexporter/OTIOExportTask.py rename to openpype/hosts/hiero/startup/Python/Startup/otioexporter/OTIOExportTask.py diff --git a/pype/hosts/hiero/startup/Python/Startup/otioexporter/OTIOExportUI.py b/openpype/hosts/hiero/startup/Python/Startup/otioexporter/OTIOExportUI.py similarity index 100% rename from pype/hosts/hiero/startup/Python/Startup/otioexporter/OTIOExportUI.py rename to openpype/hosts/hiero/startup/Python/Startup/otioexporter/OTIOExportUI.py diff --git a/pype/hosts/hiero/startup/Python/Startup/otioexporter/__init__.py b/openpype/hosts/hiero/startup/Python/Startup/otioexporter/__init__.py similarity index 100% rename from pype/hosts/hiero/startup/Python/Startup/otioexporter/__init__.py rename to openpype/hosts/hiero/startup/Python/Startup/otioexporter/__init__.py diff --git a/pype/hosts/hiero/startup/Python/Startup/project_helpers.py b/openpype/hosts/hiero/startup/Python/Startup/project_helpers.py similarity index 100% rename from pype/hosts/hiero/startup/Python/Startup/project_helpers.py rename to openpype/hosts/hiero/startup/Python/Startup/project_helpers.py diff --git a/pype/hosts/hiero/startup/Python/Startup/selection_tracker.py b/openpype/hosts/hiero/startup/Python/Startup/selection_tracker.py similarity index 100% rename from pype/hosts/hiero/startup/Python/Startup/selection_tracker.py rename to openpype/hosts/hiero/startup/Python/Startup/selection_tracker.py diff --git a/pype/hosts/hiero/startup/Python/Startup/setFrameRate.py b/openpype/hosts/hiero/startup/Python/Startup/setFrameRate.py similarity index 100% rename from pype/hosts/hiero/startup/Python/Startup/setFrameRate.py rename to openpype/hosts/hiero/startup/Python/Startup/setFrameRate.py diff --git a/pype/hosts/hiero/startup/Python/Startup/version_everywhere.py b/openpype/hosts/hiero/startup/Python/Startup/version_everywhere.py similarity index 100% rename from pype/hosts/hiero/startup/Python/Startup/version_everywhere.py rename to openpype/hosts/hiero/startup/Python/Startup/version_everywhere.py diff --git a/pype/hosts/hiero/startup/Python/StartupUI/PimpMySpreadsheet.py b/openpype/hosts/hiero/startup/Python/StartupUI/PimpMySpreadsheet.py similarity index 100% rename from pype/hosts/hiero/startup/Python/StartupUI/PimpMySpreadsheet.py rename to openpype/hosts/hiero/startup/Python/StartupUI/PimpMySpreadsheet.py diff --git a/pype/hosts/hiero/startup/Python/StartupUI/Purge.py b/openpype/hosts/hiero/startup/Python/StartupUI/Purge.py similarity index 100% rename from pype/hosts/hiero/startup/Python/StartupUI/Purge.py rename to openpype/hosts/hiero/startup/Python/StartupUI/Purge.py diff --git a/pype/hosts/hiero/startup/Python/StartupUI/nukeStyleKeyboardShortcuts.py b/openpype/hosts/hiero/startup/Python/StartupUI/nukeStyleKeyboardShortcuts.py similarity index 100% rename from pype/hosts/hiero/startup/Python/StartupUI/nukeStyleKeyboardShortcuts.py rename to openpype/hosts/hiero/startup/Python/StartupUI/nukeStyleKeyboardShortcuts.py diff --git a/pype/hosts/hiero/startup/Python/StartupUI/otioimporter/OTIOImport.py b/openpype/hosts/hiero/startup/Python/StartupUI/otioimporter/OTIOImport.py similarity index 100% rename from pype/hosts/hiero/startup/Python/StartupUI/otioimporter/OTIOImport.py rename to openpype/hosts/hiero/startup/Python/StartupUI/otioimporter/OTIOImport.py diff --git a/pype/hosts/hiero/startup/Python/StartupUI/otioimporter/__init__.py b/openpype/hosts/hiero/startup/Python/StartupUI/otioimporter/__init__.py similarity index 100% rename from pype/hosts/hiero/startup/Python/StartupUI/otioimporter/__init__.py rename to openpype/hosts/hiero/startup/Python/StartupUI/otioimporter/__init__.py diff --git a/pype/hosts/hiero/startup/Python/StartupUI/setPosterFrame.py b/openpype/hosts/hiero/startup/Python/StartupUI/setPosterFrame.py similarity index 100% rename from pype/hosts/hiero/startup/Python/StartupUI/setPosterFrame.py rename to openpype/hosts/hiero/startup/Python/StartupUI/setPosterFrame.py diff --git a/pype/hosts/hiero/startup/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml b/openpype/hosts/hiero/startup/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml similarity index 100% rename from pype/hosts/hiero/startup/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml rename to openpype/hosts/hiero/startup/TaskPresets/10.5/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml diff --git a/pype/hosts/hiero/startup/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml b/openpype/hosts/hiero/startup/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml similarity index 100% rename from pype/hosts/hiero/startup/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml rename to openpype/hosts/hiero/startup/TaskPresets/11.1/Processors/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml diff --git a/pype/hosts/hiero/startup/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml b/openpype/hosts/hiero/startup/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml similarity index 100% rename from pype/hosts/hiero/startup/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml rename to openpype/hosts/hiero/startup/TaskPresets/11.2/hiero.exporters.FnShotProcessor.ShotProcessor/pipeline.xml diff --git a/pype/hosts/houdini/__init__.py b/openpype/hosts/houdini/__init__.py similarity index 100% rename from pype/hosts/houdini/__init__.py rename to openpype/hosts/houdini/__init__.py diff --git a/pype/hosts/houdini/api/__init__.py b/openpype/hosts/houdini/api/__init__.py similarity index 93% rename from pype/hosts/houdini/api/__init__.py rename to openpype/hosts/houdini/api/__init__.py index c6012d1133..52166df7f6 100644 --- a/pype/hosts/houdini/api/__init__.py +++ b/openpype/hosts/houdini/api/__init__.py @@ -8,14 +8,14 @@ from pyblish import api as pyblish from avalon import api as avalon from avalon.houdini import pipeline as houdini -import pype.hosts.houdini -from pype.hosts.houdini.api import lib +import openpype.hosts.houdini +from openpype.hosts.houdini.api import lib -from pype.lib import any_outdated +from openpype.lib import any_outdated log = logging.getLogger("pype.hosts.houdini") -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.houdini.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.houdini.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") LOAD_PATH = os.path.join(PLUGINS_DIR, "load") diff --git a/pype/hosts/houdini/api/lib.py b/openpype/hosts/houdini/api/lib.py similarity index 99% rename from pype/hosts/houdini/api/lib.py rename to openpype/hosts/houdini/api/lib.py index 5087fba934..dd586ca02d 100644 --- a/pype/hosts/houdini/api/lib.py +++ b/openpype/hosts/houdini/api/lib.py @@ -4,7 +4,7 @@ from contextlib import contextmanager import hou -from pype import lib +from openpype import lib from avalon import api, io from avalon.houdini import lib as houdini diff --git a/pype/hosts/houdini/api/plugin.py b/openpype/hosts/houdini/api/plugin.py similarity index 67% rename from pype/hosts/houdini/api/plugin.py rename to openpype/hosts/houdini/api/plugin.py index 864cc59f09..9820ed49c3 100644 --- a/pype/hosts/houdini/api/plugin.py +++ b/openpype/hosts/houdini/api/plugin.py @@ -1,5 +1,5 @@ from avalon import houdini -from pype.api import PypeCreatorMixin +from openpype.api import PypeCreatorMixin class Creator(PypeCreatorMixin, houdini.Creator): diff --git a/pype/hosts/houdini/plugins/create/create_alembic_camera.py b/openpype/hosts/houdini/plugins/create/create_alembic_camera.py similarity index 96% rename from pype/hosts/houdini/plugins/create/create_alembic_camera.py rename to openpype/hosts/houdini/plugins/create/create_alembic_camera.py index 2a849ddaa0..adcfb48539 100644 --- a/pype/hosts/houdini/plugins/create/create_alembic_camera.py +++ b/openpype/hosts/houdini/plugins/create/create_alembic_camera.py @@ -1,4 +1,4 @@ -from pype.hosts.houdini.api import plugin +from openpype.hosts.houdini.api import plugin class CreateAlembicCamera(plugin.Creator): diff --git a/pype/hosts/houdini/plugins/create/create_pointcache.py b/openpype/hosts/houdini/plugins/create/create_pointcache.py similarity index 96% rename from pype/hosts/houdini/plugins/create/create_pointcache.py rename to openpype/hosts/houdini/plugins/create/create_pointcache.py index a36ee1c965..6be854ac28 100644 --- a/pype/hosts/houdini/plugins/create/create_pointcache.py +++ b/openpype/hosts/houdini/plugins/create/create_pointcache.py @@ -1,4 +1,4 @@ -from pype.hosts.houdini.api import plugin +from openpype.hosts.houdini.api import plugin class CreatePointCache(plugin.Creator): diff --git a/pype/hosts/houdini/plugins/create/create_vbd_cache.py b/openpype/hosts/houdini/plugins/create/create_vbd_cache.py similarity index 94% rename from pype/hosts/houdini/plugins/create/create_vbd_cache.py rename to openpype/hosts/houdini/plugins/create/create_vbd_cache.py index 01401f0ce4..f8f3bbf9c3 100644 --- a/pype/hosts/houdini/plugins/create/create_vbd_cache.py +++ b/openpype/hosts/houdini/plugins/create/create_vbd_cache.py @@ -1,4 +1,4 @@ -from pype.hosts.houdini.api import plugin +from openpype.hosts.houdini.api import plugin class CreateVDBCache(plugin.Creator): diff --git a/pype/hosts/houdini/plugins/load/load_alembic.py b/openpype/hosts/houdini/plugins/load/load_alembic.py similarity index 100% rename from pype/hosts/houdini/plugins/load/load_alembic.py rename to openpype/hosts/houdini/plugins/load/load_alembic.py diff --git a/pype/hosts/houdini/plugins/load/load_camera.py b/openpype/hosts/houdini/plugins/load/load_camera.py similarity index 100% rename from pype/hosts/houdini/plugins/load/load_camera.py rename to openpype/hosts/houdini/plugins/load/load_camera.py diff --git a/pype/hosts/houdini/plugins/publish/collect_current_file.py b/openpype/hosts/houdini/plugins/publish/collect_current_file.py similarity index 100% rename from pype/hosts/houdini/plugins/publish/collect_current_file.py rename to openpype/hosts/houdini/plugins/publish/collect_current_file.py diff --git a/pype/hosts/houdini/plugins/publish/collect_frames.py b/openpype/hosts/houdini/plugins/publish/collect_frames.py similarity index 97% rename from pype/hosts/houdini/plugins/publish/collect_frames.py rename to openpype/hosts/houdini/plugins/publish/collect_frames.py index 47037f94d4..1d664aeaeb 100644 --- a/pype/hosts/houdini/plugins/publish/collect_frames.py +++ b/openpype/hosts/houdini/plugins/publish/collect_frames.py @@ -2,7 +2,7 @@ import os import re import pyblish.api -from pype.hosts.houdini.api import lib +from openpype.hosts.houdini.api import lib class CollectFrames(pyblish.api.InstancePlugin): diff --git a/pype/hosts/houdini/plugins/publish/collect_instances.py b/openpype/hosts/houdini/plugins/publish/collect_instances.py similarity index 100% rename from pype/hosts/houdini/plugins/publish/collect_instances.py rename to openpype/hosts/houdini/plugins/publish/collect_instances.py diff --git a/pype/hosts/houdini/plugins/publish/collect_output_node.py b/openpype/hosts/houdini/plugins/publish/collect_output_node.py similarity index 100% rename from pype/hosts/houdini/plugins/publish/collect_output_node.py rename to openpype/hosts/houdini/plugins/publish/collect_output_node.py diff --git a/pype/hosts/houdini/plugins/publish/collect_workscene_fps.py b/openpype/hosts/houdini/plugins/publish/collect_workscene_fps.py similarity index 100% rename from pype/hosts/houdini/plugins/publish/collect_workscene_fps.py rename to openpype/hosts/houdini/plugins/publish/collect_workscene_fps.py diff --git a/pype/hosts/houdini/plugins/publish/extract_alembic.py b/openpype/hosts/houdini/plugins/publish/extract_alembic.py similarity index 95% rename from pype/hosts/houdini/plugins/publish/extract_alembic.py rename to openpype/hosts/houdini/plugins/publish/extract_alembic.py index a71b85c529..b251ebdc90 100644 --- a/pype/hosts/houdini/plugins/publish/extract_alembic.py +++ b/openpype/hosts/houdini/plugins/publish/extract_alembic.py @@ -1,10 +1,10 @@ import os import pyblish.api -import pype.api +import openpype.api -class ExtractAlembic(pype.api.Extractor): +class ExtractAlembic(openpype.api.Extractor): order = pyblish.api.ExtractorOrder label = "Extract Alembic" diff --git a/pype/hosts/houdini/plugins/publish/extract_vdb_cache.py b/openpype/hosts/houdini/plugins/publish/extract_vdb_cache.py similarity index 95% rename from pype/hosts/houdini/plugins/publish/extract_vdb_cache.py rename to openpype/hosts/houdini/plugins/publish/extract_vdb_cache.py index c56a4dd73a..f480fe6236 100644 --- a/pype/hosts/houdini/plugins/publish/extract_vdb_cache.py +++ b/openpype/hosts/houdini/plugins/publish/extract_vdb_cache.py @@ -1,10 +1,10 @@ import os import pyblish.api -import pype.api +import openpype.api -class ExtractVDBCache(pype.api.Extractor): +class ExtractVDBCache(openpype.api.Extractor): order = pyblish.api.ExtractorOrder + 0.1 label = "Extract VDB Cache" diff --git a/pype/hosts/houdini/plugins/publish/valiate_vdb_input_node.py b/openpype/hosts/houdini/plugins/publish/valiate_vdb_input_node.py similarity index 94% rename from pype/hosts/houdini/plugins/publish/valiate_vdb_input_node.py rename to openpype/hosts/houdini/plugins/publish/valiate_vdb_input_node.py index e5bc118306..7b23d73ac7 100644 --- a/pype/hosts/houdini/plugins/publish/valiate_vdb_input_node.py +++ b/openpype/hosts/houdini/plugins/publish/valiate_vdb_input_node.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidateVDBInputNode(pyblish.api.InstancePlugin): @@ -16,7 +16,7 @@ class ValidateVDBInputNode(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + 0.1 + order = openpype.api.ValidateContentsOrder + 0.1 families = ["vdbcache"] hosts = ["houdini"] label = "Validate Input Node (VDB)" diff --git a/pype/hosts/houdini/plugins/publish/validate_alembic_input_node.py b/openpype/hosts/houdini/plugins/publish/validate_alembic_input_node.py similarity index 93% rename from pype/hosts/houdini/plugins/publish/validate_alembic_input_node.py rename to openpype/hosts/houdini/plugins/publish/validate_alembic_input_node.py index c68e3cdf5c..e8596b739d 100644 --- a/pype/hosts/houdini/plugins/publish/validate_alembic_input_node.py +++ b/openpype/hosts/houdini/plugins/publish/validate_alembic_input_node.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidateAlembicInputNode(pyblish.api.InstancePlugin): @@ -11,7 +11,7 @@ class ValidateAlembicInputNode(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + 0.1 + order = openpype.api.ValidateContentsOrder + 0.1 families = ["pointcache"] hosts = ["houdini"] label = "Validate Input Node (Abc)" diff --git a/pype/hosts/houdini/plugins/publish/validate_animation_settings.py b/openpype/hosts/houdini/plugins/publish/validate_animation_settings.py similarity index 97% rename from pype/hosts/houdini/plugins/publish/validate_animation_settings.py rename to openpype/hosts/houdini/plugins/publish/validate_animation_settings.py index 633c13dfb6..a42c3696da 100644 --- a/pype/hosts/houdini/plugins/publish/validate_animation_settings.py +++ b/openpype/hosts/houdini/plugins/publish/validate_animation_settings.py @@ -1,6 +1,6 @@ import pyblish.api -from pype.hosts.houdini.api import lib +from openpype.hosts.houdini.api import lib class ValidateAnimationSettings(pyblish.api.InstancePlugin): diff --git a/pype/hosts/houdini/plugins/publish/validate_bypass.py b/openpype/hosts/houdini/plugins/publish/validate_bypass.py similarity index 92% rename from pype/hosts/houdini/plugins/publish/validate_bypass.py rename to openpype/hosts/houdini/plugins/publish/validate_bypass.py index 70505f0731..9118ae0e8c 100644 --- a/pype/hosts/houdini/plugins/publish/validate_bypass.py +++ b/openpype/hosts/houdini/plugins/publish/validate_bypass.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidateBypassed(pyblish.api.InstancePlugin): @@ -11,7 +11,7 @@ class ValidateBypassed(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder - 0.1 + order = openpype.api.ValidateContentsOrder - 0.1 families = ["*"] hosts = ["houdini"] label = "Validate ROP Bypass" diff --git a/pype/hosts/houdini/plugins/publish/validate_camera_rop.py b/openpype/hosts/houdini/plugins/publish/validate_camera_rop.py similarity index 95% rename from pype/hosts/houdini/plugins/publish/validate_camera_rop.py rename to openpype/hosts/houdini/plugins/publish/validate_camera_rop.py index 48335cfb37..ca75579267 100644 --- a/pype/hosts/houdini/plugins/publish/validate_camera_rop.py +++ b/openpype/hosts/houdini/plugins/publish/validate_camera_rop.py @@ -1,11 +1,11 @@ import pyblish.api -import pype.api +import openpype.api class ValidateCameraROP(pyblish.api.InstancePlugin): """Validate Camera ROP settings.""" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['camera'] hosts = ['houdini'] label = 'Camera ROP' diff --git a/pype/hosts/houdini/plugins/publish/validate_mkpaths_toggled.py b/openpype/hosts/houdini/plugins/publish/validate_mkpaths_toggled.py similarity index 92% rename from pype/hosts/houdini/plugins/publish/validate_mkpaths_toggled.py rename to openpype/hosts/houdini/plugins/publish/validate_mkpaths_toggled.py index c2b72b4e43..a735f4b64b 100644 --- a/pype/hosts/houdini/plugins/publish/validate_mkpaths_toggled.py +++ b/openpype/hosts/houdini/plugins/publish/validate_mkpaths_toggled.py @@ -1,11 +1,11 @@ import pyblish.api -import pype.api +import openpype.api class ValidateIntermediateDirectoriesChecked(pyblish.api.InstancePlugin): """Validate Create Intermediate Directories is enabled on ROP node.""" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['pointcache', 'camera', 'vdbcache'] diff --git a/pype/hosts/houdini/plugins/publish/validate_outnode_exists.py b/openpype/hosts/houdini/plugins/publish/validate_outnode_exists.py similarity index 95% rename from pype/hosts/houdini/plugins/publish/validate_outnode_exists.py rename to openpype/hosts/houdini/plugins/publish/validate_outnode_exists.py index 0ba04b87d0..bfa2d38f1a 100644 --- a/pype/hosts/houdini/plugins/publish/validate_outnode_exists.py +++ b/openpype/hosts/houdini/plugins/publish/validate_outnode_exists.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidatOutputNodeExists(pyblish.api.InstancePlugin): @@ -11,7 +11,7 @@ class ValidatOutputNodeExists(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ["*"] hosts = ['houdini'] label = "Output Node Exists" diff --git a/pype/hosts/houdini/plugins/publish/validate_output_node.py b/openpype/hosts/houdini/plugins/publish/validate_output_node.py similarity index 100% rename from pype/hosts/houdini/plugins/publish/validate_output_node.py rename to openpype/hosts/houdini/plugins/publish/validate_output_node.py diff --git a/pype/hosts/houdini/plugins/publish/validate_primitive_hierarchy_paths.py b/openpype/hosts/houdini/plugins/publish/validate_primitive_hierarchy_paths.py similarity index 97% rename from pype/hosts/houdini/plugins/publish/validate_primitive_hierarchy_paths.py rename to openpype/hosts/houdini/plugins/publish/validate_primitive_hierarchy_paths.py index 70e7873d3b..608e236198 100644 --- a/pype/hosts/houdini/plugins/publish/validate_primitive_hierarchy_paths.py +++ b/openpype/hosts/houdini/plugins/publish/validate_primitive_hierarchy_paths.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidatePrimitiveHierarchyPaths(pyblish.api.InstancePlugin): @@ -11,7 +11,7 @@ class ValidatePrimitiveHierarchyPaths(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + 0.1 + order = openpype.api.ValidateContentsOrder + 0.1 families = ["pointcache"] hosts = ["houdini"] label = "Validate Prims Hierarchy Path" diff --git a/pype/hosts/houdini/plugins/publish/validate_vdb_input_node.py b/openpype/hosts/houdini/plugins/publish/validate_vdb_input_node.py similarity index 94% rename from pype/hosts/houdini/plugins/publish/validate_vdb_input_node.py rename to openpype/hosts/houdini/plugins/publish/validate_vdb_input_node.py index e5bc118306..7b23d73ac7 100644 --- a/pype/hosts/houdini/plugins/publish/validate_vdb_input_node.py +++ b/openpype/hosts/houdini/plugins/publish/validate_vdb_input_node.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidateVDBInputNode(pyblish.api.InstancePlugin): @@ -16,7 +16,7 @@ class ValidateVDBInputNode(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + 0.1 + order = openpype.api.ValidateContentsOrder + 0.1 families = ["vdbcache"] hosts = ["houdini"] label = "Validate Input Node (VDB)" diff --git a/pype/hosts/houdini/startup/MainMenuCommon.XML b/openpype/hosts/houdini/startup/MainMenuCommon.XML similarity index 100% rename from pype/hosts/houdini/startup/MainMenuCommon.XML rename to openpype/hosts/houdini/startup/MainMenuCommon.XML diff --git a/pype/hosts/houdini/startup/scripts/123.py b/openpype/hosts/houdini/startup/scripts/123.py similarity index 100% rename from pype/hosts/houdini/startup/scripts/123.py rename to openpype/hosts/houdini/startup/scripts/123.py diff --git a/pype/hosts/maya/__init__.py b/openpype/hosts/maya/__init__.py similarity index 100% rename from pype/hosts/maya/__init__.py rename to openpype/hosts/maya/__init__.py diff --git a/pype/hosts/maya/api/__init__.py b/openpype/hosts/maya/api/__init__.py similarity index 96% rename from pype/hosts/maya/api/__init__.py rename to openpype/hosts/maya/api/__init__.py index 9d4418e58d..a3f81d6960 100644 --- a/pype/hosts/maya/api/__init__.py +++ b/openpype/hosts/maya/api/__init__.py @@ -10,14 +10,14 @@ from avalon.maya import suspended_refresh from avalon.maya.pipeline import IS_HEADLESS from avalon.tools import workfiles from pyblish import api as pyblish -from pype.lib import any_outdated -import pype.hosts.maya -from pype.hosts.maya.lib import copy_workspace_mel +from openpype.lib import any_outdated +import openpype.hosts.maya +from openpype.hosts.maya.lib import copy_workspace_mel from . import menu, lib log = logging.getLogger("pype.hosts.maya") -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.maya.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.maya.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") LOAD_PATH = os.path.join(PLUGINS_DIR, "load") @@ -133,7 +133,7 @@ def on_open(_): """On scene open let's assume the containers have changed.""" from avalon.vendor.Qt import QtWidgets - from pype.widgets import popup + from openpype.widgets import popup cmds.evalDeferred( "from pype.hosts.maya.api import lib;" diff --git a/pype/hosts/maya/api/action.py b/openpype/hosts/maya/api/action.py similarity index 97% rename from pype/hosts/maya/api/action.py rename to openpype/hosts/maya/api/action.py index f623298451..a98b906d8c 100644 --- a/pype/hosts/maya/api/action.py +++ b/openpype/hosts/maya/api/action.py @@ -4,7 +4,7 @@ from __future__ import absolute_import import pyblish.api -from pype.api import get_errored_instances_from_context +from openpype.api import get_errored_instances_from_context class GenerateUUIDsOnInvalidAction(pyblish.api.Action): @@ -72,7 +72,7 @@ class GenerateUUIDsOnInvalidAction(pyblish.api.Action): nodes (list): all nodes to regenerate ids on """ - from pype.hosts.maya.api import lib + from openpype.hosts.maya.api import lib import avalon.io as io asset = instance.data['asset'] diff --git a/pype/hosts/maya/api/attributes.py b/openpype/hosts/maya/api/attributes.py similarity index 100% rename from pype/hosts/maya/api/attributes.py rename to openpype/hosts/maya/api/attributes.py diff --git a/pype/hosts/maya/api/customize.py b/openpype/hosts/maya/api/customize.py similarity index 98% rename from pype/hosts/maya/api/customize.py rename to openpype/hosts/maya/api/customize.py index 3f3449b3c9..22945471b7 100644 --- a/pype/hosts/maya/api/customize.py +++ b/openpype/hosts/maya/api/customize.py @@ -89,11 +89,11 @@ def override_toolbox_ui(): log.warning("Could not import Workfiles tool") try: - from pype.tools import mayalookassigner + from openpype.tools import mayalookassigner except Exception: log.warning("Could not import Maya Look assigner tool") - from pype.api import resources + from openpype.api import resources icons = resources.get_resource("icons") diff --git a/pype/hosts/maya/api/expected_files.py b/openpype/hosts/maya/api/expected_files.py similarity index 99% rename from pype/hosts/maya/api/expected_files.py rename to openpype/hosts/maya/api/expected_files.py index 9a8c8d6e0f..186b199796 100644 --- a/pype/hosts/maya/api/expected_files.py +++ b/openpype/hosts/maya/api/expected_files.py @@ -44,7 +44,7 @@ from abc import ABCMeta, abstractmethod import six -import pype.hosts.maya.api.lib as lib +import openpype.hosts.maya.api.lib as lib from maya import cmds import maya.app.renderSetup.model.renderSetup as renderSetup diff --git a/pype/hosts/maya/api/lib.py b/openpype/hosts/maya/api/lib.py similarity index 99% rename from pype/hosts/maya/api/lib.py rename to openpype/hosts/maya/api/lib.py index 44f1577f7f..ae2d329a97 100644 --- a/pype/hosts/maya/api/lib.py +++ b/openpype/hosts/maya/api/lib.py @@ -21,7 +21,7 @@ from avalon.vendor.six import string_types import avalon.maya.lib import avalon.maya.interactive -from pype import lib +from openpype import lib log = logging.getLogger(__name__) @@ -2677,7 +2677,7 @@ def update_content_on_context_change(): def show_message(title, msg): from avalon.vendor.Qt import QtWidgets - from pype.widgets import message_window + from openpype.widgets import message_window # Find maya main window top_level_widgets = {w.objectName(): w for w in diff --git a/pype/hosts/maya/api/menu.json b/openpype/hosts/maya/api/menu.json similarity index 100% rename from pype/hosts/maya/api/menu.json rename to openpype/hosts/maya/api/menu.json diff --git a/pype/hosts/maya/api/menu.py b/openpype/hosts/maya/api/menu.py similarity index 97% rename from pype/hosts/maya/api/menu.py rename to openpype/hosts/maya/api/menu.py index 29e07915c1..72f282f0dd 100644 --- a/pype/hosts/maya/api/menu.py +++ b/openpype/hosts/maya/api/menu.py @@ -4,7 +4,7 @@ import logging from avalon.vendor.Qt import QtWidgets, QtGui from avalon.maya import pipeline -from pype.api import BuildWorkfile +from openpype.api import BuildWorkfile import maya.cmds as cmds self = sys.modules[__name__] @@ -44,7 +44,7 @@ def deferred(): ) def modify_workfiles(): - from pype.tools import workfiles + from openpype.tools import workfiles def launch_workfiles_app(*_args, **_kwargs): workfiles.show( diff --git a/pype/hosts/maya/api/menu_backup.json b/openpype/hosts/maya/api/menu_backup.json similarity index 100% rename from pype/hosts/maya/api/menu_backup.json rename to openpype/hosts/maya/api/menu_backup.json diff --git a/pype/hosts/maya/api/plugin.py b/openpype/hosts/maya/api/plugin.py similarity index 99% rename from pype/hosts/maya/api/plugin.py rename to openpype/hosts/maya/api/plugin.py index c24cfad2d3..257908c768 100644 --- a/pype/hosts/maya/api/plugin.py +++ b/openpype/hosts/maya/api/plugin.py @@ -1,7 +1,7 @@ from avalon import api from avalon.vendor import qargparse import avalon.maya -from pype.api import PypeCreatorMixin +from openpype.api import PypeCreatorMixin def get_reference_node_parents(ref): diff --git a/pype/hosts/maya/api/render_setup_tools.py b/openpype/hosts/maya/api/render_setup_tools.py similarity index 100% rename from pype/hosts/maya/api/render_setup_tools.py rename to openpype/hosts/maya/api/render_setup_tools.py diff --git a/pype/hosts/maya/api/setdress.py b/openpype/hosts/maya/api/setdress.py similarity index 98% rename from pype/hosts/maya/api/setdress.py rename to openpype/hosts/maya/api/setdress.py index 2c4dd93b18..be26572039 100644 --- a/pype/hosts/maya/api/setdress.py +++ b/openpype/hosts/maya/api/setdress.py @@ -9,7 +9,7 @@ from maya import cmds from avalon import api, io from avalon.maya.lib import unique_namespace -from pype.hosts.maya.api.lib import matrix_equals +from openpype.hosts.maya.api.lib import matrix_equals log = logging.getLogger("PackageLoader") @@ -161,7 +161,7 @@ def _add(instance, representation_id, loaders, namespace, root="|"): """ - from pype.hosts.maya.lib import get_container_transforms + from openpype.hosts.maya.lib import get_container_transforms # Process within the namespace with namespaced(namespace, new=False) as namespace: @@ -358,7 +358,7 @@ def update_scene(set_container, containers, current_data, new_data, new_file): """ - from pype.hosts.maya.lib import DEFAULT_MATRIX, get_container_transforms + from openpype.hosts.maya.lib import DEFAULT_MATRIX, get_container_transforms set_namespace = set_container['namespace'] diff --git a/pype/hosts/maya/hooks/pre_copy_mel.py b/openpype/hosts/maya/hooks/pre_copy_mel.py similarity index 81% rename from pype/hosts/maya/hooks/pre_copy_mel.py rename to openpype/hosts/maya/hooks/pre_copy_mel.py index a56f3f71b2..b11e18241e 100644 --- a/pype/hosts/maya/hooks/pre_copy_mel.py +++ b/openpype/hosts/maya/hooks/pre_copy_mel.py @@ -1,5 +1,5 @@ -from pype.lib import PreLaunchHook -from pype.hosts.maya.lib import copy_workspace_mel +from openpype.lib import PreLaunchHook +from openpype.hosts.maya.lib import copy_workspace_mel class PreCopyMel(PreLaunchHook): diff --git a/pype/hosts/maya/lib.py b/openpype/hosts/maya/lib.py similarity index 100% rename from pype/hosts/maya/lib.py rename to openpype/hosts/maya/lib.py diff --git a/pype/hosts/maya/plugins/__init__.py b/openpype/hosts/maya/plugins/__init__.py similarity index 100% rename from pype/hosts/maya/plugins/__init__.py rename to openpype/hosts/maya/plugins/__init__.py diff --git a/pype/hosts/maya/plugins/create/create_animation.py b/openpype/hosts/maya/plugins/create/create_animation.py similarity index 96% rename from pype/hosts/maya/plugins/create/create_animation.py rename to openpype/hosts/maya/plugins/create/create_animation.py index 312357c173..5155aec0ab 100644 --- a/pype/hosts/maya/plugins/create/create_animation.py +++ b/openpype/hosts/maya/plugins/create/create_animation.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/create/create_ass.py b/openpype/hosts/maya/plugins/create/create_ass.py similarity index 96% rename from pype/hosts/maya/plugins/create/create_ass.py rename to openpype/hosts/maya/plugins/create/create_ass.py index 2d19d20af8..7f1cb55821 100644 --- a/pype/hosts/maya/plugins/create/create_ass.py +++ b/openpype/hosts/maya/plugins/create/create_ass.py @@ -1,6 +1,6 @@ from collections import OrderedDict -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/create/create_assembly.py b/openpype/hosts/maya/plugins/create/create_assembly.py similarity index 82% rename from pype/hosts/maya/plugins/create/create_assembly.py rename to openpype/hosts/maya/plugins/create/create_assembly.py index 254d3b6670..fa9d692792 100644 --- a/pype/hosts/maya/plugins/create/create_assembly.py +++ b/openpype/hosts/maya/plugins/create/create_assembly.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import plugin +from openpype.hosts.maya.api import plugin class CreateAssembly(plugin.Creator): diff --git a/pype/hosts/maya/plugins/create/create_camera.py b/openpype/hosts/maya/plugins/create/create_camera.py similarity index 95% rename from pype/hosts/maya/plugins/create/create_camera.py rename to openpype/hosts/maya/plugins/create/create_camera.py index 4f0865c3c4..09f41914e4 100644 --- a/pype/hosts/maya/plugins/create/create_camera.py +++ b/openpype/hosts/maya/plugins/create/create_camera.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/create/create_layout.py b/openpype/hosts/maya/plugins/create/create_layout.py similarity index 81% rename from pype/hosts/maya/plugins/create/create_layout.py rename to openpype/hosts/maya/plugins/create/create_layout.py index bae1bc89b1..8d825d23ba 100644 --- a/pype/hosts/maya/plugins/create/create_layout.py +++ b/openpype/hosts/maya/plugins/create/create_layout.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import plugin +from openpype.hosts.maya.api import plugin class CreateLayout(plugin.Creator): diff --git a/pype/hosts/maya/plugins/create/create_look.py b/openpype/hosts/maya/plugins/create/create_look.py similarity index 93% rename from pype/hosts/maya/plugins/create/create_look.py rename to openpype/hosts/maya/plugins/create/create_look.py index d81397c1c8..96266aa799 100644 --- a/pype/hosts/maya/plugins/create/create_look.py +++ b/openpype/hosts/maya/plugins/create/create_look.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/create/create_mayaascii.py b/openpype/hosts/maya/plugins/create/create_mayaascii.py similarity index 82% rename from pype/hosts/maya/plugins/create/create_mayaascii.py rename to openpype/hosts/maya/plugins/create/create_mayaascii.py index 0248ebe45e..f51e126c00 100644 --- a/pype/hosts/maya/plugins/create/create_mayaascii.py +++ b/openpype/hosts/maya/plugins/create/create_mayaascii.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import plugin +from openpype.hosts.maya.api import plugin class CreateMayaAscii(plugin.Creator): diff --git a/pype/hosts/maya/plugins/create/create_model.py b/openpype/hosts/maya/plugins/create/create_model.py similarity index 93% rename from pype/hosts/maya/plugins/create/create_model.py rename to openpype/hosts/maya/plugins/create/create_model.py index f7b5847ae1..f1d9d22c1c 100644 --- a/pype/hosts/maya/plugins/create/create_model.py +++ b/openpype/hosts/maya/plugins/create/create_model.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import plugin +from openpype.hosts.maya.api import plugin class CreateModel(plugin.Creator): diff --git a/pype/hosts/maya/plugins/create/create_pointcache.py b/openpype/hosts/maya/plugins/create/create_pointcache.py similarity index 96% rename from pype/hosts/maya/plugins/create/create_pointcache.py rename to openpype/hosts/maya/plugins/create/create_pointcache.py index c179bec9f4..9afea731fd 100644 --- a/pype/hosts/maya/plugins/create/create_pointcache.py +++ b/openpype/hosts/maya/plugins/create/create_pointcache.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/create/create_render.py b/openpype/hosts/maya/plugins/create/create_render.py similarity index 99% rename from pype/hosts/maya/plugins/create/create_render.py rename to openpype/hosts/maya/plugins/create/create_render.py index 60ef670f58..907f9cf781 100644 --- a/pype/hosts/maya/plugins/create/create_render.py +++ b/openpype/hosts/maya/plugins/create/create_render.py @@ -8,11 +8,11 @@ import requests from maya import cmds import maya.app.renderSetup.model.renderSetup as renderSetup -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) -from pype.api import get_system_settings +from openpype.api import get_system_settings class CreateRender(plugin.Creator): diff --git a/pype/hosts/maya/plugins/create/create_rendersetup.py b/openpype/hosts/maya/plugins/create/create_rendersetup.py similarity index 97% rename from pype/hosts/maya/plugins/create/create_rendersetup.py rename to openpype/hosts/maya/plugins/create/create_rendersetup.py index 37eac4aae8..494f90d87b 100644 --- a/pype/hosts/maya/plugins/create/create_rendersetup.py +++ b/openpype/hosts/maya/plugins/create/create_rendersetup.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/create/create_review.py b/openpype/hosts/maya/plugins/create/create_review.py similarity index 95% rename from pype/hosts/maya/plugins/create/create_review.py rename to openpype/hosts/maya/plugins/create/create_review.py index 3f91c8af15..05b05be7a5 100644 --- a/pype/hosts/maya/plugins/create/create_review.py +++ b/openpype/hosts/maya/plugins/create/create_review.py @@ -1,5 +1,5 @@ from collections import OrderedDict -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/create/create_rig.py b/openpype/hosts/maya/plugins/create/create_rig.py similarity index 94% rename from pype/hosts/maya/plugins/create/create_rig.py rename to openpype/hosts/maya/plugins/create/create_rig.py index 186e8007ee..ae1670961f 100644 --- a/pype/hosts/maya/plugins/create/create_rig.py +++ b/openpype/hosts/maya/plugins/create/create_rig.py @@ -1,6 +1,6 @@ from maya import cmds -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/create/create_setdress.py b/openpype/hosts/maya/plugins/create/create_setdress.py similarity index 83% rename from pype/hosts/maya/plugins/create/create_setdress.py rename to openpype/hosts/maya/plugins/create/create_setdress.py index e235d01b20..8274a6dd83 100644 --- a/pype/hosts/maya/plugins/create/create_setdress.py +++ b/openpype/hosts/maya/plugins/create/create_setdress.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import plugin +from openpype.hosts.maya.api import plugin class CreateSetDress(plugin.Creator): diff --git a/pype/hosts/maya/plugins/create/create_unreal_staticmesh.py b/openpype/hosts/maya/plugins/create/create_unreal_staticmesh.py similarity index 86% rename from pype/hosts/maya/plugins/create/create_unreal_staticmesh.py rename to openpype/hosts/maya/plugins/create/create_unreal_staticmesh.py index 06cec0f673..db1684bbc8 100644 --- a/pype/hosts/maya/plugins/create/create_unreal_staticmesh.py +++ b/openpype/hosts/maya/plugins/create/create_unreal_staticmesh.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import plugin +from openpype.hosts.maya.api import plugin class CreateUnrealStaticMesh(plugin.Creator): diff --git a/pype/hosts/maya/plugins/create/create_vrayproxy.py b/openpype/hosts/maya/plugins/create/create_vrayproxy.py similarity index 91% rename from pype/hosts/maya/plugins/create/create_vrayproxy.py rename to openpype/hosts/maya/plugins/create/create_vrayproxy.py index 0af670a0d3..5c0365b495 100644 --- a/pype/hosts/maya/plugins/create/create_vrayproxy.py +++ b/openpype/hosts/maya/plugins/create/create_vrayproxy.py @@ -1,4 +1,4 @@ -from pype.hosts.maya.api import plugin +from openpype.hosts.maya.api import plugin class CreateVrayProxy(plugin.Creator): diff --git a/pype/hosts/maya/plugins/create/create_vrayscene.py b/openpype/hosts/maya/plugins/create/create_vrayscene.py similarity index 99% rename from pype/hosts/maya/plugins/create/create_vrayscene.py rename to openpype/hosts/maya/plugins/create/create_vrayscene.py index 7724edbe63..f9d3c7b8f0 100644 --- a/pype/hosts/maya/plugins/create/create_vrayscene.py +++ b/openpype/hosts/maya/plugins/create/create_vrayscene.py @@ -8,11 +8,11 @@ import requests from maya import cmds import maya.app.renderSetup.model.renderSetup as renderSetup -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) -from pype.api import get_system_settings +from openpype.api import get_system_settings class CreateVRayScene(plugin.Creator): diff --git a/pype/hosts/maya/plugins/create/create_yeti_cache.py b/openpype/hosts/maya/plugins/create/create_yeti_cache.py similarity index 94% rename from pype/hosts/maya/plugins/create/create_yeti_cache.py rename to openpype/hosts/maya/plugins/create/create_yeti_cache.py index cf4f32b207..a37d8082db 100644 --- a/pype/hosts/maya/plugins/create/create_yeti_cache.py +++ b/openpype/hosts/maya/plugins/create/create_yeti_cache.py @@ -1,6 +1,6 @@ from collections import OrderedDict -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/create/create_yeti_rig.py b/openpype/hosts/maya/plugins/create/create_yeti_rig.py similarity index 93% rename from pype/hosts/maya/plugins/create/create_yeti_rig.py rename to openpype/hosts/maya/plugins/create/create_yeti_rig.py index eda51824c1..2326958963 100644 --- a/pype/hosts/maya/plugins/create/create_yeti_rig.py +++ b/openpype/hosts/maya/plugins/create/create_yeti_rig.py @@ -1,6 +1,6 @@ from maya import cmds -from pype.hosts.maya.api import ( +from openpype.hosts.maya.api import ( lib, plugin ) diff --git a/pype/hosts/maya/plugins/load/_load_animation.py b/openpype/hosts/maya/plugins/load/_load_animation.py similarity index 93% rename from pype/hosts/maya/plugins/load/_load_animation.py rename to openpype/hosts/maya/plugins/load/_load_animation.py index bef97d79bb..b1784f1590 100644 --- a/pype/hosts/maya/plugins/load/_load_animation.py +++ b/openpype/hosts/maya/plugins/load/_load_animation.py @@ -1,7 +1,7 @@ -import pype.hosts.maya.api.plugin +import openpype.hosts.maya.api.plugin -class AbcLoader(pype.hosts.maya.api.plugin.ReferenceLoader): +class AbcLoader(openpype.hosts.maya.api.plugin.ReferenceLoader): """Specific loader of Alembic for the avalon.animation family""" families = ["animation", diff --git a/pype/hosts/maya/plugins/load/actions.py b/openpype/hosts/maya/plugins/load/actions.py similarity index 100% rename from pype/hosts/maya/plugins/load/actions.py rename to openpype/hosts/maya/plugins/load/actions.py diff --git a/pype/hosts/maya/plugins/load/load_ass.py b/openpype/hosts/maya/plugins/load/load_ass.py similarity index 98% rename from pype/hosts/maya/plugins/load/load_ass.py rename to openpype/hosts/maya/plugins/load/load_ass.py index 8aaa99369c..b4bbd93f99 100644 --- a/pype/hosts/maya/plugins/load/load_ass.py +++ b/openpype/hosts/maya/plugins/load/load_ass.py @@ -1,11 +1,11 @@ from avalon import api -import pype.hosts.maya.api.plugin +import openpype.hosts.maya.api.plugin import os -from pype.api import get_project_settings +from openpype.api import get_project_settings import clique -class AssProxyLoader(pype.hosts.maya.api.plugin.ReferenceLoader): +class AssProxyLoader(openpype.hosts.maya.api.plugin.ReferenceLoader): """Load the Proxy""" families = ["ass"] diff --git a/pype/hosts/maya/plugins/load/load_assembly.py b/openpype/hosts/maya/plugins/load/load_assembly.py similarity index 94% rename from pype/hosts/maya/plugins/load/load_assembly.py rename to openpype/hosts/maya/plugins/load/load_assembly.py index a5f2394444..2f0ca3922e 100644 --- a/pype/hosts/maya/plugins/load/load_assembly.py +++ b/openpype/hosts/maya/plugins/load/load_assembly.py @@ -23,7 +23,7 @@ class AssemblyLoader(api.Loader): suffix="_", ) - from pype.hosts.maya.api import setdress + from openpype.hosts.maya.api import setdress containers = setdress.load_package(filepath=self.fname, name=name, @@ -45,7 +45,7 @@ class AssemblyLoader(api.Loader): def update(self, container, representation): - from pype import setdress + from openpype import setdress return setdress.update_package(container, representation) @@ -53,7 +53,7 @@ class AssemblyLoader(api.Loader): """Remove all sub containers""" from avalon import api - from pype import setdress + from openpype import setdress import maya.cmds as cmds # Remove all members diff --git a/pype/hosts/maya/plugins/load/load_audio.py b/openpype/hosts/maya/plugins/load/load_audio.py similarity index 100% rename from pype/hosts/maya/plugins/load/load_audio.py rename to openpype/hosts/maya/plugins/load/load_audio.py diff --git a/pype/hosts/maya/plugins/load/load_gpucache.py b/openpype/hosts/maya/plugins/load/load_gpucache.py similarity index 98% rename from pype/hosts/maya/plugins/load/load_gpucache.py rename to openpype/hosts/maya/plugins/load/load_gpucache.py index e6fde1eaa8..5b1b29e184 100644 --- a/pype/hosts/maya/plugins/load/load_gpucache.py +++ b/openpype/hosts/maya/plugins/load/load_gpucache.py @@ -1,6 +1,6 @@ import os from avalon import api -from pype.api import get_project_settings +from openpype.api import get_project_settings class GpuCacheLoader(api.Loader): """Load model Alembic as gpuCache""" diff --git a/pype/hosts/maya/plugins/load/load_image_plane.py b/openpype/hosts/maya/plugins/load/load_image_plane.py similarity index 100% rename from pype/hosts/maya/plugins/load/load_image_plane.py rename to openpype/hosts/maya/plugins/load/load_image_plane.py diff --git a/pype/hosts/maya/plugins/load/load_look.py b/openpype/hosts/maya/plugins/load/load_look.py similarity index 93% rename from pype/hosts/maya/plugins/load/load_look.py rename to openpype/hosts/maya/plugins/load/load_look.py index ab8f971d62..4392d1f78d 100644 --- a/pype/hosts/maya/plugins/load/load_look.py +++ b/openpype/hosts/maya/plugins/load/load_look.py @@ -1,13 +1,13 @@ -import pype.hosts.maya.api.plugin +import openpype.hosts.maya.api.plugin from avalon import api, io import json -import pype.hosts.maya.api.lib +import openpype.hosts.maya.api.lib from collections import defaultdict -from pype.widgets.message_window import ScrollMessageBox +from openpype.widgets.message_window import ScrollMessageBox from Qt import QtWidgets -class LookLoader(pype.hosts.maya.api.plugin.ReferenceLoader): +class LookLoader(openpype.hosts.maya.api.plugin.ReferenceLoader): """Specific loader for lookdev""" families = ["look"] @@ -120,9 +120,9 @@ class LookLoader(pype.hosts.maya.api.plugin.ReferenceLoader): cmds.file(cr=reference_node) # cleanReference # reapply shading groups from json representation on orig nodes - pype.hosts.maya.api.lib.apply_shaders(relationships, - shader_nodes, - orig_nodes) + openpype.hosts.maya.api.lib.apply_shaders(relationships, + shader_nodes, + orig_nodes) msg = ["During reference update some edits failed.", "All successful edits were kept intact.\n", @@ -138,8 +138,8 @@ class LookLoader(pype.hosts.maya.api.plugin.ReferenceLoader): # region compute lookup nodes_by_id = defaultdict(list) for n in nodes: - nodes_by_id[pype.hosts.maya.api.lib.get_id(n)].append(n) - pype.hosts.maya.api.lib.apply_attributes(attributes, nodes_by_id) + nodes_by_id[openpype.hosts.maya.api.lib.get_id(n)].append(n) + openpype.hosts.maya.api.lib.apply_attributes(attributes, nodes_by_id) # Update metadata cmds.setAttr("{}.representation".format(node), diff --git a/pype/hosts/maya/plugins/load/load_matchmove.py b/openpype/hosts/maya/plugins/load/load_matchmove.py similarity index 100% rename from pype/hosts/maya/plugins/load/load_matchmove.py rename to openpype/hosts/maya/plugins/load/load_matchmove.py diff --git a/pype/hosts/maya/plugins/load/load_reference.py b/openpype/hosts/maya/plugins/load/load_reference.py similarity index 96% rename from pype/hosts/maya/plugins/load/load_reference.py rename to openpype/hosts/maya/plugins/load/load_reference.py index 7ef6417b9f..61e0290296 100644 --- a/pype/hosts/maya/plugins/load/load_reference.py +++ b/openpype/hosts/maya/plugins/load/load_reference.py @@ -1,12 +1,12 @@ -import pype.hosts.maya.api.plugin +import openpype.hosts.maya.api.plugin from avalon import api, maya from maya import cmds import os -from pype.api import get_project_settings -from pype.lib import get_creator_by_name +from openpype.api import get_project_settings +from openpype.lib import get_creator_by_name -class ReferenceLoader(pype.hosts.maya.api.plugin.ReferenceLoader): +class ReferenceLoader(openpype.hosts.maya.api.plugin.ReferenceLoader): """Load the model""" families = ["model", diff --git a/pype/hosts/maya/plugins/load/load_rendersetup.py b/openpype/hosts/maya/plugins/load/load_rendersetup.py similarity index 98% rename from pype/hosts/maya/plugins/load/load_rendersetup.py rename to openpype/hosts/maya/plugins/load/load_rendersetup.py index c540c3880e..7cd536cc39 100644 --- a/pype/hosts/maya/plugins/load/load_rendersetup.py +++ b/openpype/hosts/maya/plugins/load/load_rendersetup.py @@ -12,7 +12,7 @@ import sys from avalon import api from avalon.maya import lib -from pype.hosts.maya.api import lib as pypelib +from openpype.hosts.maya.api import lib as pypelib from maya import cmds import maya.app.renderSetup.model.renderSetup as renderSetup diff --git a/pype/hosts/maya/plugins/load/load_vdb_to_redshift.py b/openpype/hosts/maya/plugins/load/load_vdb_to_redshift.py similarity index 98% rename from pype/hosts/maya/plugins/load/load_vdb_to_redshift.py rename to openpype/hosts/maya/plugins/load/load_vdb_to_redshift.py index 17c78d7165..b705b55f4d 100644 --- a/pype/hosts/maya/plugins/load/load_vdb_to_redshift.py +++ b/openpype/hosts/maya/plugins/load/load_vdb_to_redshift.py @@ -1,6 +1,6 @@ from avalon import api import os -from pype.api import get_project_settings +from openpype.api import get_project_settings class LoadVDBtoRedShift(api.Loader): """Load OpenVDB in a Redshift Volume Shape""" diff --git a/pype/hosts/maya/plugins/load/load_vdb_to_vray.py b/openpype/hosts/maya/plugins/load/load_vdb_to_vray.py similarity index 98% rename from pype/hosts/maya/plugins/load/load_vdb_to_vray.py rename to openpype/hosts/maya/plugins/load/load_vdb_to_vray.py index 2959ef42ec..82ccdb481b 100644 --- a/pype/hosts/maya/plugins/load/load_vdb_to_vray.py +++ b/openpype/hosts/maya/plugins/load/load_vdb_to_vray.py @@ -1,5 +1,5 @@ from avalon import api -from pype.api import get_project_settings +from openpype.api import get_project_settings import os diff --git a/pype/hosts/maya/plugins/load/load_vrayproxy.py b/openpype/hosts/maya/plugins/load/load_vrayproxy.py similarity index 98% rename from pype/hosts/maya/plugins/load/load_vrayproxy.py rename to openpype/hosts/maya/plugins/load/load_vrayproxy.py index 270d0f9baa..2bff6e0a77 100644 --- a/pype/hosts/maya/plugins/load/load_vrayproxy.py +++ b/openpype/hosts/maya/plugins/load/load_vrayproxy.py @@ -1,6 +1,6 @@ from avalon.maya import lib from avalon import api -from pype.api import get_project_settings +from openpype.api import get_project_settings import os import maya.cmds as cmds @@ -19,7 +19,7 @@ class VRayProxyLoader(api.Loader): def load(self, context, name, namespace, data): from avalon.maya.pipeline import containerise - from pype.hosts.maya.api.lib import namespaced + from openpype.hosts.maya.api.lib import namespaced try: family = context["representation"]["context"]["family"] diff --git a/pype/hosts/maya/plugins/load/load_vrayscene.py b/openpype/hosts/maya/plugins/load/load_vrayscene.py similarity index 98% rename from pype/hosts/maya/plugins/load/load_vrayscene.py rename to openpype/hosts/maya/plugins/load/load_vrayscene.py index b258119a1a..b0f0c2a54b 100644 --- a/pype/hosts/maya/plugins/load/load_vrayscene.py +++ b/openpype/hosts/maya/plugins/load/load_vrayscene.py @@ -1,6 +1,6 @@ from avalon.maya import lib from avalon import api -from pype.api import config +from openpype.api import config import os import maya.cmds as cmds @@ -19,7 +19,7 @@ class VRaySceneLoader(api.Loader): def load(self, context, name, namespace, data): from avalon.maya.pipeline import containerise - from pype.hosts.maya.lib import namespaced + from openpype.hosts.maya.lib import namespaced try: family = context["representation"]["context"]["family"] diff --git a/pype/hosts/maya/plugins/load/load_yeti_cache.py b/openpype/hosts/maya/plugins/load/load_yeti_cache.py similarity index 99% rename from pype/hosts/maya/plugins/load/load_yeti_cache.py rename to openpype/hosts/maya/plugins/load/load_yeti_cache.py index 16d51ad56d..43c8aa16a0 100644 --- a/pype/hosts/maya/plugins/load/load_yeti_cache.py +++ b/openpype/hosts/maya/plugins/load/load_yeti_cache.py @@ -8,8 +8,8 @@ from maya import cmds from avalon import api, io from avalon.maya import lib as avalon_lib, pipeline -from pype.hosts.maya.api import lib -from pype.api import get_project_settings +from openpype.hosts.maya.api import lib +from openpype.api import get_project_settings from pprint import pprint diff --git a/pype/hosts/maya/plugins/load/load_yeti_rig.py b/openpype/hosts/maya/plugins/load/load_yeti_rig.py similarity index 93% rename from pype/hosts/maya/plugins/load/load_yeti_rig.py rename to openpype/hosts/maya/plugins/load/load_yeti_rig.py index d025ed13cc..a329be4cf5 100644 --- a/pype/hosts/maya/plugins/load/load_yeti_rig.py +++ b/openpype/hosts/maya/plugins/load/load_yeti_rig.py @@ -1,12 +1,12 @@ import os from collections import defaultdict -from pype.api import get_project_settings -import pype.hosts.maya.api.plugin -from pype.hosts.maya.api import lib +from openpype.api import get_project_settings +import openpype.hosts.maya.api.plugin +from openpype.hosts.maya.api import lib -class YetiRigLoader(pype.hosts.maya.api.plugin.ReferenceLoader): +class YetiRigLoader(openpype.hosts.maya.api.plugin.ReferenceLoader): """ This loader will load Yeti rig. You can select something in scene and if it has same ID as mesh published with rig, their shapes will be linked diff --git a/pype/hosts/maya/plugins/publish/__init__.py b/openpype/hosts/maya/plugins/publish/__init__.py similarity index 100% rename from pype/hosts/maya/plugins/publish/__init__.py rename to openpype/hosts/maya/plugins/publish/__init__.py diff --git a/pype/hosts/maya/plugins/publish/collect_animation.py b/openpype/hosts/maya/plugins/publish/collect_animation.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_animation.py rename to openpype/hosts/maya/plugins/publish/collect_animation.py diff --git a/pype/hosts/maya/plugins/publish/collect_ass.py b/openpype/hosts/maya/plugins/publish/collect_ass.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_ass.py rename to openpype/hosts/maya/plugins/publish/collect_ass.py diff --git a/pype/hosts/maya/plugins/publish/collect_assembly.py b/openpype/hosts/maya/plugins/publish/collect_assembly.py similarity index 98% rename from pype/hosts/maya/plugins/publish/collect_assembly.py rename to openpype/hosts/maya/plugins/publish/collect_assembly.py index be3408a0bd..22af1239b1 100644 --- a/pype/hosts/maya/plugins/publish/collect_assembly.py +++ b/openpype/hosts/maya/plugins/publish/collect_assembly.py @@ -3,7 +3,7 @@ import pyblish.api from maya import cmds, mel from avalon import maya as avalon -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib # TODO : Publish of assembly: -unique namespace for all assets, VALIDATOR! diff --git a/pype/hosts/maya/plugins/publish/collect_file_dependencies.py b/openpype/hosts/maya/plugins/publish/collect_file_dependencies.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_file_dependencies.py rename to openpype/hosts/maya/plugins/publish/collect_file_dependencies.py diff --git a/pype/hosts/maya/plugins/publish/collect_ftrack_family.py b/openpype/hosts/maya/plugins/publish/collect_ftrack_family.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_ftrack_family.py rename to openpype/hosts/maya/plugins/publish/collect_ftrack_family.py diff --git a/pype/hosts/maya/plugins/publish/collect_history.py b/openpype/hosts/maya/plugins/publish/collect_history.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_history.py rename to openpype/hosts/maya/plugins/publish/collect_history.py diff --git a/pype/hosts/maya/plugins/publish/collect_instances.py b/openpype/hosts/maya/plugins/publish/collect_instances.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_instances.py rename to openpype/hosts/maya/plugins/publish/collect_instances.py diff --git a/pype/hosts/maya/plugins/publish/collect_look.py b/openpype/hosts/maya/plugins/publish/collect_look.py similarity index 99% rename from pype/hosts/maya/plugins/publish/collect_look.py rename to openpype/hosts/maya/plugins/publish/collect_look.py index 35abc5a991..acc6d8f128 100644 --- a/pype/hosts/maya/plugins/publish/collect_look.py +++ b/openpype/hosts/maya/plugins/publish/collect_look.py @@ -4,7 +4,7 @@ import glob from maya import cmds import pyblish.api -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib SHAPE_ATTRS = ["castsShadows", "receiveShadows", diff --git a/pype/hosts/maya/plugins/publish/collect_maya_units.py b/openpype/hosts/maya/plugins/publish/collect_maya_units.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_maya_units.py rename to openpype/hosts/maya/plugins/publish/collect_maya_units.py diff --git a/pype/hosts/maya/plugins/publish/collect_maya_workspace.py b/openpype/hosts/maya/plugins/publish/collect_maya_workspace.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_maya_workspace.py rename to openpype/hosts/maya/plugins/publish/collect_maya_workspace.py diff --git a/pype/hosts/maya/plugins/publish/collect_mayaascii.py b/openpype/hosts/maya/plugins/publish/collect_mayaascii.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_mayaascii.py rename to openpype/hosts/maya/plugins/publish/collect_mayaascii.py diff --git a/pype/hosts/maya/plugins/publish/collect_model.py b/openpype/hosts/maya/plugins/publish/collect_model.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_model.py rename to openpype/hosts/maya/plugins/publish/collect_model.py diff --git a/pype/hosts/maya/plugins/publish/collect_remove_marked.py b/openpype/hosts/maya/plugins/publish/collect_remove_marked.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_remove_marked.py rename to openpype/hosts/maya/plugins/publish/collect_remove_marked.py diff --git a/pype/hosts/maya/plugins/publish/collect_render.py b/openpype/hosts/maya/plugins/publish/collect_render.py similarity index 99% rename from pype/hosts/maya/plugins/publish/collect_render.py rename to openpype/hosts/maya/plugins/publish/collect_render.py index c24cf1dfef..75749a952e 100644 --- a/pype/hosts/maya/plugins/publish/collect_render.py +++ b/openpype/hosts/maya/plugins/publish/collect_render.py @@ -49,8 +49,8 @@ import maya.app.renderSetup.model.renderSetup as renderSetup import pyblish.api from avalon import maya, api -from pype.hosts.maya.api.expected_files import ExpectedFiles -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api.expected_files import ExpectedFiles +from openpype.hosts.maya.api import lib class CollectMayaRender(pyblish.api.ContextPlugin): diff --git a/pype/hosts/maya/plugins/publish/collect_render_layer_aovs.py b/openpype/hosts/maya/plugins/publish/collect_render_layer_aovs.py similarity index 98% rename from pype/hosts/maya/plugins/publish/collect_render_layer_aovs.py rename to openpype/hosts/maya/plugins/publish/collect_render_layer_aovs.py index d776b43907..9666499c42 100644 --- a/pype/hosts/maya/plugins/publish/collect_render_layer_aovs.py +++ b/openpype/hosts/maya/plugins/publish/collect_render_layer_aovs.py @@ -2,7 +2,7 @@ from maya import cmds import pyblish.api -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib class CollectRenderLayerAOVS(pyblish.api.InstancePlugin): diff --git a/pype/hosts/maya/plugins/publish/collect_renderable_camera.py b/openpype/hosts/maya/plugins/publish/collect_renderable_camera.py similarity index 93% rename from pype/hosts/maya/plugins/publish/collect_renderable_camera.py rename to openpype/hosts/maya/plugins/publish/collect_renderable_camera.py index 5b3468424a..0bf06aa273 100644 --- a/pype/hosts/maya/plugins/publish/collect_renderable_camera.py +++ b/openpype/hosts/maya/plugins/publish/collect_renderable_camera.py @@ -2,7 +2,7 @@ import pyblish.api from maya import cmds -from pype.hosts.maya.api.attributes import get_attr_in_layer +from openpype.hosts.maya.api.attributes import get_attr_in_layer class CollectRenderableCamera(pyblish.api.InstancePlugin): diff --git a/pype/hosts/maya/plugins/publish/collect_review.py b/openpype/hosts/maya/plugins/publish/collect_review.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_review.py rename to openpype/hosts/maya/plugins/publish/collect_review.py diff --git a/pype/hosts/maya/plugins/publish/collect_rig.py b/openpype/hosts/maya/plugins/publish/collect_rig.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_rig.py rename to openpype/hosts/maya/plugins/publish/collect_rig.py diff --git a/pype/hosts/maya/plugins/publish/collect_scene.py b/openpype/hosts/maya/plugins/publish/collect_scene.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_scene.py rename to openpype/hosts/maya/plugins/publish/collect_scene.py diff --git a/pype/hosts/maya/plugins/publish/collect_unreal_staticmesh.py b/openpype/hosts/maya/plugins/publish/collect_unreal_staticmesh.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_unreal_staticmesh.py rename to openpype/hosts/maya/plugins/publish/collect_unreal_staticmesh.py diff --git a/pype/hosts/maya/plugins/publish/collect_vrayscene.py b/openpype/hosts/maya/plugins/publish/collect_vrayscene.py similarity index 99% rename from pype/hosts/maya/plugins/publish/collect_vrayscene.py rename to openpype/hosts/maya/plugins/publish/collect_vrayscene.py index 7960bb7937..7097d7ce9c 100644 --- a/pype/hosts/maya/plugins/publish/collect_vrayscene.py +++ b/openpype/hosts/maya/plugins/publish/collect_vrayscene.py @@ -7,7 +7,7 @@ from maya import cmds import pyblish.api from avalon import api -from pype.hosts.maya import lib +from openpype.hosts.maya import lib class CollectVrayScene(pyblish.api.InstancePlugin): diff --git a/pype/hosts/maya/plugins/publish/collect_workscene_fps.py b/openpype/hosts/maya/plugins/publish/collect_workscene_fps.py similarity index 100% rename from pype/hosts/maya/plugins/publish/collect_workscene_fps.py rename to openpype/hosts/maya/plugins/publish/collect_workscene_fps.py diff --git a/pype/hosts/maya/plugins/publish/collect_yeti_cache.py b/openpype/hosts/maya/plugins/publish/collect_yeti_cache.py similarity index 97% rename from pype/hosts/maya/plugins/publish/collect_yeti_cache.py rename to openpype/hosts/maya/plugins/publish/collect_yeti_cache.py index 2cfc56e486..e6b5ca4260 100644 --- a/pype/hosts/maya/plugins/publish/collect_yeti_cache.py +++ b/openpype/hosts/maya/plugins/publish/collect_yeti_cache.py @@ -2,7 +2,7 @@ from maya import cmds import pyblish.api -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib SETTINGS = {"renderDensity", "renderWidth", diff --git a/pype/hosts/maya/plugins/publish/collect_yeti_rig.py b/openpype/hosts/maya/plugins/publish/collect_yeti_rig.py similarity index 99% rename from pype/hosts/maya/plugins/publish/collect_yeti_rig.py rename to openpype/hosts/maya/plugins/publish/collect_yeti_rig.py index 15bcdc51dd..0d240b1a32 100644 --- a/pype/hosts/maya/plugins/publish/collect_yeti_rig.py +++ b/openpype/hosts/maya/plugins/publish/collect_yeti_rig.py @@ -5,7 +5,7 @@ from maya import cmds import pyblish.api -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib SETTINGS = {"renderDensity", diff --git a/pype/hosts/maya/plugins/publish/determine_future_version.py b/openpype/hosts/maya/plugins/publish/determine_future_version.py similarity index 100% rename from pype/hosts/maya/plugins/publish/determine_future_version.py rename to openpype/hosts/maya/plugins/publish/determine_future_version.py diff --git a/pype/hosts/maya/plugins/publish/extract_animation.py b/openpype/hosts/maya/plugins/publish/extract_animation.py similarity index 96% rename from pype/hosts/maya/plugins/publish/extract_animation.py rename to openpype/hosts/maya/plugins/publish/extract_animation.py index f56ba2f400..b86ded1fb0 100644 --- a/pype/hosts/maya/plugins/publish/extract_animation.py +++ b/openpype/hosts/maya/plugins/publish/extract_animation.py @@ -3,11 +3,11 @@ import os from maya import cmds import avalon.maya -import pype.api -from pype.hosts.maya.api.lib import extract_alembic +import openpype.api +from openpype.hosts.maya.api.lib import extract_alembic -class ExtractAnimation(pype.api.Extractor): +class ExtractAnimation(openpype.api.Extractor): """Produce an alembic of just point positions and normals. Positions and normals, uvs, creases are preserved, but nothing more, diff --git a/pype/hosts/maya/plugins/publish/extract_ass.py b/openpype/hosts/maya/plugins/publish/extract_ass.py similarity index 98% rename from pype/hosts/maya/plugins/publish/extract_ass.py rename to openpype/hosts/maya/plugins/publish/extract_ass.py index 4cf394aefe..7461ccdf78 100644 --- a/pype/hosts/maya/plugins/publish/extract_ass.py +++ b/openpype/hosts/maya/plugins/publish/extract_ass.py @@ -1,12 +1,12 @@ import os import avalon.maya -import pype.api +import openpype.api from maya import cmds -class ExtractAssStandin(pype.api.Extractor): +class ExtractAssStandin(openpype.api.Extractor): """Extract the content of the instance to a ass file Things to pay attention to: diff --git a/pype/hosts/maya/plugins/publish/extract_assembly.py b/openpype/hosts/maya/plugins/publish/extract_assembly.py similarity index 94% rename from pype/hosts/maya/plugins/publish/extract_assembly.py rename to openpype/hosts/maya/plugins/publish/extract_assembly.py index c72f1f1835..482930b76e 100644 --- a/pype/hosts/maya/plugins/publish/extract_assembly.py +++ b/openpype/hosts/maya/plugins/publish/extract_assembly.py @@ -2,13 +2,13 @@ import json import os -import pype.api -from pype.hosts.maya.api.lib import extract_alembic +import openpype.api +from openpype.hosts.maya.api.lib import extract_alembic from maya import cmds -class ExtractAssembly(pype.api.Extractor): +class ExtractAssembly(openpype.api.Extractor): """Produce an alembic of just point positions and normals. Positions and normals are preserved, but nothing more, diff --git a/pype/hosts/maya/plugins/publish/extract_assproxy.py b/openpype/hosts/maya/plugins/publish/extract_assproxy.py similarity index 95% rename from pype/hosts/maya/plugins/publish/extract_assproxy.py rename to openpype/hosts/maya/plugins/publish/extract_assproxy.py index 3579d26534..f53f385b8b 100644 --- a/pype/hosts/maya/plugins/publish/extract_assproxy.py +++ b/openpype/hosts/maya/plugins/publish/extract_assproxy.py @@ -4,16 +4,16 @@ from maya import cmds import contextlib import avalon.maya -import pype.api +import openpype.api -class ExtractAssProxy(pype.api.Extractor): +class ExtractAssProxy(openpype.api.Extractor): """Extract proxy model as Maya Ascii to use as arnold standin """ - order = pype.api.Extractor.order + 0.2 + order = openpype.api.Extractor.order + 0.2 label = "Ass Proxy (Maya ASCII)" hosts = ["maya"] families = ["ass"] diff --git a/pype/hosts/maya/plugins/publish/extract_camera_alembic.py b/openpype/hosts/maya/plugins/publish/extract_camera_alembic.py similarity index 96% rename from pype/hosts/maya/plugins/publish/extract_camera_alembic.py rename to openpype/hosts/maya/plugins/publish/extract_camera_alembic.py index c37f2ecb76..8950ed6254 100644 --- a/pype/hosts/maya/plugins/publish/extract_camera_alembic.py +++ b/openpype/hosts/maya/plugins/publish/extract_camera_alembic.py @@ -3,12 +3,12 @@ import os from maya import cmds import avalon.maya -import pype.api +import openpype.api -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib -class ExtractCameraAlembic(pype.api.Extractor): +class ExtractCameraAlembic(openpype.api.Extractor): """Extract a Camera as Alembic. The cameras gets baked to world space by default. Only when the instance's diff --git a/pype/hosts/maya/plugins/publish/extract_camera_mayaScene.py b/openpype/hosts/maya/plugins/publish/extract_camera_mayaScene.py similarity index 98% rename from pype/hosts/maya/plugins/publish/extract_camera_mayaScene.py rename to openpype/hosts/maya/plugins/publish/extract_camera_mayaScene.py index 16ebc39419..888dc636b2 100644 --- a/pype/hosts/maya/plugins/publish/extract_camera_mayaScene.py +++ b/openpype/hosts/maya/plugins/publish/extract_camera_mayaScene.py @@ -6,8 +6,8 @@ import itertools from maya import cmds import avalon.maya -import pype.api -from pype.hosts.maya.api import lib +import openpype.api +from openpype.hosts.maya.api import lib def massage_ma_file(path): @@ -78,7 +78,7 @@ def unlock(plug): cmds.disconnectAttr(source, destination) -class ExtractCameraMayaScene(pype.api.Extractor): +class ExtractCameraMayaScene(openpype.api.Extractor): """Extract a Camera as Maya Scene. This will create a duplicate of the camera that will be baked *with* diff --git a/pype/hosts/maya/plugins/publish/extract_fbx.py b/openpype/hosts/maya/plugins/publish/extract_fbx.py similarity index 99% rename from pype/hosts/maya/plugins/publish/extract_fbx.py rename to openpype/hosts/maya/plugins/publish/extract_fbx.py index 6a75bfce0e..e5f3b0cda4 100644 --- a/pype/hosts/maya/plugins/publish/extract_fbx.py +++ b/openpype/hosts/maya/plugins/publish/extract_fbx.py @@ -6,10 +6,10 @@ import maya.mel as mel import pyblish.api import avalon.maya -import pype.api +import openpype.api -class ExtractFBX(pype.api.Extractor): +class ExtractFBX(openpype.api.Extractor): """Extract FBX from Maya. This extracts reproducible FBX exports ignoring any of the settings set diff --git a/pype/hosts/maya/plugins/publish/extract_look.py b/openpype/hosts/maya/plugins/publish/extract_look.py similarity index 98% rename from pype/hosts/maya/plugins/publish/extract_look.py rename to openpype/hosts/maya/plugins/publish/extract_look.py index 2c4837b7a7..79488a372c 100644 --- a/pype/hosts/maya/plugins/publish/extract_look.py +++ b/openpype/hosts/maya/plugins/publish/extract_look.py @@ -13,8 +13,8 @@ import pyblish.api import avalon.maya from avalon import io, api -import pype.api -from pype.hosts.maya.api import lib +import openpype.api +from openpype.hosts.maya.api import lib # Modes for transfer COPY = 1 @@ -105,7 +105,7 @@ def no_workspace_dir(): os.rmdir(fake_workspace_dir) -class ExtractLook(pype.api.Extractor): +class ExtractLook(openpype.api.Extractor): """Extract Look (Maya Ascii + JSON) Only extracts the sets (shadingEngines and alike) alongside a .json file @@ -343,7 +343,7 @@ class ExtractLook(pype.api.Extractor): args = [] if do_maketx: args.append("maketx") - texture_hash = pype.api.source_hash(filepath, *args) + texture_hash = openpype.api.source_hash(filepath, *args) # If source has been published before with the same settings, # then don't reprocess but hardlink from the original diff --git a/pype/hosts/maya/plugins/publish/extract_maya_scene_raw.py b/openpype/hosts/maya/plugins/publish/extract_maya_scene_raw.py similarity index 97% rename from pype/hosts/maya/plugins/publish/extract_maya_scene_raw.py rename to openpype/hosts/maya/plugins/publish/extract_maya_scene_raw.py index 8df9f8e715..c85bc0387d 100644 --- a/pype/hosts/maya/plugins/publish/extract_maya_scene_raw.py +++ b/openpype/hosts/maya/plugins/publish/extract_maya_scene_raw.py @@ -5,10 +5,10 @@ import os from maya import cmds import avalon.maya -import pype.api +import openpype.api -class ExtractMayaSceneRaw(pype.api.Extractor): +class ExtractMayaSceneRaw(openpype.api.Extractor): """Extract as Maya Scene (raw). This will preserve all references, construction history, etc. diff --git a/pype/hosts/maya/plugins/publish/extract_model.py b/openpype/hosts/maya/plugins/publish/extract_model.py similarity index 97% rename from pype/hosts/maya/plugins/publish/extract_model.py rename to openpype/hosts/maya/plugins/publish/extract_model.py index 1c268a9e0e..1773297826 100644 --- a/pype/hosts/maya/plugins/publish/extract_model.py +++ b/openpype/hosts/maya/plugins/publish/extract_model.py @@ -5,11 +5,11 @@ import os from maya import cmds import avalon.maya -import pype.api -from pype.hosts.maya.api import lib +import openpype.api +from openpype.hosts.maya.api import lib -class ExtractModel(pype.api.Extractor): +class ExtractModel(openpype.api.Extractor): """Extract as Model (Maya Scene). Only extracts contents based on the original "setMembers" data to ensure diff --git a/pype/hosts/maya/plugins/publish/extract_playblast.py b/openpype/hosts/maya/plugins/publish/extract_playblast.py similarity index 98% rename from pype/hosts/maya/plugins/publish/extract_playblast.py rename to openpype/hosts/maya/plugins/publish/extract_playblast.py index 8402e41285..358fca6c2a 100644 --- a/pype/hosts/maya/plugins/publish/extract_playblast.py +++ b/openpype/hosts/maya/plugins/publish/extract_playblast.py @@ -4,14 +4,14 @@ import contextlib import clique import capture -from pype.hosts.maya.api import lib -import pype.api +from openpype.hosts.maya.api import lib +import openpype.api from maya import cmds import pymel.core as pm -class ExtractPlayblast(pype.api.Extractor): +class ExtractPlayblast(openpype.api.Extractor): """Extract viewport playblast. Takes review camera and creates review Quicktime video based on viewport diff --git a/pype/hosts/maya/plugins/publish/extract_pointcache.py b/openpype/hosts/maya/plugins/publish/extract_pointcache.py similarity index 95% rename from pype/hosts/maya/plugins/publish/extract_pointcache.py rename to openpype/hosts/maya/plugins/publish/extract_pointcache.py index 58742c8567..dea52f2154 100644 --- a/pype/hosts/maya/plugins/publish/extract_pointcache.py +++ b/openpype/hosts/maya/plugins/publish/extract_pointcache.py @@ -3,11 +3,11 @@ import os from maya import cmds import avalon.maya -import pype.api -from pype.hosts.maya.api.lib import extract_alembic +import openpype.api +from openpype.hosts.maya.api.lib import extract_alembic -class ExtractAlembic(pype.api.Extractor): +class ExtractAlembic(openpype.api.Extractor): """Produce an alembic of just point positions and normals. Positions and normals, uvs, creases are preserved, but nothing more, diff --git a/pype/hosts/maya/plugins/publish/extract_rendersetup.py b/openpype/hosts/maya/plugins/publish/extract_rendersetup.py similarity index 93% rename from pype/hosts/maya/plugins/publish/extract_rendersetup.py rename to openpype/hosts/maya/plugins/publish/extract_rendersetup.py index c8d8db0bbb..6bdd5f590e 100644 --- a/pype/hosts/maya/plugins/publish/extract_rendersetup.py +++ b/openpype/hosts/maya/plugins/publish/extract_rendersetup.py @@ -1,10 +1,10 @@ import json import os -import pype.api +import openpype.api import maya.app.renderSetup.model.renderSetup as renderSetup -class ExtractRenderSetup(pype.api.Extractor): +class ExtractRenderSetup(openpype.api.Extractor): """ Produce renderSetup template file diff --git a/pype/hosts/maya/plugins/publish/extract_rig.py b/openpype/hosts/maya/plugins/publish/extract_rig.py similarity index 97% rename from pype/hosts/maya/plugins/publish/extract_rig.py rename to openpype/hosts/maya/plugins/publish/extract_rig.py index fd7fc051aa..b28b60114e 100644 --- a/pype/hosts/maya/plugins/publish/extract_rig.py +++ b/openpype/hosts/maya/plugins/publish/extract_rig.py @@ -5,10 +5,10 @@ import os from maya import cmds import avalon.maya -import pype.api +import openpype.api -class ExtractRig(pype.api.Extractor): +class ExtractRig(openpype.api.Extractor): """Extract rig as Maya Scene.""" label = "Extract Rig (Maya Scene)" diff --git a/pype/hosts/maya/plugins/publish/extract_thumbnail.py b/openpype/hosts/maya/plugins/publish/extract_thumbnail.py similarity index 98% rename from pype/hosts/maya/plugins/publish/extract_thumbnail.py rename to openpype/hosts/maya/plugins/publish/extract_thumbnail.py index 9f6d16275f..35d720726b 100644 --- a/pype/hosts/maya/plugins/publish/extract_thumbnail.py +++ b/openpype/hosts/maya/plugins/publish/extract_thumbnail.py @@ -4,14 +4,14 @@ import glob import capture -from pype.hosts.maya.api import lib -import pype.api +from openpype.hosts.maya.api import lib +import openpype.api from maya import cmds import pymel.core as pm -class ExtractThumbnail(pype.api.Extractor): +class ExtractThumbnail(openpype.api.Extractor): """Extract a Camera as Alembic. The cameras gets baked to world space by default. Only when the instance's diff --git a/pype/hosts/maya/plugins/publish/extract_vrayproxy.py b/openpype/hosts/maya/plugins/publish/extract_vrayproxy.py similarity index 96% rename from pype/hosts/maya/plugins/publish/extract_vrayproxy.py rename to openpype/hosts/maya/plugins/publish/extract_vrayproxy.py index fe07159b65..7103601b85 100644 --- a/pype/hosts/maya/plugins/publish/extract_vrayproxy.py +++ b/openpype/hosts/maya/plugins/publish/extract_vrayproxy.py @@ -1,12 +1,12 @@ import os import avalon.maya -import pype.api +import openpype.api from maya import cmds -class ExtractVRayProxy(pype.api.Extractor): +class ExtractVRayProxy(openpype.api.Extractor): """Extract the content of the instance to a vrmesh file Things to pay attention to: diff --git a/pype/hosts/maya/plugins/publish/extract_vrayscene.py b/openpype/hosts/maya/plugins/publish/extract_vrayscene.py similarity index 97% rename from pype/hosts/maya/plugins/publish/extract_vrayscene.py rename to openpype/hosts/maya/plugins/publish/extract_vrayscene.py index a217332d8e..d3a3df6b1c 100644 --- a/pype/hosts/maya/plugins/publish/extract_vrayscene.py +++ b/openpype/hosts/maya/plugins/publish/extract_vrayscene.py @@ -4,13 +4,13 @@ import os import re import avalon.maya -import pype.api -from pype.hosts.maya.render_setup_tools import export_in_rs_layer +import openpype.api +from openpype.hosts.maya.render_setup_tools import export_in_rs_layer from maya import cmds -class ExtractVrayscene(pype.api.Extractor): +class ExtractVrayscene(openpype.api.Extractor): """Extractor for vrscene.""" label = "VRay Scene (.vrscene)" diff --git a/pype/hosts/maya/plugins/publish/extract_yeti_cache.py b/openpype/hosts/maya/plugins/publish/extract_yeti_cache.py similarity index 97% rename from pype/hosts/maya/plugins/publish/extract_yeti_cache.py rename to openpype/hosts/maya/plugins/publish/extract_yeti_cache.py index 5a67a6ab7e..05fe79ecc5 100644 --- a/pype/hosts/maya/plugins/publish/extract_yeti_cache.py +++ b/openpype/hosts/maya/plugins/publish/extract_yeti_cache.py @@ -3,10 +3,10 @@ import json from maya import cmds -import pype.api +import openpype.api -class ExtractYetiCache(pype.api.Extractor): +class ExtractYetiCache(openpype.api.Extractor): """Producing Yeti cache files using scene time range. This will extract Yeti cache file sequence and fur settings. diff --git a/pype/hosts/maya/plugins/publish/extract_yeti_rig.py b/openpype/hosts/maya/plugins/publish/extract_yeti_rig.py similarity index 98% rename from pype/hosts/maya/plugins/publish/extract_yeti_rig.py rename to openpype/hosts/maya/plugins/publish/extract_yeti_rig.py index 43908d8742..b9bed47fa5 100644 --- a/pype/hosts/maya/plugins/publish/extract_yeti_rig.py +++ b/openpype/hosts/maya/plugins/publish/extract_yeti_rig.py @@ -8,8 +8,8 @@ import contextlib from maya import cmds import avalon.maya.lib as lib -import pype.api -import pype.hosts.maya.api.lib as maya +import openpype.api +import openpype.hosts.maya.api.lib as maya @contextlib.contextmanager @@ -91,7 +91,7 @@ def yetigraph_attribute_values(assumed_destination, resources): pass -class ExtractYetiRig(pype.api.Extractor): +class ExtractYetiRig(openpype.api.Extractor): """Extract the Yeti rig to a Maya Scene and write the Yeti rig data.""" label = "Extract Yeti Rig" diff --git a/pype/hosts/maya/plugins/publish/increment_current_file_deadline.py b/openpype/hosts/maya/plugins/publish/increment_current_file_deadline.py similarity index 91% rename from pype/hosts/maya/plugins/publish/increment_current_file_deadline.py rename to openpype/hosts/maya/plugins/publish/increment_current_file_deadline.py index 8259145b68..f9cfac3eb9 100644 --- a/pype/hosts/maya/plugins/publish/increment_current_file_deadline.py +++ b/openpype/hosts/maya/plugins/publish/increment_current_file_deadline.py @@ -18,8 +18,8 @@ class IncrementCurrentFileDeadline(pyblish.api.ContextPlugin): import os from maya import cmds - from pype.lib import version_up - from pype.action import get_errored_plugins_from_data + from openpype.lib import version_up + from openpype.action import get_errored_plugins_from_data errored_plugins = get_errored_plugins_from_data(context) if any(plugin.__name__ == "MayaSubmitDeadline" diff --git a/pype/hosts/maya/plugins/publish/save_scene.py b/openpype/hosts/maya/plugins/publish/save_scene.py similarity index 100% rename from pype/hosts/maya/plugins/publish/save_scene.py rename to openpype/hosts/maya/plugins/publish/save_scene.py diff --git a/pype/hosts/maya/plugins/publish/submit_maya_muster.py b/openpype/hosts/maya/plugins/publish/submit_maya_muster.py similarity index 99% rename from pype/hosts/maya/plugins/publish/submit_maya_muster.py rename to openpype/hosts/maya/plugins/publish/submit_maya_muster.py index 14edc25b12..1c97f0faf7 100644 --- a/pype/hosts/maya/plugins/publish/submit_maya_muster.py +++ b/openpype/hosts/maya/plugins/publish/submit_maya_muster.py @@ -10,8 +10,8 @@ from avalon import api from avalon.vendor import requests import pyblish.api -from pype.hosts.maya.api import lib -from pype.api import get_system_settings +from openpype.hosts.maya.api import lib +from openpype.api import get_system_settings # mapping between Maya renderer names and Muster template ids @@ -40,7 +40,7 @@ def _get_template_id(renderer): def _get_script(): """Get path to the image sequence script""" try: - from pype.scripts import publish_filesequence + from openpype.scripts import publish_filesequence except Exception: raise RuntimeError("Expected module 'publish_deadline'" "to be available") diff --git a/pype/hosts/maya/plugins/publish/validate_animation_content.py b/openpype/hosts/maya/plugins/publish/validate_animation_content.py similarity index 89% rename from pype/hosts/maya/plugins/publish/validate_animation_content.py rename to openpype/hosts/maya/plugins/publish/validate_animation_content.py index ec6f33c969..bcea761a01 100644 --- a/pype/hosts/maya/plugins/publish/validate_animation_content.py +++ b/openpype/hosts/maya/plugins/publish/validate_animation_content.py @@ -1,6 +1,6 @@ import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateAnimationContent(pyblish.api.InstancePlugin): @@ -11,11 +11,11 @@ class ValidateAnimationContent(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ["maya"] families = ["animation"] label = "Animation Content" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @classmethod def get_invalid(cls, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_animation_out_set_related_node_ids.py b/openpype/hosts/maya/plugins/publish/validate_animation_out_set_related_node_ids.py similarity index 91% rename from pype/hosts/maya/plugins/publish/validate_animation_out_set_related_node_ids.py rename to openpype/hosts/maya/plugins/publish/validate_animation_out_set_related_node_ids.py index 6bea9bf856..00f0d38775 100644 --- a/pype/hosts/maya/plugins/publish/validate_animation_out_set_related_node_ids.py +++ b/openpype/hosts/maya/plugins/publish/validate_animation_out_set_related_node_ids.py @@ -1,9 +1,9 @@ import maya.cmds as cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib class ValidateOutRelatedNodeIds(pyblish.api.InstancePlugin): @@ -16,13 +16,13 @@ class ValidateOutRelatedNodeIds(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['animation', "pointcache"] hosts = ['maya'] label = 'Animation Out Set Related Node Ids' actions = [ - pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction + openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction ] def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_ass_relative_paths.py b/openpype/hosts/maya/plugins/publish/validate_ass_relative_paths.py similarity index 96% rename from pype/hosts/maya/plugins/publish/validate_ass_relative_paths.py rename to openpype/hosts/maya/plugins/publish/validate_ass_relative_paths.py index b77a0c1923..3625d4ab32 100644 --- a/pype/hosts/maya/plugins/publish/validate_ass_relative_paths.py +++ b/openpype/hosts/maya/plugins/publish/validate_ass_relative_paths.py @@ -4,18 +4,18 @@ import types import maya.cmds as cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateAssRelativePaths(pyblish.api.InstancePlugin): """Ensure exporting ass file has set relative texture paths""" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['ass'] label = "ASS has relative texture paths" - actions = [pype.api.RepairAction] + actions = [openpype.api.RepairAction] def process(self, instance): # we cannot ask this until user open render settings as diff --git a/pype/hosts/maya/plugins/publish/validate_assembly_name.py b/openpype/hosts/maya/plugins/publish/validate_assembly_name.py similarity index 94% rename from pype/hosts/maya/plugins/publish/validate_assembly_name.py rename to openpype/hosts/maya/plugins/publish/validate_assembly_name.py index 54479035c5..8f7a3dfaf9 100644 --- a/pype/hosts/maya/plugins/publish/validate_assembly_name.py +++ b/openpype/hosts/maya/plugins/publish/validate_assembly_name.py @@ -1,6 +1,6 @@ import pyblish.api import maya.cmds as cmds -import pype.hosts.maya.api.action +import openpype.hosts.maya.api.action class ValidateAssemblyName(pyblish.api.InstancePlugin): @@ -12,7 +12,7 @@ class ValidateAssemblyName(pyblish.api.InstancePlugin): label = "Validate Assembly Name" order = pyblish.api.ValidatorOrder families = ["assembly"] - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] active = False @classmethod diff --git a/pype/hosts/maya/plugins/publish/validate_assembly_namespaces.py b/openpype/hosts/maya/plugins/publish/validate_assembly_namespaces.py similarity index 88% rename from pype/hosts/maya/plugins/publish/validate_assembly_namespaces.py rename to openpype/hosts/maya/plugins/publish/validate_assembly_namespaces.py index 32f4b8db52..a9ea5a6d15 100644 --- a/pype/hosts/maya/plugins/publish/validate_assembly_namespaces.py +++ b/openpype/hosts/maya/plugins/publish/validate_assembly_namespaces.py @@ -1,6 +1,6 @@ import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateAssemblyNamespaces(pyblish.api.InstancePlugin): @@ -18,7 +18,7 @@ class ValidateAssemblyNamespaces(pyblish.api.InstancePlugin): label = "Validate Assembly Namespaces" order = pyblish.api.ValidatorOrder families = ["assembly"] - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_assembly_transforms.py b/openpype/hosts/maya/plugins/publish/validate_assembly_transforms.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_assembly_transforms.py rename to openpype/hosts/maya/plugins/publish/validate_assembly_transforms.py index 146736ba8d..00600a6f62 100644 --- a/pype/hosts/maya/plugins/publish/validate_assembly_transforms.py +++ b/openpype/hosts/maya/plugins/publish/validate_assembly_transforms.py @@ -1,9 +1,9 @@ import pyblish.api -import pype.api +import openpype.api from maya import cmds -import pype.hosts.maya.api.action +import openpype.hosts.maya.api.action class ValidateAssemblyModelTransforms(pyblish.api.InstancePlugin): @@ -28,8 +28,8 @@ class ValidateAssemblyModelTransforms(pyblish.api.InstancePlugin): order = pyblish.api.ValidatorOrder + 0.49 label = "Assembly Model Transforms" families = ["assembly"] - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] prompt_message = ("You are about to reset the matrix to the default values." " This can alter the look of your scene. " @@ -44,7 +44,7 @@ class ValidateAssemblyModelTransforms(pyblish.api.InstancePlugin): @classmethod def get_invalid(cls, instance): - from pype.hosts.maya.api import lib + from openpype.hosts.maya.api import lib # Get all transforms in the loaded containers container_roots = cmds.listRelatives(instance.data["hierarchy"], @@ -89,7 +89,7 @@ class ValidateAssemblyModelTransforms(pyblish.api.InstancePlugin): """ - from pype.hosts.maya.api import lib + from openpype.hosts.maya.api import lib from avalon.vendor.Qt import QtWidgets # Store namespace in variable, cosmetics thingy diff --git a/pype/hosts/maya/plugins/publish/validate_attributes.py b/openpype/hosts/maya/plugins/publish/validate_attributes.py similarity index 96% rename from pype/hosts/maya/plugins/publish/validate_attributes.py rename to openpype/hosts/maya/plugins/publish/validate_attributes.py index 97e63a475b..e2a22f80b6 100644 --- a/pype/hosts/maya/plugins/publish/validate_attributes.py +++ b/openpype/hosts/maya/plugins/publish/validate_attributes.py @@ -1,7 +1,7 @@ import pymel.core as pm import pyblish.api -import pype.api +import openpype.api class ValidateAttributes(pyblish.api.ContextPlugin): @@ -16,10 +16,10 @@ class ValidateAttributes(pyblish.api.ContextPlugin): } """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "Attributes" hosts = ["maya"] - actions = [pype.api.RepairContextAction] + actions = [openpype.api.RepairContextAction] optional = True attributes = None diff --git a/pype/hosts/maya/plugins/publish/validate_camera_attributes.py b/openpype/hosts/maya/plugins/publish/validate_camera_attributes.py similarity index 92% rename from pype/hosts/maya/plugins/publish/validate_camera_attributes.py rename to openpype/hosts/maya/plugins/publish/validate_camera_attributes.py index 797244ba84..e019788aff 100644 --- a/pype/hosts/maya/plugins/publish/validate_camera_attributes.py +++ b/openpype/hosts/maya/plugins/publish/validate_camera_attributes.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateCameraAttributes(pyblish.api.InstancePlugin): @@ -14,11 +14,11 @@ class ValidateCameraAttributes(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['camera'] hosts = ['maya'] label = 'Camera Attributes' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] DEFAULTS = [ ("filmFitOffset", 0.0), diff --git a/pype/hosts/maya/plugins/publish/validate_camera_contents.py b/openpype/hosts/maya/plugins/publish/validate_camera_contents.py similarity index 91% rename from pype/hosts/maya/plugins/publish/validate_camera_contents.py rename to openpype/hosts/maya/plugins/publish/validate_camera_contents.py index 644cfd16bf..d9e88edaac 100644 --- a/pype/hosts/maya/plugins/publish/validate_camera_contents.py +++ b/openpype/hosts/maya/plugins/publish/validate_camera_contents.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateCameraContents(pyblish.api.InstancePlugin): @@ -15,11 +15,11 @@ class ValidateCameraContents(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['camera'] hosts = ['maya'] label = 'Camera Contents' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @classmethod def get_invalid(cls, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_color_sets.py b/openpype/hosts/maya/plugins/publish/validate_color_sets.py similarity index 87% rename from pype/hosts/maya/plugins/publish/validate_color_sets.py rename to openpype/hosts/maya/plugins/publish/validate_color_sets.py index aa5901ee0a..45224b0672 100644 --- a/pype/hosts/maya/plugins/publish/validate_color_sets.py +++ b/openpype/hosts/maya/plugins/publish/validate_color_sets.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateColorSets(pyblish.api.Validator): @@ -13,13 +13,13 @@ class ValidateColorSets(pyblish.api.Validator): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] category = 'geometry' label = 'Mesh ColorSets' - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] optional = True @staticmethod diff --git a/pype/hosts/maya/plugins/publish/validate_current_renderlayer_renderable.py b/openpype/hosts/maya/plugins/publish/validate_current_renderlayer_renderable.py similarity index 95% rename from pype/hosts/maya/plugins/publish/validate_current_renderlayer_renderable.py rename to openpype/hosts/maya/plugins/publish/validate_current_renderlayer_renderable.py index aa6ffa555c..3c3ea68fc6 100644 --- a/pype/hosts/maya/plugins/publish/validate_current_renderlayer_renderable.py +++ b/openpype/hosts/maya/plugins/publish/validate_current_renderlayer_renderable.py @@ -1,7 +1,7 @@ import pyblish.api from maya import cmds -from pype.plugin import contextplugin_should_run +from openpype.plugin import contextplugin_should_run class ValidateCurrentRenderLayerIsRenderable(pyblish.api.ContextPlugin): diff --git a/pype/hosts/maya/plugins/publish/validate_frame_range.py b/openpype/hosts/maya/plugins/publish/validate_frame_range.py similarity index 96% rename from pype/hosts/maya/plugins/publish/validate_frame_range.py rename to openpype/hosts/maya/plugins/publish/validate_frame_range.py index 1ee6e2bd25..d5009701f2 100644 --- a/pype/hosts/maya/plugins/publish/validate_frame_range.py +++ b/openpype/hosts/maya/plugins/publish/validate_frame_range.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api from maya import cmds @@ -17,7 +17,7 @@ class ValidateFrameRange(pyblish.api.InstancePlugin): """ label = "Validate Frame Range" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ["animation", "pointcache", "camera", @@ -25,7 +25,7 @@ class ValidateFrameRange(pyblish.api.InstancePlugin): "review", "yeticache"] optional = True - actions = [pype.api.RepairAction] + actions = [openpype.api.RepairAction] def process(self, instance): context = instance.context diff --git a/pype/hosts/maya/plugins/publish/validate_instance_has_members.py b/openpype/hosts/maya/plugins/publish/validate_instance_has_members.py similarity index 78% rename from pype/hosts/maya/plugins/publish/validate_instance_has_members.py rename to openpype/hosts/maya/plugins/publish/validate_instance_has_members.py index b28a056198..e04a26e4fd 100644 --- a/pype/hosts/maya/plugins/publish/validate_instance_has_members.py +++ b/openpype/hosts/maya/plugins/publish/validate_instance_has_members.py @@ -1,15 +1,15 @@ import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateInstanceHasMembers(pyblish.api.InstancePlugin): """Validates instance objectSet has *any* members.""" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ["maya"] label = 'Instance has members' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @classmethod def get_invalid(cls, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_instance_subset.py b/openpype/hosts/maya/plugins/publish/validate_instance_subset.py similarity index 95% rename from pype/hosts/maya/plugins/publish/validate_instance_subset.py rename to openpype/hosts/maya/plugins/publish/validate_instance_subset.py index 19c60e4f64..a8c16425d6 100644 --- a/pype/hosts/maya/plugins/publish/validate_instance_subset.py +++ b/openpype/hosts/maya/plugins/publish/validate_instance_subset.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api import string # Allow only characters, numbers and underscore @@ -16,7 +16,7 @@ def validate_name(subset): class ValidateSubsetName(pyblish.api.InstancePlugin): """Validates subset name has only valid characters""" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ["*"] label = "Subset Name" diff --git a/pype/hosts/maya/plugins/publish/validate_instancer_content.py b/openpype/hosts/maya/plugins/publish/validate_instancer_content.py similarity index 98% rename from pype/hosts/maya/plugins/publish/validate_instancer_content.py rename to openpype/hosts/maya/plugins/publish/validate_instancer_content.py index 74ed73ef53..32abe91f48 100644 --- a/pype/hosts/maya/plugins/publish/validate_instancer_content.py +++ b/openpype/hosts/maya/plugins/publish/validate_instancer_content.py @@ -1,7 +1,7 @@ import maya.cmds as cmds import pyblish.api -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib class ValidateInstancerContent(pyblish.api.InstancePlugin): diff --git a/pype/hosts/maya/plugins/publish/validate_instancer_frame_ranges.py b/openpype/hosts/maya/plugins/publish/validate_instancer_frame_ranges.py similarity index 100% rename from pype/hosts/maya/plugins/publish/validate_instancer_frame_ranges.py rename to openpype/hosts/maya/plugins/publish/validate_instancer_frame_ranges.py diff --git a/pype/hosts/maya/plugins/publish/validate_look_contents.py b/openpype/hosts/maya/plugins/publish/validate_look_contents.py similarity index 95% rename from pype/hosts/maya/plugins/publish/validate_look_contents.py rename to openpype/hosts/maya/plugins/publish/validate_look_contents.py index 8893fdfae8..443a0ad719 100644 --- a/pype/hosts/maya/plugins/publish/validate_look_contents.py +++ b/openpype/hosts/maya/plugins/publish/validate_look_contents.py @@ -1,6 +1,6 @@ import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateLookContents(pyblish.api.InstancePlugin): @@ -17,11 +17,11 @@ class ValidateLookContents(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['look'] hosts = ['maya'] label = 'Look Data Contents' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): """Process all the nodes in the instance""" diff --git a/pype/hosts/maya/plugins/publish/validate_look_default_shaders_connections.py b/openpype/hosts/maya/plugins/publish/validate_look_default_shaders_connections.py similarity index 96% rename from pype/hosts/maya/plugins/publish/validate_look_default_shaders_connections.py rename to openpype/hosts/maya/plugins/publish/validate_look_default_shaders_connections.py index af355e178b..262dd10b74 100644 --- a/pype/hosts/maya/plugins/publish/validate_look_default_shaders_connections.py +++ b/openpype/hosts/maya/plugins/publish/validate_look_default_shaders_connections.py @@ -1,7 +1,7 @@ from maya import cmds import pyblish.api -import pype.api +import openpype.api class ValidateLookDefaultShadersConnections(pyblish.api.InstancePlugin): @@ -16,7 +16,7 @@ class ValidateLookDefaultShadersConnections(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['look'] hosts = ['maya'] label = 'Look Default Shader Connections' diff --git a/pype/hosts/maya/plugins/publish/validate_look_id_reference_edits.py b/openpype/hosts/maya/plugins/publish/validate_look_id_reference_edits.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_look_id_reference_edits.py rename to openpype/hosts/maya/plugins/publish/validate_look_id_reference_edits.py index 8cf5493d20..9d074f927b 100644 --- a/pype/hosts/maya/plugins/publish/validate_look_id_reference_edits.py +++ b/openpype/hosts/maya/plugins/publish/validate_look_id_reference_edits.py @@ -2,8 +2,8 @@ from collections import defaultdict from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateLookIdReferenceEdits(pyblish.api.InstancePlugin): @@ -16,12 +16,12 @@ class ValidateLookIdReferenceEdits(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['look'] hosts = ['maya'] label = 'Look Id Reference Edits' - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] def process(self, instance): invalid = self.get_invalid(instance) diff --git a/pype/hosts/maya/plugins/publish/validate_look_members_unique.py b/openpype/hosts/maya/plugins/publish/validate_look_members_unique.py similarity index 89% rename from pype/hosts/maya/plugins/publish/validate_look_members_unique.py rename to openpype/hosts/maya/plugins/publish/validate_look_members_unique.py index 0b0b50715a..2367602d05 100644 --- a/pype/hosts/maya/plugins/publish/validate_look_members_unique.py +++ b/openpype/hosts/maya/plugins/publish/validate_look_members_unique.py @@ -1,8 +1,8 @@ from collections import defaultdict import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateUniqueRelationshipMembers(pyblish.api.InstancePlugin): @@ -20,13 +20,13 @@ class ValidateUniqueRelationshipMembers(pyblish.api.InstancePlugin): """ - order = pype.api.ValidatePipelineOrder + order = openpype.api.ValidatePipelineOrder label = 'Look members unique' hosts = ['maya'] families = ['look'] - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] def process(self, instance): """Process all meshes""" diff --git a/pype/hosts/maya/plugins/publish/validate_look_no_default_shaders.py b/openpype/hosts/maya/plugins/publish/validate_look_no_default_shaders.py similarity index 91% rename from pype/hosts/maya/plugins/publish/validate_look_no_default_shaders.py rename to openpype/hosts/maya/plugins/publish/validate_look_no_default_shaders.py index 0d6a1ca562..8ba6cde988 100644 --- a/pype/hosts/maya/plugins/publish/validate_look_no_default_shaders.py +++ b/openpype/hosts/maya/plugins/publish/validate_look_no_default_shaders.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateLookNoDefaultShaders(pyblish.api.InstancePlugin): @@ -23,11 +23,11 @@ class ValidateLookNoDefaultShaders(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + 0.01 + order = openpype.api.ValidateContentsOrder + 0.01 families = ['look'] hosts = ['maya'] label = 'Look No Default Shaders' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] DEFAULT_SHADERS = {"lambert1", "initialShadingGroup", "initialParticleSE", "particleCloud1"} diff --git a/pype/hosts/maya/plugins/publish/validate_look_sets.py b/openpype/hosts/maya/plugins/publish/validate_look_sets.py similarity index 94% rename from pype/hosts/maya/plugins/publish/validate_look_sets.py rename to openpype/hosts/maya/plugins/publish/validate_look_sets.py index d044d8ad2e..48431d0906 100644 --- a/pype/hosts/maya/plugins/publish/validate_look_sets.py +++ b/openpype/hosts/maya/plugins/publish/validate_look_sets.py @@ -1,8 +1,8 @@ -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib import pyblish.api -import pype.api +import openpype.api class ValidateLookSets(pyblish.api.InstancePlugin): @@ -38,11 +38,11 @@ class ValidateLookSets(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['look'] hosts = ['maya'] label = 'Look Sets' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): """Process all the nodes in the instance""" diff --git a/pype/hosts/maya/plugins/publish/validate_look_shading_group.py b/openpype/hosts/maya/plugins/publish/validate_look_shading_group.py similarity index 89% rename from pype/hosts/maya/plugins/publish/validate_look_shading_group.py rename to openpype/hosts/maya/plugins/publish/validate_look_shading_group.py index 8d4e3ccf70..e8affac036 100644 --- a/pype/hosts/maya/plugins/publish/validate_look_shading_group.py +++ b/openpype/hosts/maya/plugins/publish/validate_look_shading_group.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateShadingEngine(pyblish.api.InstancePlugin): @@ -11,12 +11,12 @@ class ValidateShadingEngine(pyblish.api.InstancePlugin): Shading engines should be named "{surface_shader}SG" """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ["look"] hosts = ["maya"] label = "Look Shading Engine Naming" actions = [ - pype.hosts.maya.api.action.SelectInvalidAction, pype.api.RepairAction + openpype.hosts.maya.api.action.SelectInvalidAction, openpype.api.RepairAction ] # The default connections to check diff --git a/pype/hosts/maya/plugins/publish/validate_look_single_shader.py b/openpype/hosts/maya/plugins/publish/validate_look_single_shader.py similarity index 91% rename from pype/hosts/maya/plugins/publish/validate_look_single_shader.py rename to openpype/hosts/maya/plugins/publish/validate_look_single_shader.py index 8c4835c5bf..2b32ccf492 100644 --- a/pype/hosts/maya/plugins/publish/validate_look_single_shader.py +++ b/openpype/hosts/maya/plugins/publish/validate_look_single_shader.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateSingleShader(pyblish.api.InstancePlugin): @@ -12,11 +12,11 @@ class ValidateSingleShader(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['look'] hosts = ['maya'] label = 'Look Single Shader Per Shape' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] # The default connections to check def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_maya_units.py b/openpype/hosts/maya/plugins/publish/validate_maya_units.py similarity index 92% rename from pype/hosts/maya/plugins/publish/validate_maya_units.py rename to openpype/hosts/maya/plugins/publish/validate_maya_units.py index c99b8eb813..94065344ed 100644 --- a/pype/hosts/maya/plugins/publish/validate_maya_units.py +++ b/openpype/hosts/maya/plugins/publish/validate_maya_units.py @@ -1,9 +1,9 @@ import maya.cmds as cmds import pyblish.api -import pype.api -from pype import lib -import pype.hosts.maya.api.lib as mayalib +import openpype.api +from openpype import lib +import openpype.hosts.maya.api.lib as mayalib from math import ceil @@ -14,10 +14,10 @@ def float_round(num, places=0, direction=ceil): class ValidateMayaUnits(pyblish.api.ContextPlugin): """Check if the Maya units are set correct""" - order = pype.api.ValidateSceneOrder + order = openpype.api.ValidateSceneOrder label = "Maya Units" hosts = ['maya'] - actions = [pype.api.RepairContextAction] + actions = [openpype.api.RepairContextAction] def process(self, context): diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_arnold_attributes.py b/openpype/hosts/maya/plugins/publish/validate_mesh_arnold_attributes.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_mesh_arnold_attributes.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_arnold_attributes.py index a2792693af..6b3f508561 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_arnold_attributes.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_arnold_attributes.py @@ -1,8 +1,8 @@ import pymel.core as pc from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action from avalon import maya @@ -13,14 +13,14 @@ class ValidateMeshArnoldAttributes(pyblish.api.InstancePlugin): later published looks can discover non-default Arnold attributes. """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ["maya"] families = ["model"] category = "geometry" label = "Mesh Arnold Attributes" actions = [ - pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction + openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction ] optional = True if cmds.getAttr( diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_has_uv.py b/openpype/hosts/maya/plugins/publish/validate_mesh_has_uv.py similarity index 94% rename from pype/hosts/maya/plugins/publish/validate_mesh_has_uv.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_has_uv.py index ae80b6a8f2..8f9b5d1c4e 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_has_uv.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_has_uv.py @@ -3,8 +3,8 @@ import re from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action def len_flattened(components): @@ -45,12 +45,12 @@ class ValidateMeshHasUVs(pyblish.api.InstancePlugin): UVs for every face. """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] category = 'geometry' label = 'Mesh Has UVs' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] optional = True @classmethod diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_lamina_faces.py b/openpype/hosts/maya/plugins/publish/validate_mesh_lamina_faces.py similarity index 83% rename from pype/hosts/maya/plugins/publish/validate_mesh_lamina_faces.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_lamina_faces.py index 5628008a38..8fa1f3cf3b 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_lamina_faces.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_lamina_faces.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateMeshLaminaFaces(pyblish.api.InstancePlugin): @@ -12,13 +12,13 @@ class ValidateMeshLaminaFaces(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] category = 'geometry' version = (0, 1, 0) label = 'Mesh Lamina Faces' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_no_negative_scale.py b/openpype/hosts/maya/plugins/publish/validate_mesh_no_negative_scale.py similarity index 88% rename from pype/hosts/maya/plugins/publish/validate_mesh_no_negative_scale.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_no_negative_scale.py index 8446808459..5ccfa7377a 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_no_negative_scale.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_no_negative_scale.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateMeshNoNegativeScale(pyblish.api.Validator): @@ -17,11 +17,11 @@ class ValidateMeshNoNegativeScale(pyblish.api.Validator): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] label = 'Mesh No Negative Scale' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_non_manifold.py b/openpype/hosts/maya/plugins/publish/validate_mesh_non_manifold.py similarity index 85% rename from pype/hosts/maya/plugins/publish/validate_mesh_non_manifold.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_non_manifold.py index 4a2773671d..9bd584bbbf 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_non_manifold.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_non_manifold.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateMeshNonManifold(pyblish.api.Validator): @@ -13,11 +13,11 @@ class ValidateMeshNonManifold(pyblish.api.Validator): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] label = 'Mesh Non-Manifold Vertices/Edges' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_non_zero_edge.py b/openpype/hosts/maya/plugins/publish/validate_mesh_non_zero_edge.py similarity index 87% rename from pype/hosts/maya/plugins/publish/validate_mesh_non_zero_edge.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_non_zero_edge.py index 0ed02328c8..5e6f24cf79 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_non_zero_edge.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_non_zero_edge.py @@ -1,9 +1,9 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib class ValidateMeshNonZeroEdgeLength(pyblish.api.InstancePlugin): @@ -16,13 +16,13 @@ class ValidateMeshNonZeroEdgeLength(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder families = ['model'] hosts = ['maya'] category = 'geometry' version = (0, 1, 0) label = 'Mesh Edge Length Non Zero' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] optional = True __tolerance = 1e-5 diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_normals_unlocked.py b/openpype/hosts/maya/plugins/publish/validate_mesh_normals_unlocked.py similarity index 87% rename from pype/hosts/maya/plugins/publish/validate_mesh_normals_unlocked.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_normals_unlocked.py index d9d740cf13..b14781b608 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_normals_unlocked.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_normals_unlocked.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateMeshNormalsUnlocked(pyblish.api.Validator): @@ -13,14 +13,14 @@ class ValidateMeshNormalsUnlocked(pyblish.api.Validator): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] category = 'geometry' version = (0, 1, 0) label = 'Mesh Normals Unlocked' - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] optional = True @staticmethod diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_overlapping_uvs.py b/openpype/hosts/maya/plugins/publish/validate_mesh_overlapping_uvs.py similarity index 98% rename from pype/hosts/maya/plugins/publish/validate_mesh_overlapping_uvs.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_overlapping_uvs.py index 3619d27298..57cf0803a4 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_overlapping_uvs.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_overlapping_uvs.py @@ -1,6 +1,6 @@ import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action import math import maya.api.OpenMaya as om import pymel.core as pm @@ -230,12 +230,12 @@ class ValidateMeshHasOverlappingUVs(pyblish.api.InstancePlugin): It is optional to warn publisher about it. """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] category = 'geometry' label = 'Mesh Has Overlapping UVs' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] optional = True @classmethod diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_shader_connections.py b/openpype/hosts/maya/plugins/publish/validate_mesh_shader_connections.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_mesh_shader_connections.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_shader_connections.py index b9542fe930..0969573a90 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_shader_connections.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_shader_connections.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action def pairs(iterable): @@ -73,12 +73,12 @@ class ValidateMeshShaderConnections(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] label = "Mesh Shader Connections" - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] def process(self, instance): """Process all the nodes in the instance 'objectSet'""" diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_single_uv_set.py b/openpype/hosts/maya/plugins/publish/validate_mesh_single_uv_set.py similarity index 87% rename from pype/hosts/maya/plugins/publish/validate_mesh_single_uv_set.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_single_uv_set.py index 348bcb5fad..9d2aeb7d99 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_single_uv_set.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_single_uv_set.py @@ -1,9 +1,9 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib class ValidateMeshSingleUVSet(pyblish.api.InstancePlugin): @@ -15,15 +15,15 @@ class ValidateMeshSingleUVSet(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model', 'pointcache'] category = 'uv' optional = True version = (0, 1, 0) label = "Mesh Single UV Set" - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_uv_set_map1.py b/openpype/hosts/maya/plugins/publish/validate_mesh_uv_set_map1.py similarity index 92% rename from pype/hosts/maya/plugins/publish/validate_mesh_uv_set_map1.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_uv_set_map1.py index 5f954ee917..52c45d3b0c 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_uv_set_map1.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_uv_set_map1.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateMeshUVSetMap1(pyblish.api.InstancePlugin): @@ -15,13 +15,13 @@ class ValidateMeshUVSetMap1(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] optional = True label = "Mesh has map1 UV Set" - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_mesh_vertices_have_edges.py b/openpype/hosts/maya/plugins/publish/validate_mesh_vertices_have_edges.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_mesh_vertices_have_edges.py rename to openpype/hosts/maya/plugins/publish/validate_mesh_vertices_have_edges.py index 8d39c5cae4..463c3c4c50 100644 --- a/pype/hosts/maya/plugins/publish/validate_mesh_vertices_have_edges.py +++ b/openpype/hosts/maya/plugins/publish/validate_mesh_vertices_have_edges.py @@ -3,8 +3,8 @@ import re from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action def len_flattened(components): @@ -57,13 +57,13 @@ class ValidateMeshVerticesHaveEdges(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] category = 'geometry' label = 'Mesh Vertices Have Edges' - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] @classmethod def repair(cls, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_model_content.py b/openpype/hosts/maya/plugins/publish/validate_model_content.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_model_content.py rename to openpype/hosts/maya/plugins/publish/validate_model_content.py index 9bec7187e9..3d4f122af4 100644 --- a/pype/hosts/maya/plugins/publish/validate_model_content.py +++ b/openpype/hosts/maya/plugins/publish/validate_model_content.py @@ -1,9 +1,9 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib class ValidateModelContent(pyblish.api.InstancePlugin): @@ -14,11 +14,11 @@ class ValidateModelContent(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ["maya"] families = ["model"] label = "Model Content" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @classmethod def get_invalid(cls, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_model_name.py b/openpype/hosts/maya/plugins/publish/validate_model_name.py similarity index 94% rename from pype/hosts/maya/plugins/publish/validate_model_name.py rename to openpype/hosts/maya/plugins/publish/validate_model_name.py index 2f1586538e..98da4d42ba 100644 --- a/pype/hosts/maya/plugins/publish/validate_model_name.py +++ b/openpype/hosts/maya/plugins/publish/validate_model_name.py @@ -1,7 +1,7 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action import re @@ -14,11 +14,11 @@ class ValidateModelName(pyblish.api.InstancePlugin): """ optional = True - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ["maya"] families = ["model"] label = "Model Name" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] # path to shader names definitions # TODO: move it to preset file material_file = None diff --git a/pype/hosts/maya/plugins/publish/validate_muster_connection.py b/openpype/hosts/maya/plugins/publish/validate_muster_connection.py similarity index 97% rename from pype/hosts/maya/plugins/publish/validate_muster_connection.py rename to openpype/hosts/maya/plugins/publish/validate_muster_connection.py index 9077314831..1a7ee11230 100644 --- a/pype/hosts/maya/plugins/publish/validate_muster_connection.py +++ b/openpype/hosts/maya/plugins/publish/validate_muster_connection.py @@ -4,8 +4,8 @@ import appdirs import pyblish.api from avalon.vendor import requests -from pype.plugin import contextplugin_should_run -import pype.hosts.maya.api.action +from openpype.plugin import contextplugin_should_run +import openpype.hosts.maya.api.action class ValidateMusterConnection(pyblish.api.ContextPlugin): @@ -20,7 +20,7 @@ class ValidateMusterConnection(pyblish.api.ContextPlugin): token = None if not os.environ.get("MUSTER_REST_URL"): active = False - actions = [pype.api.RepairAction] + actions = [openpype.api.RepairAction] def process(self, context): diff --git a/pype/hosts/maya/plugins/publish/validate_no_animation.py b/openpype/hosts/maya/plugins/publish/validate_no_animation.py similarity index 84% rename from pype/hosts/maya/plugins/publish/validate_no_animation.py rename to openpype/hosts/maya/plugins/publish/validate_no_animation.py index a6daf3246e..6621e452f0 100644 --- a/pype/hosts/maya/plugins/publish/validate_no_animation.py +++ b/openpype/hosts/maya/plugins/publish/validate_no_animation.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateNoAnimation(pyblish.api.Validator): @@ -14,12 +14,12 @@ class ValidateNoAnimation(pyblish.api.Validator): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "No Animation" hosts = ["maya"] families = ["model"] optional = True - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_no_default_camera.py b/openpype/hosts/maya/plugins/publish/validate_no_default_camera.py similarity index 84% rename from pype/hosts/maya/plugins/publish/validate_no_default_camera.py rename to openpype/hosts/maya/plugins/publish/validate_no_default_camera.py index 07ec2e4325..c3f6f3c38e 100644 --- a/pype/hosts/maya/plugins/publish/validate_no_default_camera.py +++ b/openpype/hosts/maya/plugins/publish/validate_no_default_camera.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateNoDefaultCameras(pyblish.api.InstancePlugin): @@ -13,12 +13,12 @@ class ValidateNoDefaultCameras(pyblish.api.InstancePlugin): settings when being loaded and sometimes being skipped. """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['camera'] version = (0, 1, 0) label = "No Default Cameras" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_no_namespace.py b/openpype/hosts/maya/plugins/publish/validate_no_namespace.py similarity index 86% rename from pype/hosts/maya/plugins/publish/validate_no_namespace.py rename to openpype/hosts/maya/plugins/publish/validate_no_namespace.py index 97cd46e68a..5b3d6bc9c4 100644 --- a/pype/hosts/maya/plugins/publish/validate_no_namespace.py +++ b/openpype/hosts/maya/plugins/publish/validate_no_namespace.py @@ -2,8 +2,8 @@ import pymel.core as pm import maya.cmds as cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action def get_namespace(node_name): @@ -16,14 +16,14 @@ def get_namespace(node_name): class ValidateNoNamespace(pyblish.api.InstancePlugin): """Ensure the nodes don't have a namespace""" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['model'] category = 'cleanup' version = (0, 1, 0) label = 'No Namespaces' - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_no_null_transforms.py b/openpype/hosts/maya/plugins/publish/validate_no_null_transforms.py similarity index 90% rename from pype/hosts/maya/plugins/publish/validate_no_null_transforms.py rename to openpype/hosts/maya/plugins/publish/validate_no_null_transforms.py index 78f06bbbd8..36d61b03e8 100644 --- a/pype/hosts/maya/plugins/publish/validate_no_null_transforms.py +++ b/openpype/hosts/maya/plugins/publish/validate_no_null_transforms.py @@ -1,8 +1,8 @@ import maya.cmds as cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action def has_shape_children(node): @@ -37,14 +37,14 @@ class ValidateNoNullTransforms(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['model'] category = 'cleanup' version = (0, 1, 0) label = 'No Empty/Null Transforms' - actions = [pype.api.RepairAction, - pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.api.RepairAction, + openpype.hosts.maya.api.action.SelectInvalidAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_no_unknown_nodes.py b/openpype/hosts/maya/plugins/publish/validate_no_unknown_nodes.py similarity index 82% rename from pype/hosts/maya/plugins/publish/validate_no_unknown_nodes.py rename to openpype/hosts/maya/plugins/publish/validate_no_unknown_nodes.py index 6b2f1337d3..d140a1f24a 100644 --- a/pype/hosts/maya/plugins/publish/validate_no_unknown_nodes.py +++ b/openpype/hosts/maya/plugins/publish/validate_no_unknown_nodes.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateNoUnknownNodes(pyblish.api.InstancePlugin): @@ -16,12 +16,12 @@ class ValidateNoUnknownNodes(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['model', 'rig'] optional = True label = "Unknown Nodes" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_no_vraymesh.py b/openpype/hosts/maya/plugins/publish/validate_no_vraymesh.py similarity index 100% rename from pype/hosts/maya/plugins/publish/validate_no_vraymesh.py rename to openpype/hosts/maya/plugins/publish/validate_no_vraymesh.py diff --git a/pype/hosts/maya/plugins/publish/validate_node_ids.py b/openpype/hosts/maya/plugins/publish/validate_node_ids.py similarity index 81% rename from pype/hosts/maya/plugins/publish/validate_node_ids.py rename to openpype/hosts/maya/plugins/publish/validate_node_ids.py index 4942d44d70..d17d34117f 100644 --- a/pype/hosts/maya/plugins/publish/validate_node_ids.py +++ b/openpype/hosts/maya/plugins/publish/validate_node_ids.py @@ -1,8 +1,8 @@ import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib class ValidateNodeIDs(pyblish.api.InstancePlugin): @@ -14,7 +14,7 @@ class ValidateNodeIDs(pyblish.api.InstancePlugin): """ - order = pype.api.ValidatePipelineOrder + order = openpype.api.ValidatePipelineOrder label = 'Instance Nodes Have ID' hosts = ['maya'] families = ["model", @@ -25,8 +25,8 @@ class ValidateNodeIDs(pyblish.api.InstancePlugin): "yetiRig", "assembly"] - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] def process(self, instance): """Process all meshes""" diff --git a/pype/hosts/maya/plugins/publish/validate_node_ids_deformed_shapes.py b/openpype/hosts/maya/plugins/publish/validate_node_ids_deformed_shapes.py similarity index 89% rename from pype/hosts/maya/plugins/publish/validate_node_ids_deformed_shapes.py rename to openpype/hosts/maya/plugins/publish/validate_node_ids_deformed_shapes.py index 757414a074..a4d4d2bcc2 100644 --- a/pype/hosts/maya/plugins/publish/validate_node_ids_deformed_shapes.py +++ b/openpype/hosts/maya/plugins/publish/validate_node_ids_deformed_shapes.py @@ -1,9 +1,9 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib class ValidateNodeIdsDeformedShape(pyblish.api.InstancePlugin): @@ -16,13 +16,13 @@ class ValidateNodeIdsDeformedShape(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ['look'] hosts = ['maya'] label = 'Deformed shape ids' actions = [ - pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction + openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction ] def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_node_ids_in_database.py b/openpype/hosts/maya/plugins/publish/validate_node_ids_in_database.py similarity index 85% rename from pype/hosts/maya/plugins/publish/validate_node_ids_in_database.py rename to openpype/hosts/maya/plugins/publish/validate_node_ids_in_database.py index 154d0c1d38..c5f675c8ca 100644 --- a/pype/hosts/maya/plugins/publish/validate_node_ids_in_database.py +++ b/openpype/hosts/maya/plugins/publish/validate_node_ids_in_database.py @@ -2,9 +2,9 @@ import pyblish.api from avalon import io -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib class ValidateNodeIdsInDatabase(pyblish.api.InstancePlugin): @@ -18,13 +18,13 @@ class ValidateNodeIdsInDatabase(pyblish.api.InstancePlugin): """ - order = pype.api.ValidatePipelineOrder + order = openpype.api.ValidatePipelineOrder label = 'Node Ids in Database' hosts = ['maya'] families = ["*"] - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] def process(self, instance): invalid = self.get_invalid(instance) diff --git a/pype/hosts/maya/plugins/publish/validate_node_ids_related.py b/openpype/hosts/maya/plugins/publish/validate_node_ids_related.py similarity index 84% rename from pype/hosts/maya/plugins/publish/validate_node_ids_related.py rename to openpype/hosts/maya/plugins/publish/validate_node_ids_related.py index 390e5c157a..276b6713f4 100644 --- a/pype/hosts/maya/plugins/publish/validate_node_ids_related.py +++ b/openpype/hosts/maya/plugins/publish/validate_node_ids_related.py @@ -1,10 +1,10 @@ import pyblish.api -import pype.api +import openpype.api from avalon import io -import pype.hosts.maya.api.action +import openpype.hosts.maya.api.action -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib class ValidateNodeIDsRelated(pyblish.api.InstancePlugin): @@ -12,7 +12,7 @@ class ValidateNodeIDsRelated(pyblish.api.InstancePlugin): """ - order = pype.api.ValidatePipelineOrder + order = openpype.api.ValidatePipelineOrder label = 'Node Ids Related (ID)' hosts = ['maya'] families = ["model", @@ -20,8 +20,8 @@ class ValidateNodeIDsRelated(pyblish.api.InstancePlugin): "rig"] optional = True - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] def process(self, instance): """Process all nodes in instance (including hierarchy)""" diff --git a/pype/hosts/maya/plugins/publish/validate_node_ids_unique.py b/openpype/hosts/maya/plugins/publish/validate_node_ids_unique.py similarity index 85% rename from pype/hosts/maya/plugins/publish/validate_node_ids_unique.py rename to openpype/hosts/maya/plugins/publish/validate_node_ids_unique.py index 20320854f0..39bb148911 100644 --- a/pype/hosts/maya/plugins/publish/validate_node_ids_unique.py +++ b/openpype/hosts/maya/plugins/publish/validate_node_ids_unique.py @@ -1,9 +1,9 @@ from collections import defaultdict import pyblish.api -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib class ValidateNodeIdsUnique(pyblish.api.InstancePlugin): @@ -12,7 +12,7 @@ class ValidateNodeIdsUnique(pyblish.api.InstancePlugin): Here we ensure that what has been added to the instance is unique """ - order = pype.api.ValidatePipelineOrder + order = openpype.api.ValidatePipelineOrder label = 'Non Duplicate Instance Members (ID)' hosts = ['maya'] families = ["model", @@ -20,8 +20,8 @@ class ValidateNodeIdsUnique(pyblish.api.InstancePlugin): "rig", "yetiRig"] - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.hosts.maya.api.action.GenerateUUIDsOnInvalidAction] def process(self, instance): """Process all meshes""" diff --git a/pype/hosts/maya/plugins/publish/validate_node_no_ghosting.py b/openpype/hosts/maya/plugins/publish/validate_node_no_ghosting.py similarity index 89% rename from pype/hosts/maya/plugins/publish/validate_node_no_ghosting.py rename to openpype/hosts/maya/plugins/publish/validate_node_no_ghosting.py index 3acd5b027d..671c744a22 100644 --- a/pype/hosts/maya/plugins/publish/validate_node_no_ghosting.py +++ b/openpype/hosts/maya/plugins/publish/validate_node_no_ghosting.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateNodeNoGhosting(pyblish.api.InstancePlugin): @@ -17,11 +17,11 @@ class ValidateNodeNoGhosting(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['model', 'rig'] label = "No Ghosting" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] _attributes = {'ghosting': 0} diff --git a/pype/hosts/maya/plugins/publish/validate_render_image_rule.py b/openpype/hosts/maya/plugins/publish/validate_render_image_rule.py similarity index 87% rename from pype/hosts/maya/plugins/publish/validate_render_image_rule.py rename to openpype/hosts/maya/plugins/publish/validate_render_image_rule.py index c05a15ab77..dad1691149 100644 --- a/pype/hosts/maya/plugins/publish/validate_render_image_rule.py +++ b/openpype/hosts/maya/plugins/publish/validate_render_image_rule.py @@ -2,7 +2,7 @@ import maya.mel as mel import pymel.core as pm import pyblish.api -import pype.api +import openpype.api def get_file_rule(rule): @@ -15,11 +15,11 @@ class ValidateRenderImageRule(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "Images File Rule (Workspace)" hosts = ["maya"] families = ["renderlayer"] - actions = [pype.api.RepairAction] + actions = [openpype.api.RepairAction] def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_render_no_default_cameras.py b/openpype/hosts/maya/plugins/publish/validate_render_no_default_cameras.py similarity index 84% rename from pype/hosts/maya/plugins/publish/validate_render_no_default_cameras.py rename to openpype/hosts/maya/plugins/publish/validate_render_no_default_cameras.py index 38383310a2..044cc7c6a2 100644 --- a/pype/hosts/maya/plugins/publish/validate_render_no_default_cameras.py +++ b/openpype/hosts/maya/plugins/publish/validate_render_no_default_cameras.py @@ -1,18 +1,18 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateRenderNoDefaultCameras(pyblish.api.InstancePlugin): """Ensure no default (startup) cameras are to be rendered.""" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['renderlayer'] label = "No Default Cameras Renderable" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_render_single_camera.py b/openpype/hosts/maya/plugins/publish/validate_render_single_camera.py similarity index 92% rename from pype/hosts/maya/plugins/publish/validate_render_single_camera.py rename to openpype/hosts/maya/plugins/publish/validate_render_single_camera.py index 268a6599e2..0838b4fbf8 100644 --- a/pype/hosts/maya/plugins/publish/validate_render_single_camera.py +++ b/openpype/hosts/maya/plugins/publish/validate_render_single_camera.py @@ -1,8 +1,8 @@ import re import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action from maya import cmds @@ -23,12 +23,12 @@ class ValidateRenderSingleCamera(pyblish.api.InstancePlugin): prefix must contain token. """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "Render Single Camera" hosts = ['maya'] families = ["renderlayer", "vrayscene"] - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] R_CAMERA_TOKEN = re.compile(r'%c|', re.IGNORECASE) diff --git a/pype/hosts/maya/plugins/publish/validate_renderlayer_aovs.py b/openpype/hosts/maya/plugins/publish/validate_renderlayer_aovs.py similarity index 92% rename from pype/hosts/maya/plugins/publish/validate_renderlayer_aovs.py rename to openpype/hosts/maya/plugins/publish/validate_renderlayer_aovs.py index 7fdd8b377c..4eb445ac68 100644 --- a/pype/hosts/maya/plugins/publish/validate_renderlayer_aovs.py +++ b/openpype/hosts/maya/plugins/publish/validate_renderlayer_aovs.py @@ -1,8 +1,8 @@ import pyblish.api -import pype.hosts.maya.api.action +import openpype.hosts.maya.api.action from avalon import io -import pype.api +import openpype.api class ValidateRenderLayerAOVs(pyblish.api.InstancePlugin): @@ -25,7 +25,7 @@ class ValidateRenderLayerAOVs(pyblish.api.InstancePlugin): label = "Render Passes / AOVs Are Registered" hosts = ["maya"] families = ["renderlayer"] - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): invalid = self.get_invalid(instance) diff --git a/pype/hosts/maya/plugins/publish/validate_rendersettings.py b/openpype/hosts/maya/plugins/publish/validate_rendersettings.py similarity index 98% rename from pype/hosts/maya/plugins/publish/validate_rendersettings.py rename to openpype/hosts/maya/plugins/publish/validate_rendersettings.py index 88a386db57..ba676bee83 100644 --- a/pype/hosts/maya/plugins/publish/validate_rendersettings.py +++ b/openpype/hosts/maya/plugins/publish/validate_rendersettings.py @@ -5,8 +5,8 @@ from maya import cmds, mel import pymel.core as pm import pyblish.api -import pype.api -from pype.hosts.maya.api import lib +import openpype.api +from openpype.hosts.maya.api import lib class ValidateRenderSettings(pyblish.api.InstancePlugin): @@ -38,11 +38,11 @@ class ValidateRenderSettings(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "Render Settings" hosts = ["maya"] families = ["renderlayer"] - actions = [pype.api.RepairAction] + actions = [openpype.api.RepairAction] ImagePrefixes = { 'mentalray': 'defaultRenderGlobals.imageFilePrefix', diff --git a/pype/hosts/maya/plugins/publish/validate_resources.py b/openpype/hosts/maya/plugins/publish/validate_resources.py similarity index 95% rename from pype/hosts/maya/plugins/publish/validate_resources.py rename to openpype/hosts/maya/plugins/publish/validate_resources.py index 47a94e7529..08f0f5467c 100644 --- a/pype/hosts/maya/plugins/publish/validate_resources.py +++ b/openpype/hosts/maya/plugins/publish/validate_resources.py @@ -2,7 +2,7 @@ import os from collections import defaultdict import pyblish.api -import pype.api +import openpype.api class ValidateResources(pyblish.api.InstancePlugin): @@ -17,7 +17,7 @@ class ValidateResources(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "Resources Unique" def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_rig_contents.py b/openpype/hosts/maya/plugins/publish/validate_rig_contents.py similarity index 98% rename from pype/hosts/maya/plugins/publish/validate_rig_contents.py rename to openpype/hosts/maya/plugins/publish/validate_rig_contents.py index 0a9616ba1f..4a6914ef90 100644 --- a/pype/hosts/maya/plugins/publish/validate_rig_contents.py +++ b/openpype/hosts/maya/plugins/publish/validate_rig_contents.py @@ -1,7 +1,7 @@ from maya import cmds import pyblish.api -import pype.api +import openpype.api class ValidateRigContents(pyblish.api.InstancePlugin): @@ -13,7 +13,7 @@ class ValidateRigContents(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "Rig Contents" hosts = ["maya"] families = ["rig"] diff --git a/pype/hosts/maya/plugins/publish/validate_rig_controllers.py b/openpype/hosts/maya/plugins/publish/validate_rig_controllers.py similarity index 96% rename from pype/hosts/maya/plugins/publish/validate_rig_controllers.py rename to openpype/hosts/maya/plugins/publish/validate_rig_controllers.py index ef0df2df7c..4e028d1d24 100644 --- a/pype/hosts/maya/plugins/publish/validate_rig_controllers.py +++ b/openpype/hosts/maya/plugins/publish/validate_rig_controllers.py @@ -2,9 +2,9 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api.lib import undo_chunk +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api.lib import undo_chunk class ValidateRigControllers(pyblish.api.InstancePlugin): @@ -25,12 +25,12 @@ class ValidateRigControllers(pyblish.api.InstancePlugin): - Break all incoming connections to keyable attributes """ - order = pype.api.ValidateContentsOrder + 0.05 + order = openpype.api.ValidateContentsOrder + 0.05 label = "Rig Controllers" hosts = ["maya"] families = ["rig"] - actions = [pype.api.RepairAction, - pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.api.RepairAction, + openpype.hosts.maya.api.action.SelectInvalidAction] # Default controller values CONTROLLER_DEFAULTS = { diff --git a/pype/hosts/maya/plugins/publish/validate_rig_controllers_arnold_attributes.py b/openpype/hosts/maya/plugins/publish/validate_rig_controllers_arnold_attributes.py similarity index 90% rename from pype/hosts/maya/plugins/publish/validate_rig_controllers_arnold_attributes.py rename to openpype/hosts/maya/plugins/publish/validate_rig_controllers_arnold_attributes.py index f19e3fbb61..1f1db9156b 100644 --- a/pype/hosts/maya/plugins/publish/validate_rig_controllers_arnold_attributes.py +++ b/openpype/hosts/maya/plugins/publish/validate_rig_controllers_arnold_attributes.py @@ -1,10 +1,10 @@ from maya import cmds import pyblish.api -import pype.api +import openpype.api -from pype.hosts.maya.api import lib -import pype.hosts.maya.api.action +from openpype.hosts.maya.api import lib +import openpype.hosts.maya.api.action class ValidateRigControllersArnoldAttributes(pyblish.api.InstancePlugin): @@ -26,12 +26,12 @@ class ValidateRigControllersArnoldAttributes(pyblish.api.InstancePlugin): This validator will ensure they are hidden or unkeyable attributes. """ - order = pype.api.ValidateContentsOrder + 0.05 + order = openpype.api.ValidateContentsOrder + 0.05 label = "Rig Controllers (Arnold Attributes)" hosts = ["maya"] families = ["rig"] - actions = [pype.api.RepairAction, - pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.api.RepairAction, + openpype.hosts.maya.api.action.SelectInvalidAction] attributes = [ "rcurve", diff --git a/pype/hosts/maya/plugins/publish/validate_rig_joints_hidden.py b/openpype/hosts/maya/plugins/publish/validate_rig_joints_hidden.py similarity index 79% rename from pype/hosts/maya/plugins/publish/validate_rig_joints_hidden.py rename to openpype/hosts/maya/plugins/publish/validate_rig_joints_hidden.py index a102df50de..5df754fff4 100644 --- a/pype/hosts/maya/plugins/publish/validate_rig_joints_hidden.py +++ b/openpype/hosts/maya/plugins/publish/validate_rig_joints_hidden.py @@ -1,9 +1,9 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib class ValidateRigJointsHidden(pyblish.api.InstancePlugin): @@ -17,13 +17,13 @@ class ValidateRigJointsHidden(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['rig'] version = (0, 1, 0) label = "Joints Hidden" - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] @staticmethod def get_invalid(instance): diff --git a/pype/hosts/maya/plugins/publish/validate_rig_out_set_node_ids.py b/openpype/hosts/maya/plugins/publish/validate_rig_out_set_node_ids.py similarity index 89% rename from pype/hosts/maya/plugins/publish/validate_rig_out_set_node_ids.py rename to openpype/hosts/maya/plugins/publish/validate_rig_out_set_node_ids.py index 1782395d96..e2090080f6 100644 --- a/pype/hosts/maya/plugins/publish/validate_rig_out_set_node_ids.py +++ b/openpype/hosts/maya/plugins/publish/validate_rig_out_set_node_ids.py @@ -1,9 +1,9 @@ import maya.cmds as cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action -from pype.hosts.maya.api import lib +import openpype.api +import openpype.hosts.maya.api.action +from openpype.hosts.maya.api import lib class ValidateRigOutSetNodeIds(pyblish.api.InstancePlugin): @@ -16,13 +16,13 @@ class ValidateRigOutSetNodeIds(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ["rig"] hosts = ['maya'] label = 'Rig Out Set Node Ids' actions = [ - pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction + openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction ] def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_rig_output_ids.py b/openpype/hosts/maya/plugins/publish/validate_rig_output_ids.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_rig_output_ids.py rename to openpype/hosts/maya/plugins/publish/validate_rig_output_ids.py index 37a50da910..7c5c540c60 100644 --- a/pype/hosts/maya/plugins/publish/validate_rig_output_ids.py +++ b/openpype/hosts/maya/plugins/publish/validate_rig_output_ids.py @@ -2,8 +2,8 @@ import pymel.core as pc import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateRigOutputIds(pyblish.api.InstancePlugin): @@ -13,12 +13,12 @@ class ValidateRigOutputIds(pyblish.api.InstancePlugin): to ensure the id from the model is preserved through animation. """ - order = pype.api.ValidateContentsOrder + 0.05 + order = openpype.api.ValidateContentsOrder + 0.05 label = "Rig Output Ids" hosts = ["maya"] families = ["rig"] - actions = [pype.api.RepairAction, - pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.api.RepairAction, + openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): invalid = self.get_invalid(instance, compute=True) diff --git a/pype/hosts/maya/plugins/publish/validate_scene_set_workspace.py b/openpype/hosts/maya/plugins/publish/validate_scene_set_workspace.py similarity index 95% rename from pype/hosts/maya/plugins/publish/validate_scene_set_workspace.py rename to openpype/hosts/maya/plugins/publish/validate_scene_set_workspace.py index bda397cf2a..174bc44a6f 100644 --- a/pype/hosts/maya/plugins/publish/validate_scene_set_workspace.py +++ b/openpype/hosts/maya/plugins/publish/validate_scene_set_workspace.py @@ -3,7 +3,7 @@ import os import maya.cmds as cmds import pyblish.api -import pype.api +import openpype.api def is_subdir(path, root_dir): @@ -28,7 +28,7 @@ def is_subdir(path, root_dir): class ValidateSceneSetWorkspace(pyblish.api.ContextPlugin): """Validate the scene is inside the currently set Maya workspace""" - order = pype.api.ValidatePipelineOrder + order = openpype.api.ValidatePipelineOrder hosts = ['maya'] category = 'scene' version = (0, 1, 0) diff --git a/pype/hosts/maya/plugins/publish/validate_shader_name.py b/openpype/hosts/maya/plugins/publish/validate_shader_name.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_shader_name.py rename to openpype/hosts/maya/plugins/publish/validate_shader_name.py index a2951d5551..24111f0ad4 100644 --- a/pype/hosts/maya/plugins/publish/validate_shader_name.py +++ b/openpype/hosts/maya/plugins/publish/validate_shader_name.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action import re @@ -13,11 +13,11 @@ class ValidateShaderName(pyblish.api.InstancePlugin): """ optional = True - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ["look"] hosts = ['maya'] label = 'Validate Shaders Name' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] regex = r'(?P.*)_(.*)_SHD' # The default connections to check diff --git a/pype/hosts/maya/plugins/publish/validate_shape_default_names.py b/openpype/hosts/maya/plugins/publish/validate_shape_default_names.py similarity index 92% rename from pype/hosts/maya/plugins/publish/validate_shape_default_names.py rename to openpype/hosts/maya/plugins/publish/validate_shape_default_names.py index cd4e9905d9..e08e06b50e 100644 --- a/pype/hosts/maya/plugins/publish/validate_shape_default_names.py +++ b/openpype/hosts/maya/plugins/publish/validate_shape_default_names.py @@ -3,8 +3,8 @@ import re from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action def short_name(node): @@ -31,15 +31,15 @@ class ValidateShapeDefaultNames(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['model'] category = 'cleanup' optional = True version = (0, 1, 0) label = "Shape Default Naming" - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] @staticmethod def _define_default_name(shape): diff --git a/pype/hosts/maya/plugins/publish/validate_shape_render_stats.py b/openpype/hosts/maya/plugins/publish/validate_shape_render_stats.py similarity index 89% rename from pype/hosts/maya/plugins/publish/validate_shape_render_stats.py rename to openpype/hosts/maya/plugins/publish/validate_shape_render_stats.py index c94becabe9..667a1f13be 100644 --- a/pype/hosts/maya/plugins/publish/validate_shape_render_stats.py +++ b/openpype/hosts/maya/plugins/publish/validate_shape_render_stats.py @@ -1,20 +1,20 @@ import pyblish.api -import pype.api +import openpype.api from maya import cmds -import pype.hosts.maya.api.action +import openpype.hosts.maya.api.action class ValidateShapeRenderStats(pyblish.api.Validator): """Ensure all render stats are set to the default values.""" - order = pype.api.ValidateMeshOrder + order = openpype.api.ValidateMeshOrder hosts = ['maya'] families = ['model'] label = 'Shape Default Render Stats' - actions = [pype.hosts.maya.api.action.SelectInvalidAction, - pype.api.RepairAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction, + openpype.api.RepairAction] defaults = {'castsShadows': 1, 'receiveShadows': 1, diff --git a/pype/hosts/maya/plugins/publish/validate_single_assembly.py b/openpype/hosts/maya/plugins/publish/validate_single_assembly.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_single_assembly.py rename to openpype/hosts/maya/plugins/publish/validate_single_assembly.py index 6f40dfbfd2..9fb3a47e6d 100644 --- a/pype/hosts/maya/plugins/publish/validate_single_assembly.py +++ b/openpype/hosts/maya/plugins/publish/validate_single_assembly.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidateSingleAssembly(pyblish.api.InstancePlugin): @@ -17,7 +17,7 @@ class ValidateSingleAssembly(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['rig', 'animation'] label = 'Single Assembly' diff --git a/pype/hosts/maya/plugins/publish/validate_skinCluster_deformer_set.py b/openpype/hosts/maya/plugins/publish/validate_skinCluster_deformer_set.py similarity index 93% rename from pype/hosts/maya/plugins/publish/validate_skinCluster_deformer_set.py rename to openpype/hosts/maya/plugins/publish/validate_skinCluster_deformer_set.py index 2d28d26b0f..8c804786f3 100644 --- a/pype/hosts/maya/plugins/publish/validate_skinCluster_deformer_set.py +++ b/openpype/hosts/maya/plugins/publish/validate_skinCluster_deformer_set.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateSkinclusterDeformerSet(pyblish.api.InstancePlugin): @@ -14,11 +14,11 @@ class ValidateSkinclusterDeformerSet(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['fbx'] label = "Skincluster Deformer Relationships" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): """Process all the transform nodes in the instance""" diff --git a/pype/hosts/maya/plugins/publish/validate_step_size.py b/openpype/hosts/maya/plugins/publish/validate_step_size.py similarity index 85% rename from pype/hosts/maya/plugins/publish/validate_step_size.py rename to openpype/hosts/maya/plugins/publish/validate_step_size.py index 502a1c37c2..172ac5f26e 100644 --- a/pype/hosts/maya/plugins/publish/validate_step_size.py +++ b/openpype/hosts/maya/plugins/publish/validate_step_size.py @@ -1,6 +1,6 @@ import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateStepSize(pyblish.api.InstancePlugin): @@ -10,12 +10,12 @@ class ValidateStepSize(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = 'Step size' families = ['camera', 'pointcache', 'animation'] - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] MIN = 0.01 MAX = 1.0 diff --git a/pype/hosts/maya/plugins/publish/validate_transform_naming_suffix.py b/openpype/hosts/maya/plugins/publish/validate_transform_naming_suffix.py similarity index 95% rename from pype/hosts/maya/plugins/publish/validate_transform_naming_suffix.py rename to openpype/hosts/maya/plugins/publish/validate_transform_naming_suffix.py index bd290c73c7..6f5ff24b9c 100644 --- a/pype/hosts/maya/plugins/publish/validate_transform_naming_suffix.py +++ b/openpype/hosts/maya/plugins/publish/validate_transform_naming_suffix.py @@ -3,8 +3,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateTransformNamingSuffix(pyblish.api.InstancePlugin): @@ -27,14 +27,14 @@ class ValidateTransformNamingSuffix(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ['maya'] families = ['model'] category = 'cleanup' optional = True version = (0, 1, 0) label = 'Suffix Naming Conventions' - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] SUFFIX_NAMING_TABLE = {"mesh": ["_GEO", "_GES", "_GEP", "_OSD"], "nurbsCurve": ["_CRV"], "nurbsSurface": ["_NRB"], diff --git a/pype/hosts/maya/plugins/publish/validate_transform_zero.py b/openpype/hosts/maya/plugins/publish/validate_transform_zero.py similarity index 91% rename from pype/hosts/maya/plugins/publish/validate_transform_zero.py rename to openpype/hosts/maya/plugins/publish/validate_transform_zero.py index 0cecc3124b..fdd09658d1 100644 --- a/pype/hosts/maya/plugins/publish/validate_transform_zero.py +++ b/openpype/hosts/maya/plugins/publish/validate_transform_zero.py @@ -1,8 +1,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateTransformZero(pyblish.api.Validator): @@ -14,13 +14,13 @@ class ValidateTransformZero(pyblish.api.Validator): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ["maya"] families = ["model"] category = "geometry" version = (0, 1, 0) label = "Transform Zero (Freeze)" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] _identity = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, diff --git a/pype/hosts/maya/plugins/publish/validate_unreal_mesh_triangulated.py b/openpype/hosts/maya/plugins/publish/validate_unreal_mesh_triangulated.py similarity index 86% rename from pype/hosts/maya/plugins/publish/validate_unreal_mesh_triangulated.py rename to openpype/hosts/maya/plugins/publish/validate_unreal_mesh_triangulated.py index 9011b584fe..1c6aa3078e 100644 --- a/pype/hosts/maya/plugins/publish/validate_unreal_mesh_triangulated.py +++ b/openpype/hosts/maya/plugins/publish/validate_unreal_mesh_triangulated.py @@ -2,18 +2,18 @@ from maya import cmds import pyblish.api -import pype.api +import openpype.api class ValidateUnrealMeshTriangulated(pyblish.api.InstancePlugin): """Validate if mesh is made of triangles for Unreal Engine""" - order = pype.api.ValidateMeshOder + order = openpype.api.ValidateMeshOder hosts = ["maya"] families = ["unrealStaticMesh"] category = "geometry" label = "Mesh is Triangulated" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] @classmethod def get_invalid(cls, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_unreal_staticmesh_naming.py b/openpype/hosts/maya/plugins/publish/validate_unreal_staticmesh_naming.py similarity index 96% rename from pype/hosts/maya/plugins/publish/validate_unreal_staticmesh_naming.py rename to openpype/hosts/maya/plugins/publish/validate_unreal_staticmesh_naming.py index 8bda849b3f..99d6cfd4c5 100644 --- a/pype/hosts/maya/plugins/publish/validate_unreal_staticmesh_naming.py +++ b/openpype/hosts/maya/plugins/publish/validate_unreal_staticmesh_naming.py @@ -2,8 +2,8 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action import re @@ -47,11 +47,11 @@ class ValidateUnrealStaticmeshName(pyblish.api.InstancePlugin): """ optional = True - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ["maya"] families = ["unrealStaticMesh"] label = "Unreal StaticMesh Name" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] regex_mesh = r"SM_(?P.*)_(\d{2})" regex_collision = r"((UBX)|(UCP)|(USP)|(UCX))_(?P.*)_(\d{2})" diff --git a/pype/hosts/maya/plugins/publish/validate_unreal_up_axis.py b/openpype/hosts/maya/plugins/publish/validate_unreal_up_axis.py similarity index 82% rename from pype/hosts/maya/plugins/publish/validate_unreal_up_axis.py rename to openpype/hosts/maya/plugins/publish/validate_unreal_up_axis.py index 6641edb4a5..5a8c29c22d 100644 --- a/pype/hosts/maya/plugins/publish/validate_unreal_up_axis.py +++ b/openpype/hosts/maya/plugins/publish/validate_unreal_up_axis.py @@ -2,18 +2,18 @@ from maya import cmds import pyblish.api -import pype.api +import openpype.api class ValidateUnrealUpAxis(pyblish.api.ContextPlugin): """Validate if Z is set as up axis in Maya""" optional = True - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ["maya"] families = ["unrealStaticMesh"] label = "Unreal Up-Axis check" - actions = [pype.api.RepairAction] + actions = [openpype.api.RepairAction] def process(self, context): assert cmds.upAxis(q=True, axis=True) == "z", ( diff --git a/pype/hosts/maya/plugins/publish/validate_vray_distributed_rendering.py b/openpype/hosts/maya/plugins/publish/validate_vray_distributed_rendering.py similarity index 92% rename from pype/hosts/maya/plugins/publish/validate_vray_distributed_rendering.py rename to openpype/hosts/maya/plugins/publish/validate_vray_distributed_rendering.py index 0c3086fee0..5e35565383 100644 --- a/pype/hosts/maya/plugins/publish/validate_vray_distributed_rendering.py +++ b/openpype/hosts/maya/plugins/publish/validate_vray_distributed_rendering.py @@ -1,6 +1,6 @@ import pyblish.api -import pype.api -from pype.hosts.maya.api import lib +import openpype.api +from openpype.hosts.maya.api import lib from maya import cmds @@ -15,10 +15,10 @@ class ValidateVRayDistributedRendering(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "VRay Distributed Rendering" families = ["renderlayer"] - actions = [pype.api.RepairAction] + actions = [openpype.api.RepairAction] # V-Ray attribute names enabled_attr = "vraySettings.sys_distributed_rendering_on" diff --git a/pype/hosts/maya/plugins/publish/validate_vray_referenced_aovs.py b/openpype/hosts/maya/plugins/publish/validate_vray_referenced_aovs.py similarity index 97% rename from pype/hosts/maya/plugins/publish/validate_vray_referenced_aovs.py rename to openpype/hosts/maya/plugins/publish/validate_vray_referenced_aovs.py index f451a08b0b..6cfbd4049b 100644 --- a/pype/hosts/maya/plugins/publish/validate_vray_referenced_aovs.py +++ b/openpype/hosts/maya/plugins/publish/validate_vray_referenced_aovs.py @@ -4,7 +4,7 @@ import pyblish.api import types from maya import cmds -import pype.hosts.maya.api.action +import openpype.hosts.maya.api.action class ValidateVrayReferencedAOVs(pyblish.api.InstancePlugin): @@ -20,7 +20,7 @@ class ValidateVrayReferencedAOVs(pyblish.api.InstancePlugin): label = 'VRay Referenced AOVs' hosts = ['maya'] families = ['renderlayer'] - actions = [pype.api.RepairContextAction] + actions = [openpype.api.RepairContextAction] def process(self, instance): """Plugin main entry point.""" diff --git a/pype/hosts/maya/plugins/publish/validate_vray_translator_settings.py b/openpype/hosts/maya/plugins/publish/validate_vray_translator_settings.py similarity index 94% rename from pype/hosts/maya/plugins/publish/validate_vray_translator_settings.py rename to openpype/hosts/maya/plugins/publish/validate_vray_translator_settings.py index fb290a2d5d..1deabde4a2 100644 --- a/pype/hosts/maya/plugins/publish/validate_vray_translator_settings.py +++ b/openpype/hosts/maya/plugins/publish/validate_vray_translator_settings.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- """Validate VRay Translator settings.""" import pyblish.api -import pype.api -from pype.plugin import contextplugin_should_run +import openpype.api +from openpype.plugin import contextplugin_should_run from maya import cmds @@ -10,10 +10,10 @@ from maya import cmds class ValidateVRayTranslatorEnabled(pyblish.api.ContextPlugin): """Validate VRay Translator settings for extracting vrscenes.""" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "VRay Translator Settings" families = ["vrayscene_layer"] - actions = [pype.api.RepairContextAction] + actions = [openpype.api.RepairContextAction] def process(self, context): """Plugin entry point.""" diff --git a/pype/hosts/maya/plugins/publish/validate_vrayproxy.py b/openpype/hosts/maya/plugins/publish/validate_vrayproxy.py similarity index 100% rename from pype/hosts/maya/plugins/publish/validate_vrayproxy.py rename to openpype/hosts/maya/plugins/publish/validate_vrayproxy.py diff --git a/pype/hosts/maya/plugins/publish/validate_vrayproxy_members.py b/openpype/hosts/maya/plugins/publish/validate_vrayproxy_members.py similarity index 87% rename from pype/hosts/maya/plugins/publish/validate_vrayproxy_members.py rename to openpype/hosts/maya/plugins/publish/validate_vrayproxy_members.py index 829c2d67ae..b94e5cbbed 100644 --- a/pype/hosts/maya/plugins/publish/validate_vrayproxy_members.py +++ b/openpype/hosts/maya/plugins/publish/validate_vrayproxy_members.py @@ -1,9 +1,9 @@ import pyblish.api -import pype.api +import openpype.api from maya import cmds -import pype.hosts.maya.api.action +import openpype.hosts.maya.api.action class ValidateVrayProxyMembers(pyblish.api.InstancePlugin): @@ -13,7 +13,7 @@ class ValidateVrayProxyMembers(pyblish.api.InstancePlugin): label = 'VRay Proxy Members' hosts = ['maya'] families = ['vrayproxy'] - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_yeti_renderscript_callbacks.py b/openpype/hosts/maya/plugins/publish/validate_yeti_renderscript_callbacks.py similarity index 98% rename from pype/hosts/maya/plugins/publish/validate_yeti_renderscript_callbacks.py rename to openpype/hosts/maya/plugins/publish/validate_yeti_renderscript_callbacks.py index cd9b0754b3..79cd09315e 100644 --- a/pype/hosts/maya/plugins/publish/validate_yeti_renderscript_callbacks.py +++ b/openpype/hosts/maya/plugins/publish/validate_yeti_renderscript_callbacks.py @@ -1,7 +1,7 @@ from maya import cmds import pyblish.api -import pype.api +import openpype.api class ValidateYetiRenderScriptCallbacks(pyblish.api.InstancePlugin): @@ -20,7 +20,7 @@ class ValidateYetiRenderScriptCallbacks(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "Yeti Render Script Callbacks" hosts = ["maya"] families = ["renderlayer"] diff --git a/pype/hosts/maya/plugins/publish/validate_yeti_rig_cache_state.py b/openpype/hosts/maya/plugins/publish/validate_yeti_rig_cache_state.py similarity index 90% rename from pype/hosts/maya/plugins/publish/validate_yeti_rig_cache_state.py rename to openpype/hosts/maya/plugins/publish/validate_yeti_rig_cache_state.py index 7eb3153d1e..5610733577 100644 --- a/pype/hosts/maya/plugins/publish/validate_yeti_rig_cache_state.py +++ b/openpype/hosts/maya/plugins/publish/validate_yeti_rig_cache_state.py @@ -1,7 +1,7 @@ import pyblish.api -import pype.action +import openpype.action import maya.cmds as cmds -import pype.hosts.maya.api.action +import openpype.hosts.maya.api.action class ValidateYetiRigCacheState(pyblish.api.InstancePlugin): @@ -17,8 +17,8 @@ class ValidateYetiRigCacheState(pyblish.api.InstancePlugin): label = "Yeti Rig Cache State" hosts = ["maya"] families = ["yetiRig"] - actions = [pype.action.RepairAction, - pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.action.RepairAction, + openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): invalid = self.get_invalid(instance) diff --git a/pype/hosts/maya/plugins/publish/validate_yeti_rig_input_in_instance.py b/openpype/hosts/maya/plugins/publish/validate_yeti_rig_input_in_instance.py similarity index 88% rename from pype/hosts/maya/plugins/publish/validate_yeti_rig_input_in_instance.py rename to openpype/hosts/maya/plugins/publish/validate_yeti_rig_input_in_instance.py index c0bd46efc1..651c8da849 100644 --- a/pype/hosts/maya/plugins/publish/validate_yeti_rig_input_in_instance.py +++ b/openpype/hosts/maya/plugins/publish/validate_yeti_rig_input_in_instance.py @@ -1,18 +1,18 @@ from maya import cmds import pyblish.api -import pype.api -import pype.hosts.maya.api.action +import openpype.api +import openpype.hosts.maya.api.action class ValidateYetiRigInputShapesInInstance(pyblish.api.Validator): """Validate if all input nodes are part of the instance's hierarchy""" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder hosts = ["maya"] families = ["yetiRig"] label = "Yeti Rig Input Shapes In Instance" - actions = [pype.hosts.maya.api.action.SelectInvalidAction] + actions = [openpype.hosts.maya.api.action.SelectInvalidAction] def process(self, instance): diff --git a/pype/hosts/maya/plugins/publish/validate_yeti_rig_settings.py b/openpype/hosts/maya/plugins/publish/validate_yeti_rig_settings.py similarity index 100% rename from pype/hosts/maya/plugins/publish/validate_yeti_rig_settings.py rename to openpype/hosts/maya/plugins/publish/validate_yeti_rig_settings.py diff --git a/pype/hosts/maya/resources/workspace.mel b/openpype/hosts/maya/resources/workspace.mel similarity index 100% rename from pype/hosts/maya/resources/workspace.mel rename to openpype/hosts/maya/resources/workspace.mel diff --git a/pype/hosts/maya/startup/userSetup.py b/openpype/hosts/maya/startup/userSetup.py similarity index 89% rename from pype/hosts/maya/startup/userSetup.py rename to openpype/hosts/maya/startup/userSetup.py index 66205afbdc..d556a89fa3 100644 --- a/pype/hosts/maya/startup/userSetup.py +++ b/openpype/hosts/maya/startup/userSetup.py @@ -1,6 +1,6 @@ import os -from pype.api import get_project_settings -import pype.hosts.maya.api.lib as mlib +from openpype.api import get_project_settings +import openpype.hosts.maya.api.lib as mlib from maya import cmds diff --git a/pype/hosts/nuke/__init__.py b/openpype/hosts/nuke/__init__.py similarity index 100% rename from pype/hosts/nuke/__init__.py rename to openpype/hosts/nuke/__init__.py diff --git a/pype/hosts/nuke/api/__init__.py b/openpype/hosts/nuke/api/__init__.py similarity index 95% rename from pype/hosts/nuke/api/__init__.py rename to openpype/hosts/nuke/api/__init__.py index 6bf1ce888a..25504aa12b 100644 --- a/pype/hosts/nuke/api/__init__.py +++ b/openpype/hosts/nuke/api/__init__.py @@ -3,10 +3,10 @@ import sys import nuke from avalon import api as avalon -from pype.tools import workfiles +from openpype.tools import workfiles from pyblish import api as pyblish -from pype.api import Logger -import pype.hosts.nuke +from openpype.api import Logger +import openpype.hosts.nuke from . import lib, menu @@ -15,7 +15,7 @@ self.workfiles_launched = False log = Logger().get_logger(__name__) AVALON_CONFIG = os.getenv("AVALON_CONFIG", "pype") -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.nuke.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.nuke.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") LOAD_PATH = os.path.join(PLUGINS_DIR, "load") diff --git a/pype/hosts/nuke/api/actions.py b/openpype/hosts/nuke/api/actions.py similarity index 96% rename from pype/hosts/nuke/api/actions.py rename to openpype/hosts/nuke/api/actions.py index f5d5ffb143..fd18c787c4 100644 --- a/pype/hosts/nuke/api/actions.py +++ b/openpype/hosts/nuke/api/actions.py @@ -5,7 +5,7 @@ from avalon.nuke.lib import ( select_nodes ) -from pype.api import get_errored_instances_from_context +from openpype.api import get_errored_instances_from_context class SelectInvalidAction(pyblish.api.Action): diff --git a/pype/hosts/nuke/api/lib.py b/openpype/hosts/nuke/api/lib.py similarity index 99% rename from pype/hosts/nuke/api/lib.py rename to openpype/hosts/nuke/api/lib.py index dbcf571b06..8618b03cdc 100644 --- a/pype/hosts/nuke/api/lib.py +++ b/openpype/hosts/nuke/api/lib.py @@ -6,7 +6,7 @@ from collections import OrderedDict from avalon import api, io, lib import avalon.nuke from avalon.nuke import lib as anlib -from pype.api import ( +from openpype.api import ( Logger, Anatomy, get_version_from_path, diff --git a/pype/hosts/nuke/api/menu.py b/openpype/hosts/nuke/api/menu.py similarity index 96% rename from pype/hosts/nuke/api/menu.py rename to openpype/hosts/nuke/api/menu.py index 802d17d1ed..2317066528 100644 --- a/pype/hosts/nuke/api/menu.py +++ b/openpype/hosts/nuke/api/menu.py @@ -3,8 +3,8 @@ import nuke from avalon.api import Session from .lib import WorkfileSettings -from pype.api import Logger, BuildWorkfile, get_current_project_settings -from pype.tools import workfiles +from openpype.api import Logger, BuildWorkfile, get_current_project_settings +from openpype.tools import workfiles log = Logger().get_logger(__name__) diff --git a/pype/hosts/nuke/api/plugin.py b/openpype/hosts/nuke/api/plugin.py similarity index 96% rename from pype/hosts/nuke/api/plugin.py rename to openpype/hosts/nuke/api/plugin.py index 1b3e3419c6..0ad98146b1 100644 --- a/pype/hosts/nuke/api/plugin.py +++ b/openpype/hosts/nuke/api/plugin.py @@ -1,5 +1,5 @@ import avalon.nuke -from pype.api import ( +from openpype.api import ( get_current_project_settings, PypeCreatorMixin ) diff --git a/pype/hosts/nuke/api/utils.py b/openpype/hosts/nuke/api/utils.py similarity index 98% rename from pype/hosts/nuke/api/utils.py rename to openpype/hosts/nuke/api/utils.py index e14b03d453..e43c11a380 100644 --- a/pype/hosts/nuke/api/utils.py +++ b/openpype/hosts/nuke/api/utils.py @@ -1,7 +1,7 @@ import os import nuke from avalon.nuke import lib as anlib -from pype.api import resources +from openpype.api import resources def set_context_favorites(favorites=None): diff --git a/pype/hosts/nuke/plugins/create/create_backdrop.py b/openpype/hosts/nuke/plugins/create/create_backdrop.py similarity index 97% rename from pype/hosts/nuke/plugins/create/create_backdrop.py rename to openpype/hosts/nuke/plugins/create/create_backdrop.py index 00539ceeaa..cda2629587 100644 --- a/pype/hosts/nuke/plugins/create/create_backdrop.py +++ b/openpype/hosts/nuke/plugins/create/create_backdrop.py @@ -1,5 +1,5 @@ from avalon.nuke import lib as anlib -from pype.hosts.nuke.api import plugin +from openpype.hosts.nuke.api import plugin import nuke diff --git a/pype/hosts/nuke/plugins/create/create_camera.py b/openpype/hosts/nuke/plugins/create/create_camera.py similarity index 97% rename from pype/hosts/nuke/plugins/create/create_camera.py rename to openpype/hosts/nuke/plugins/create/create_camera.py index 51278c6f91..359086d48f 100644 --- a/pype/hosts/nuke/plugins/create/create_camera.py +++ b/openpype/hosts/nuke/plugins/create/create_camera.py @@ -1,5 +1,5 @@ from avalon.nuke import lib as anlib -from pype.hosts.nuke.api import plugin +from openpype.hosts.nuke.api import plugin import nuke diff --git a/pype/hosts/nuke/plugins/create/create_gizmo.py b/openpype/hosts/nuke/plugins/create/create_gizmo.py similarity index 98% rename from pype/hosts/nuke/plugins/create/create_gizmo.py rename to openpype/hosts/nuke/plugins/create/create_gizmo.py index c3afbe22f2..c59713cff1 100644 --- a/pype/hosts/nuke/plugins/create/create_gizmo.py +++ b/openpype/hosts/nuke/plugins/create/create_gizmo.py @@ -1,5 +1,5 @@ from avalon.nuke import lib as anlib -from pype.hosts.nuke.api import plugin +from openpype.hosts.nuke.api import plugin import nuke diff --git a/pype/hosts/nuke/plugins/create/create_read.py b/openpype/hosts/nuke/plugins/create/create_read.py similarity index 95% rename from pype/hosts/nuke/plugins/create/create_read.py rename to openpype/hosts/nuke/plugins/create/create_read.py index d0912b46fa..bf5de23346 100644 --- a/pype/hosts/nuke/plugins/create/create_read.py +++ b/openpype/hosts/nuke/plugins/create/create_read.py @@ -1,8 +1,8 @@ from collections import OrderedDict import avalon.api import avalon.nuke -from pype import api as pype -from pype.hosts.nuke.api import plugin +from openpype import api as pype +from openpype.hosts.nuke.api import plugin import nuke diff --git a/pype/hosts/nuke/plugins/create/create_write_prerender.py b/openpype/hosts/nuke/plugins/create/create_write_prerender.py similarity index 99% rename from pype/hosts/nuke/plugins/create/create_write_prerender.py rename to openpype/hosts/nuke/plugins/create/create_write_prerender.py index d1969c7fba..38d1a0c2ed 100644 --- a/pype/hosts/nuke/plugins/create/create_write_prerender.py +++ b/openpype/hosts/nuke/plugins/create/create_write_prerender.py @@ -1,5 +1,5 @@ from collections import OrderedDict -from pype.hosts.nuke.api import ( +from openpype.hosts.nuke.api import ( plugin, lib) import nuke diff --git a/pype/hosts/nuke/plugins/create/create_write_render.py b/openpype/hosts/nuke/plugins/create/create_write_render.py similarity index 98% rename from pype/hosts/nuke/plugins/create/create_write_render.py rename to openpype/hosts/nuke/plugins/create/create_write_render.py index 60db8800dd..72f851f19c 100644 --- a/pype/hosts/nuke/plugins/create/create_write_render.py +++ b/openpype/hosts/nuke/plugins/create/create_write_render.py @@ -1,5 +1,5 @@ from collections import OrderedDict -from pype.hosts.nuke.api import ( +from openpype.hosts.nuke.api import ( plugin, lib) import nuke diff --git a/pype/hosts/nuke/plugins/inventory/select_containers.py b/openpype/hosts/nuke/plugins/inventory/select_containers.py similarity index 100% rename from pype/hosts/nuke/plugins/inventory/select_containers.py rename to openpype/hosts/nuke/plugins/inventory/select_containers.py diff --git a/pype/hosts/nuke/plugins/inventory/set_tool_color.py b/openpype/hosts/nuke/plugins/inventory/set_tool_color.py similarity index 100% rename from pype/hosts/nuke/plugins/inventory/set_tool_color.py rename to openpype/hosts/nuke/plugins/inventory/set_tool_color.py diff --git a/pype/hosts/nuke/plugins/load/actions.py b/openpype/hosts/nuke/plugins/load/actions.py similarity index 94% rename from pype/hosts/nuke/plugins/load/actions.py rename to openpype/hosts/nuke/plugins/load/actions.py index 9741e956fa..07dcf2d8e1 100644 --- a/pype/hosts/nuke/plugins/load/actions.py +++ b/openpype/hosts/nuke/plugins/load/actions.py @@ -3,7 +3,7 @@ """ from avalon import api -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger(__name__) @@ -25,7 +25,7 @@ class SetFrameRangeLoader(api.Loader): def load(self, context, name, namespace, data): - from pype.hosts.nuke.api import lib + from openpype.hosts.nuke.api import lib version = context['version'] version_data = version.get("data", {}) @@ -59,7 +59,7 @@ class SetFrameRangeWithHandlesLoader(api.Loader): def load(self, context, name, namespace, data): - from pype.hosts.nuke.api import lib + from openpype.hosts.nuke.api import lib version = context['version'] version_data = version.get("data", {}) diff --git a/pype/hosts/nuke/plugins/load/load_backdrop.py b/openpype/hosts/nuke/plugins/load/load_backdrop.py similarity index 99% rename from pype/hosts/nuke/plugins/load/load_backdrop.py rename to openpype/hosts/nuke/plugins/load/load_backdrop.py index 00bf2df47d..e615af51ff 100644 --- a/pype/hosts/nuke/plugins/load/load_backdrop.py +++ b/openpype/hosts/nuke/plugins/load/load_backdrop.py @@ -1,7 +1,7 @@ from avalon import api, style, io import nuke import nukescripts -from pype.hosts.nuke.api import lib as pnlib +from openpype.hosts.nuke.api import lib as pnlib from avalon.nuke import lib as anlib from avalon.nuke import containerise, update_container reload(pnlib) diff --git a/pype/hosts/nuke/plugins/load/load_camera_abc.py b/openpype/hosts/nuke/plugins/load/load_camera_abc.py similarity index 100% rename from pype/hosts/nuke/plugins/load/load_camera_abc.py rename to openpype/hosts/nuke/plugins/load/load_camera_abc.py diff --git a/pype/hosts/nuke/plugins/load/load_gizmo.py b/openpype/hosts/nuke/plugins/load/load_gizmo.py similarity index 100% rename from pype/hosts/nuke/plugins/load/load_gizmo.py rename to openpype/hosts/nuke/plugins/load/load_gizmo.py diff --git a/pype/hosts/nuke/plugins/load/load_gizmo_ip.py b/openpype/hosts/nuke/plugins/load/load_gizmo_ip.py similarity index 99% rename from pype/hosts/nuke/plugins/load/load_gizmo_ip.py rename to openpype/hosts/nuke/plugins/load/load_gizmo_ip.py index b1a9748d16..5ca101d6cb 100644 --- a/pype/hosts/nuke/plugins/load/load_gizmo_ip.py +++ b/openpype/hosts/nuke/plugins/load/load_gizmo_ip.py @@ -1,6 +1,6 @@ from avalon import api, style, io import nuke -from pype.hosts.nuke.api import lib as pnlib +from openpype.hosts.nuke.api import lib as pnlib from avalon.nuke import lib as anlib from avalon.nuke import containerise, update_container diff --git a/pype/hosts/nuke/plugins/load/load_image.py b/openpype/hosts/nuke/plugins/load/load_image.py similarity index 99% rename from pype/hosts/nuke/plugins/load/load_image.py rename to openpype/hosts/nuke/plugins/load/load_image.py index 7033cca9f8..8bc266f01b 100644 --- a/pype/hosts/nuke/plugins/load/load_image.py +++ b/openpype/hosts/nuke/plugins/load/load_image.py @@ -4,7 +4,7 @@ import nuke from avalon.vendor import qargparse from avalon import api, io -from pype.hosts.nuke.api.lib import ( +from openpype.hosts.nuke.api.lib import ( get_imageio_input_colorspace ) diff --git a/pype/hosts/nuke/plugins/load/load_luts.py b/openpype/hosts/nuke/plugins/load/load_luts.py similarity index 100% rename from pype/hosts/nuke/plugins/load/load_luts.py rename to openpype/hosts/nuke/plugins/load/load_luts.py diff --git a/pype/hosts/nuke/plugins/load/load_luts_ip.py b/openpype/hosts/nuke/plugins/load/load_luts_ip.py similarity index 99% rename from pype/hosts/nuke/plugins/load/load_luts_ip.py rename to openpype/hosts/nuke/plugins/load/load_luts_ip.py index 1e2469055f..a0af29c7f4 100644 --- a/pype/hosts/nuke/plugins/load/load_luts_ip.py +++ b/openpype/hosts/nuke/plugins/load/load_luts_ip.py @@ -2,7 +2,7 @@ from avalon import api, style, io import nuke import json from collections import OrderedDict -from pype.hosts.nuke.api import lib +from openpype.hosts.nuke.api import lib class LoadLutsInputProcess(api.Loader): diff --git a/pype/hosts/nuke/plugins/load/load_matchmove.py b/openpype/hosts/nuke/plugins/load/load_matchmove.py similarity index 100% rename from pype/hosts/nuke/plugins/load/load_matchmove.py rename to openpype/hosts/nuke/plugins/load/load_matchmove.py diff --git a/pype/hosts/nuke/plugins/load/load_mov.py b/openpype/hosts/nuke/plugins/load/load_mov.py similarity index 99% rename from pype/hosts/nuke/plugins/load/load_mov.py rename to openpype/hosts/nuke/plugins/load/load_mov.py index 0314322609..92726913af 100644 --- a/pype/hosts/nuke/plugins/load/load_mov.py +++ b/openpype/hosts/nuke/plugins/load/load_mov.py @@ -2,8 +2,8 @@ import nuke import contextlib from avalon import api, io -from pype.api import get_current_project_settings -from pype.hosts.nuke.api.lib import ( +from openpype.api import get_current_project_settings +from openpype.hosts.nuke.api.lib import ( get_imageio_input_colorspace ) diff --git a/pype/hosts/nuke/plugins/load/load_script_precomp.py b/openpype/hosts/nuke/plugins/load/load_script_precomp.py similarity index 100% rename from pype/hosts/nuke/plugins/load/load_script_precomp.py rename to openpype/hosts/nuke/plugins/load/load_script_precomp.py diff --git a/pype/hosts/nuke/plugins/load/load_sequence.py b/openpype/hosts/nuke/plugins/load/load_sequence.py similarity index 99% rename from pype/hosts/nuke/plugins/load/load_sequence.py rename to openpype/hosts/nuke/plugins/load/load_sequence.py index 5cc2d019a0..df7aa55cd1 100644 --- a/pype/hosts/nuke/plugins/load/load_sequence.py +++ b/openpype/hosts/nuke/plugins/load/load_sequence.py @@ -2,7 +2,7 @@ import nuke import contextlib from avalon import api, io -from pype.hosts.nuke.api.lib import ( +from openpype.hosts.nuke.api.lib import ( get_imageio_input_colorspace ) diff --git a/pype/hosts/nuke/plugins/publish/collect_backdrop.py b/openpype/hosts/nuke/plugins/publish/collect_backdrop.py similarity index 98% rename from pype/hosts/nuke/plugins/publish/collect_backdrop.py rename to openpype/hosts/nuke/plugins/publish/collect_backdrop.py index 7e616ea7bb..4efbb88b8c 100644 --- a/pype/hosts/nuke/plugins/publish/collect_backdrop.py +++ b/openpype/hosts/nuke/plugins/publish/collect_backdrop.py @@ -1,5 +1,5 @@ import pyblish.api -from pype.hosts.nuke.api import lib as pnlib +from openpype.hosts.nuke.api import lib as pnlib import nuke diff --git a/pype/hosts/nuke/plugins/publish/collect_framerate.py b/openpype/hosts/nuke/plugins/publish/collect_framerate.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/collect_framerate.py rename to openpype/hosts/nuke/plugins/publish/collect_framerate.py diff --git a/pype/hosts/nuke/plugins/publish/collect_gizmo.py b/openpype/hosts/nuke/plugins/publish/collect_gizmo.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/collect_gizmo.py rename to openpype/hosts/nuke/plugins/publish/collect_gizmo.py diff --git a/pype/hosts/nuke/plugins/publish/collect_reads.py b/openpype/hosts/nuke/plugins/publish/collect_reads.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/collect_reads.py rename to openpype/hosts/nuke/plugins/publish/collect_reads.py diff --git a/pype/hosts/nuke/plugins/publish/collect_slate_node.py b/openpype/hosts/nuke/plugins/publish/collect_slate_node.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/collect_slate_node.py rename to openpype/hosts/nuke/plugins/publish/collect_slate_node.py diff --git a/pype/hosts/nuke/plugins/publish/extract_backdrop.py b/openpype/hosts/nuke/plugins/publish/extract_backdrop.py similarity index 96% rename from pype/hosts/nuke/plugins/publish/extract_backdrop.py rename to openpype/hosts/nuke/plugins/publish/extract_backdrop.py index 92153d563e..13f8656005 100644 --- a/pype/hosts/nuke/plugins/publish/extract_backdrop.py +++ b/openpype/hosts/nuke/plugins/publish/extract_backdrop.py @@ -1,12 +1,12 @@ import pyblish.api from avalon.nuke import lib as anlib -from pype.hosts.nuke.api import lib as pnlib +from openpype.hosts.nuke.api import lib as pnlib import nuke import os -import pype +import openpype reload(pnlib) -class ExtractBackdropNode(pype.api.Extractor): +class ExtractBackdropNode(openpype.api.Extractor): """Extracting content of backdrop nodes Will create nuke script only with containing nodes. diff --git a/pype/hosts/nuke/plugins/publish/extract_camera.py b/openpype/hosts/nuke/plugins/publish/extract_camera.py similarity index 98% rename from pype/hosts/nuke/plugins/publish/extract_camera.py rename to openpype/hosts/nuke/plugins/publish/extract_camera.py index 9a1efba1df..bc50dac108 100644 --- a/pype/hosts/nuke/plugins/publish/extract_camera.py +++ b/openpype/hosts/nuke/plugins/publish/extract_camera.py @@ -2,12 +2,12 @@ import nuke import os import math import pyblish.api -import pype.api +import openpype.api from avalon.nuke import lib as anlib from pprint import pformat -class ExtractCamera(pype.api.Extractor): +class ExtractCamera(openpype.api.Extractor): """ 3D camera exctractor """ label = 'Exctract Camera' diff --git a/pype/hosts/nuke/plugins/publish/extract_gizmo.py b/openpype/hosts/nuke/plugins/publish/extract_gizmo.py similarity index 95% rename from pype/hosts/nuke/plugins/publish/extract_gizmo.py rename to openpype/hosts/nuke/plugins/publish/extract_gizmo.py index 32d9dd0f55..78bf9c998d 100644 --- a/pype/hosts/nuke/plugins/publish/extract_gizmo.py +++ b/openpype/hosts/nuke/plugins/publish/extract_gizmo.py @@ -1,12 +1,12 @@ import pyblish.api from avalon.nuke import lib as anlib -from pype.hosts.nuke.api import utils as pnutils +from openpype.hosts.nuke.api import utils as pnutils import nuke import os -import pype +import openpype -class ExtractGizmo(pype.api.Extractor): +class ExtractGizmo(openpype.api.Extractor): """Extracting Gizmo (Group) node Will create nuke script only with the Gizmo node. diff --git a/pype/hosts/nuke/plugins/publish/extract_ouput_node.py b/openpype/hosts/nuke/plugins/publish/extract_ouput_node.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/extract_ouput_node.py rename to openpype/hosts/nuke/plugins/publish/extract_ouput_node.py diff --git a/pype/hosts/nuke/plugins/publish/extract_output_directory.py b/openpype/hosts/nuke/plugins/publish/extract_output_directory.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/extract_output_directory.py rename to openpype/hosts/nuke/plugins/publish/extract_output_directory.py diff --git a/pype/hosts/nuke/plugins/publish/extract_render_local.py b/openpype/hosts/nuke/plugins/publish/extract_render_local.py similarity index 97% rename from pype/hosts/nuke/plugins/publish/extract_render_local.py rename to openpype/hosts/nuke/plugins/publish/extract_render_local.py index 79662d62a8..49609f70e0 100644 --- a/pype/hosts/nuke/plugins/publish/extract_render_local.py +++ b/openpype/hosts/nuke/plugins/publish/extract_render_local.py @@ -1,11 +1,11 @@ import pyblish.api import nuke import os -import pype +import openpype import clique -class NukeRenderLocal(pype.api.Extractor): +class NukeRenderLocal(openpype.api.Extractor): # TODO: rewrite docstring to nuke """Render the current Fusion composition locally. diff --git a/pype/hosts/nuke/plugins/publish/extract_review_data_lut.py b/openpype/hosts/nuke/plugins/publish/extract_review_data_lut.py similarity index 94% rename from pype/hosts/nuke/plugins/publish/extract_review_data_lut.py rename to openpype/hosts/nuke/plugins/publish/extract_review_data_lut.py index 16ef7a9449..5611591b56 100644 --- a/pype/hosts/nuke/plugins/publish/extract_review_data_lut.py +++ b/openpype/hosts/nuke/plugins/publish/extract_review_data_lut.py @@ -1,12 +1,12 @@ import os import pyblish.api from avalon.nuke import lib as anlib -from pype.hosts.nuke.api import lib as pnlib -import pype +from openpype.hosts.nuke.api import lib as pnlib +import openpype reload(pnlib) -class ExtractReviewDataLut(pype.api.Extractor): +class ExtractReviewDataLut(openpype.api.Extractor): """Extracts movie and thumbnail with baked in luts must be run after extract_render_local.py diff --git a/pype/hosts/nuke/plugins/publish/extract_review_data_mov.py b/openpype/hosts/nuke/plugins/publish/extract_review_data_mov.py similarity index 94% rename from pype/hosts/nuke/plugins/publish/extract_review_data_mov.py rename to openpype/hosts/nuke/plugins/publish/extract_review_data_mov.py index c64c7adc93..5032e602a2 100644 --- a/pype/hosts/nuke/plugins/publish/extract_review_data_mov.py +++ b/openpype/hosts/nuke/plugins/publish/extract_review_data_mov.py @@ -1,11 +1,11 @@ import os import pyblish.api from avalon.nuke import lib as anlib -from pype.hosts.nuke.api import lib as pnlib -import pype +from openpype.hosts.nuke.api import lib as pnlib +import openpype -class ExtractReviewDataMov(pype.api.Extractor): +class ExtractReviewDataMov(openpype.api.Extractor): """Extracts movie and thumbnail with baked in luts must be run after extract_render_local.py diff --git a/pype/hosts/nuke/plugins/publish/extract_script_save.py b/openpype/hosts/nuke/plugins/publish/extract_script_save.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/extract_script_save.py rename to openpype/hosts/nuke/plugins/publish/extract_script_save.py diff --git a/pype/hosts/nuke/plugins/publish/extract_slate_frame.py b/openpype/hosts/nuke/plugins/publish/extract_slate_frame.py similarity index 98% rename from pype/hosts/nuke/plugins/publish/extract_slate_frame.py rename to openpype/hosts/nuke/plugins/publish/extract_slate_frame.py index e1c05c3d1a..0f68680742 100644 --- a/pype/hosts/nuke/plugins/publish/extract_slate_frame.py +++ b/openpype/hosts/nuke/plugins/publish/extract_slate_frame.py @@ -2,10 +2,10 @@ import os import nuke from avalon.nuke import lib as anlib import pyblish.api -import pype +import openpype -class ExtractSlateFrame(pype.api.Extractor): +class ExtractSlateFrame(openpype.api.Extractor): """Extracts movie and thumbnail with baked in luts must be run after extract_render_local.py diff --git a/pype/hosts/nuke/plugins/publish/extract_thumbnail.py b/openpype/hosts/nuke/plugins/publish/extract_thumbnail.py similarity index 98% rename from pype/hosts/nuke/plugins/publish/extract_thumbnail.py rename to openpype/hosts/nuke/plugins/publish/extract_thumbnail.py index fd3eaabe13..da30dcc632 100644 --- a/pype/hosts/nuke/plugins/publish/extract_thumbnail.py +++ b/openpype/hosts/nuke/plugins/publish/extract_thumbnail.py @@ -2,10 +2,10 @@ import os import nuke from avalon.nuke import lib as anlib import pyblish.api -import pype +import openpype -class ExtractThumbnail(pype.api.Extractor): +class ExtractThumbnail(openpype.api.Extractor): """Extracts movie and thumbnail with baked in luts must be run after extract_render_local.py diff --git a/pype/hosts/nuke/plugins/publish/increment_script_version.py b/openpype/hosts/nuke/plugins/publish/increment_script_version.py similarity index 93% rename from pype/hosts/nuke/plugins/publish/increment_script_version.py rename to openpype/hosts/nuke/plugins/publish/increment_script_version.py index c76083eb1e..47fccb9125 100644 --- a/pype/hosts/nuke/plugins/publish/increment_script_version.py +++ b/openpype/hosts/nuke/plugins/publish/increment_script_version.py @@ -17,7 +17,7 @@ class IncrementScriptVersion(pyblish.api.ContextPlugin): assert all(result["success"] for result in context.data["results"]), ( "Publishing not succesfull so version is not increased.") - from pype.lib import version_up + from openpype.lib import version_up path = context.data["currentFile"] nuke.scriptSaveAs(version_up(path)) self.log.info('Incrementing script version') diff --git a/pype/hosts/nuke/plugins/publish/precollect_instances.py b/openpype/hosts/nuke/plugins/publish/precollect_instances.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/precollect_instances.py rename to openpype/hosts/nuke/plugins/publish/precollect_instances.py diff --git a/pype/hosts/nuke/plugins/publish/precollect_workfile.py b/openpype/hosts/nuke/plugins/publish/precollect_workfile.py similarity index 99% rename from pype/hosts/nuke/plugins/publish/precollect_workfile.py rename to openpype/hosts/nuke/plugins/publish/precollect_workfile.py index 288caa7a19..5d3eb5f609 100644 --- a/pype/hosts/nuke/plugins/publish/precollect_workfile.py +++ b/openpype/hosts/nuke/plugins/publish/precollect_workfile.py @@ -1,7 +1,7 @@ import nuke import pyblish.api import os -import pype.api as pype +import openpype.api as pype from avalon.nuke import lib as anlib reload(anlib) diff --git a/pype/hosts/nuke/plugins/publish/precollect_writes.py b/openpype/hosts/nuke/plugins/publish/precollect_writes.py similarity index 99% rename from pype/hosts/nuke/plugins/publish/precollect_writes.py rename to openpype/hosts/nuke/plugins/publish/precollect_writes.py index 9806e38633..a519609f52 100644 --- a/pype/hosts/nuke/plugins/publish/precollect_writes.py +++ b/openpype/hosts/nuke/plugins/publish/precollect_writes.py @@ -1,7 +1,7 @@ import os import nuke import pyblish.api -import pype.api as pype +import openpype.api as pype from avalon import io, api diff --git a/pype/hosts/nuke/plugins/publish/remove_ouput_node.py b/openpype/hosts/nuke/plugins/publish/remove_ouput_node.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/remove_ouput_node.py rename to openpype/hosts/nuke/plugins/publish/remove_ouput_node.py diff --git a/pype/hosts/nuke/plugins/publish/validate_backdrop.py b/openpype/hosts/nuke/plugins/publish/validate_backdrop.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/validate_backdrop.py rename to openpype/hosts/nuke/plugins/publish/validate_backdrop.py diff --git a/pype/hosts/nuke/plugins/publish/validate_gizmo.py b/openpype/hosts/nuke/plugins/publish/validate_gizmo.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/validate_gizmo.py rename to openpype/hosts/nuke/plugins/publish/validate_gizmo.py diff --git a/pype/hosts/nuke/plugins/publish/validate_knobs.py b/openpype/hosts/nuke/plugins/publish/validate_knobs.py similarity index 97% rename from pype/hosts/nuke/plugins/publish/validate_knobs.py rename to openpype/hosts/nuke/plugins/publish/validate_knobs.py index cbc02690cb..d290ff4541 100644 --- a/pype/hosts/nuke/plugins/publish/validate_knobs.py +++ b/openpype/hosts/nuke/plugins/publish/validate_knobs.py @@ -1,7 +1,7 @@ import nuke import pyblish.api -import pype.api +import openpype.api class ValidateKnobs(pyblish.api.ContextPlugin): @@ -23,7 +23,7 @@ class ValidateKnobs(pyblish.api.ContextPlugin): order = pyblish.api.ValidatorOrder label = "Validate Knobs" hosts = ["nuke"] - actions = [pype.api.RepairContextAction] + actions = [openpype.api.RepairContextAction] optional = True def process(self, context): diff --git a/pype/hosts/nuke/plugins/publish/validate_output_resolution.py b/openpype/hosts/nuke/plugins/publish/validate_output_resolution.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/validate_output_resolution.py rename to openpype/hosts/nuke/plugins/publish/validate_output_resolution.py diff --git a/pype/hosts/nuke/plugins/publish/validate_read_legacy.py b/openpype/hosts/nuke/plugins/publish/validate_read_legacy.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/validate_read_legacy.py rename to openpype/hosts/nuke/plugins/publish/validate_read_legacy.py diff --git a/pype/hosts/nuke/plugins/publish/validate_rendered_frames.py b/openpype/hosts/nuke/plugins/publish/validate_rendered_frames.py similarity index 98% rename from pype/hosts/nuke/plugins/publish/validate_rendered_frames.py rename to openpype/hosts/nuke/plugins/publish/validate_rendered_frames.py index 425789f18a..21afc5313b 100644 --- a/pype/hosts/nuke/plugins/publish/validate_rendered_frames.py +++ b/openpype/hosts/nuke/plugins/publish/validate_rendered_frames.py @@ -1,6 +1,6 @@ import os import pyblish.api -from pype.api import ValidationException +from openpype.api import ValidationException import clique diff --git a/pype/hosts/nuke/plugins/publish/validate_script.py b/openpype/hosts/nuke/plugins/publish/validate_script.py similarity index 99% rename from pype/hosts/nuke/plugins/publish/validate_script.py rename to openpype/hosts/nuke/plugins/publish/validate_script.py index 52980a8455..c35d09dcde 100644 --- a/pype/hosts/nuke/plugins/publish/validate_script.py +++ b/openpype/hosts/nuke/plugins/publish/validate_script.py @@ -1,6 +1,6 @@ import pyblish.api from avalon import io -from pype import lib +from openpype import lib @pyblish.api.log diff --git a/pype/hosts/nuke/plugins/publish/validate_write_bounding_box.py b/openpype/hosts/nuke/plugins/publish/validate_write_bounding_box.py similarity index 100% rename from pype/hosts/nuke/plugins/publish/validate_write_bounding_box.py rename to openpype/hosts/nuke/plugins/publish/validate_write_bounding_box.py diff --git a/pype/hosts/nuke/plugins/publish/validate_write_deadline_tab.py b/openpype/hosts/nuke/plugins/publish/validate_write_deadline_tab.py similarity index 86% rename from pype/hosts/nuke/plugins/publish/validate_write_deadline_tab.py rename to openpype/hosts/nuke/plugins/publish/validate_write_deadline_tab.py index e751a99771..72fd51a900 100644 --- a/pype/hosts/nuke/plugins/publish/validate_write_deadline_tab.py +++ b/openpype/hosts/nuke/plugins/publish/validate_write_deadline_tab.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.hosts.nuke.lib +import openpype.hosts.nuke.lib class RepairNukeWriteDeadlineTab(pyblish.api.Action): @@ -24,12 +24,12 @@ class RepairNukeWriteDeadlineTab(pyblish.api.Action): group_node = [x for x in instance if x.Class() == "Group"][0] # Remove exising knobs. - knob_names = pype.hosts.nuke.lib.get_deadline_knob_names() + knob_names = openpype.hosts.nuke.lib.get_deadline_knob_names() for name, knob in group_node.knobs().iteritems(): if name in knob_names: group_node.removeKnob(knob) - pype.hosts.nuke.lib.add_deadline_tab(group_node) + openpype.hosts.nuke.lib.add_deadline_tab(group_node) class ValidateNukeWriteDeadlineTab(pyblish.api.InstancePlugin): @@ -45,7 +45,7 @@ class ValidateNukeWriteDeadlineTab(pyblish.api.InstancePlugin): def process(self, instance): group_node = [x for x in instance if x.Class() == "Group"][0] - knob_names = pype.hosts.nuke.lib.get_deadline_knob_names() + knob_names = openpype.hosts.nuke.lib.get_deadline_knob_names() missing_knobs = [] for name in knob_names: if name not in group_node.knobs().keys(): diff --git a/pype/hosts/nuke/plugins/publish/validate_write_legacy.py b/openpype/hosts/nuke/plugins/publish/validate_write_legacy.py similarity index 98% rename from pype/hosts/nuke/plugins/publish/validate_write_legacy.py rename to openpype/hosts/nuke/plugins/publish/validate_write_legacy.py index 18f92336ab..ba34ec8338 100644 --- a/pype/hosts/nuke/plugins/publish/validate_write_legacy.py +++ b/openpype/hosts/nuke/plugins/publish/validate_write_legacy.py @@ -6,7 +6,7 @@ import nuke from avalon import api import re import pyblish.api -import pype.api +import openpype.api from avalon.nuke import get_avalon_knob_data @@ -18,7 +18,7 @@ class ValidateWriteLegacy(pyblish.api.InstancePlugin): families = ["write"] label = "Validate Write Legacy" hosts = ["nuke"] - actions = [pype.api.RepairAction] + actions = [openpype.api.RepairAction] def process(self, instance): node = instance[0] diff --git a/pype/hosts/nuke/plugins/publish/validate_write_nodes.py b/openpype/hosts/nuke/plugins/publish/validate_write_nodes.py similarity index 93% rename from pype/hosts/nuke/plugins/publish/validate_write_nodes.py rename to openpype/hosts/nuke/plugins/publish/validate_write_nodes.py index bd33194897..732f321b85 100644 --- a/pype/hosts/nuke/plugins/publish/validate_write_nodes.py +++ b/openpype/hosts/nuke/plugins/publish/validate_write_nodes.py @@ -1,7 +1,7 @@ import os import pyblish.api -import pype.utils -import pype.hosts.nuke.lib as nukelib +import openpype.utils +import openpype.hosts.nuke.lib as nukelib import avalon.nuke @pyblish.api.log @@ -11,7 +11,7 @@ class RepairNukeWriteNodeAction(pyblish.api.Action): icon = "wrench" def process(self, context, plugin): - instances = pype.utils.filter_instances(context, plugin) + instances = openpype.utils.filter_instances(context, plugin) for instance in instances: node = instance[1] diff --git a/pype/hosts/nuke/startup/KnobScripter/__init__.py b/openpype/hosts/nuke/startup/KnobScripter/__init__.py similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/__init__.py rename to openpype/hosts/nuke/startup/KnobScripter/__init__.py diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_clearConsole.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_clearConsole.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_clearConsole.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_clearConsole.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_download.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_download.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_download.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_download.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_exitnode.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_exitnode.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_exitnode.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_exitnode.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_pick.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_pick.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_pick.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_pick.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_prefs.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_prefs.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_prefs.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_prefs.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_prefs2.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_prefs2.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_prefs2.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_prefs2.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_refresh.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_refresh.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_refresh.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_refresh.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_run.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_run.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_run.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_run.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_save.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_save.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_save.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_save.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_search.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_search.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_search.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_search.png diff --git a/pype/hosts/nuke/startup/KnobScripter/icons/icon_snippets.png b/openpype/hosts/nuke/startup/KnobScripter/icons/icon_snippets.png similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/icons/icon_snippets.png rename to openpype/hosts/nuke/startup/KnobScripter/icons/icon_snippets.png diff --git a/pype/hosts/nuke/startup/KnobScripter/knob_scripter.py b/openpype/hosts/nuke/startup/KnobScripter/knob_scripter.py similarity index 100% rename from pype/hosts/nuke/startup/KnobScripter/knob_scripter.py rename to openpype/hosts/nuke/startup/KnobScripter/knob_scripter.py diff --git a/pype/hosts/nuke/startup/init.py b/openpype/hosts/nuke/startup/init.py similarity index 100% rename from pype/hosts/nuke/startup/init.py rename to openpype/hosts/nuke/startup/init.py diff --git a/pype/hosts/nuke/startup/menu.py b/openpype/hosts/nuke/startup/menu.py similarity index 80% rename from pype/hosts/nuke/startup/menu.py rename to openpype/hosts/nuke/startup/menu.py index 8e2e06a169..9eb656afa9 100644 --- a/pype/hosts/nuke/startup/menu.py +++ b/openpype/hosts/nuke/startup/menu.py @@ -1,10 +1,10 @@ -from pype.hosts.nuke.api.lib import ( +from openpype.hosts.nuke.api.lib import ( on_script_load, check_inventory_versions ) import nuke -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger(__name__) diff --git a/pype/hosts/nuke/startup/write_to_read.py b/openpype/hosts/nuke/startup/write_to_read.py similarity index 99% rename from pype/hosts/nuke/startup/write_to_read.py rename to openpype/hosts/nuke/startup/write_to_read.py index d4556fa64c..deb5ce1b82 100644 --- a/pype/hosts/nuke/startup/write_to_read.py +++ b/openpype/hosts/nuke/startup/write_to_read.py @@ -2,7 +2,7 @@ import re import os import glob import nuke -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger(__name__) SINGLE_FILE_FORMATS = ['avi', 'mp4', 'mxf', 'mov', 'mpg', 'mpeg', 'wmv', 'm4v', diff --git a/pype/hosts/photoshop/__init__.py b/openpype/hosts/photoshop/__init__.py similarity index 100% rename from pype/hosts/photoshop/__init__.py rename to openpype/hosts/photoshop/__init__.py diff --git a/pype/hosts/photoshop/api/__init__.py b/openpype/hosts/photoshop/api/__init__.py similarity index 94% rename from pype/hosts/photoshop/api/__init__.py rename to openpype/hosts/photoshop/api/__init__.py index 78d5311fed..7304574ffd 100644 --- a/pype/hosts/photoshop/api/__init__.py +++ b/openpype/hosts/photoshop/api/__init__.py @@ -5,13 +5,13 @@ import logging from avalon import io from avalon import api as avalon from avalon.vendor import Qt -from pype import lib +from openpype import lib from pyblish import api as pyblish -import pype.hosts.photoshop +import openpype.hosts.photoshop log = logging.getLogger("pype.hosts.photoshop") -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.photoshop.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.photoshop.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") LOAD_PATH = os.path.join(PLUGINS_DIR, "load") diff --git a/pype/hosts/photoshop/hooks/__init__.py b/openpype/hosts/photoshop/hooks/__init__.py similarity index 100% rename from pype/hosts/photoshop/hooks/__init__.py rename to openpype/hosts/photoshop/hooks/__init__.py diff --git a/pype/hosts/photoshop/plugins/__init__.py b/openpype/hosts/photoshop/plugins/__init__.py similarity index 100% rename from pype/hosts/photoshop/plugins/__init__.py rename to openpype/hosts/photoshop/plugins/__init__.py diff --git a/pype/hosts/photoshop/plugins/create/create_image.py b/openpype/hosts/photoshop/plugins/create/create_image.py similarity index 98% rename from pype/hosts/photoshop/plugins/create/create_image.py rename to openpype/hosts/photoshop/plugins/create/create_image.py index 03250acd48..21b5ea9243 100644 --- a/pype/hosts/photoshop/plugins/create/create_image.py +++ b/openpype/hosts/photoshop/plugins/create/create_image.py @@ -1,9 +1,9 @@ -import pype.api +import openpype.api from avalon.vendor import Qt from avalon import photoshop -class CreateImage(pype.api.Creator): +class CreateImage(openpype.api.Creator): """Image folder for publish.""" name = "imageDefault" diff --git a/pype/hosts/photoshop/plugins/load/load_image.py b/openpype/hosts/photoshop/plugins/load/load_image.py similarity index 100% rename from pype/hosts/photoshop/plugins/load/load_image.py rename to openpype/hosts/photoshop/plugins/load/load_image.py diff --git a/pype/hosts/photoshop/plugins/publish/collect_current_file.py b/openpype/hosts/photoshop/plugins/publish/collect_current_file.py similarity index 100% rename from pype/hosts/photoshop/plugins/publish/collect_current_file.py rename to openpype/hosts/photoshop/plugins/publish/collect_current_file.py diff --git a/pype/hosts/photoshop/plugins/publish/collect_instances.py b/openpype/hosts/photoshop/plugins/publish/collect_instances.py similarity index 100% rename from pype/hosts/photoshop/plugins/publish/collect_instances.py rename to openpype/hosts/photoshop/plugins/publish/collect_instances.py diff --git a/pype/hosts/photoshop/plugins/publish/collect_review.py b/openpype/hosts/photoshop/plugins/publish/collect_review.py similarity index 100% rename from pype/hosts/photoshop/plugins/publish/collect_review.py rename to openpype/hosts/photoshop/plugins/publish/collect_review.py diff --git a/pype/hosts/photoshop/plugins/publish/collect_workfile.py b/openpype/hosts/photoshop/plugins/publish/collect_workfile.py similarity index 100% rename from pype/hosts/photoshop/plugins/publish/collect_workfile.py rename to openpype/hosts/photoshop/plugins/publish/collect_workfile.py diff --git a/pype/hosts/photoshop/plugins/publish/extract_image.py b/openpype/hosts/photoshop/plugins/publish/extract_image.py similarity index 97% rename from pype/hosts/photoshop/plugins/publish/extract_image.py rename to openpype/hosts/photoshop/plugins/publish/extract_image.py index af76caf379..b56f128831 100644 --- a/pype/hosts/photoshop/plugins/publish/extract_image.py +++ b/openpype/hosts/photoshop/plugins/publish/extract_image.py @@ -1,10 +1,10 @@ import os -import pype.api +import openpype.api from avalon import photoshop -class ExtractImage(pype.api.Extractor): +class ExtractImage(openpype.api.Extractor): """Produce a flattened image file from instance This plug-in takes into account only the layers in the group. diff --git a/pype/hosts/photoshop/plugins/publish/extract_review.py b/openpype/hosts/photoshop/plugins/publish/extract_review.py similarity index 92% rename from pype/hosts/photoshop/plugins/publish/extract_review.py rename to openpype/hosts/photoshop/plugins/publish/extract_review.py index aa9151bf6d..3b6d8ef951 100644 --- a/pype/hosts/photoshop/plugins/publish/extract_review.py +++ b/openpype/hosts/photoshop/plugins/publish/extract_review.py @@ -1,11 +1,11 @@ import os -import pype.api -import pype.lib +import openpype.api +import openpype.lib from avalon import photoshop -class ExtractReview(pype.api.Extractor): +class ExtractReview(openpype.api.Extractor): """Produce a flattened image file from all instances.""" label = "Extract Review" @@ -41,7 +41,7 @@ class ExtractReview(pype.api.Extractor): stub.saveAs(output_image_path, 'jpg', True) - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") instance.data["representations"].append({ "name": "jpg", @@ -60,7 +60,7 @@ class ExtractReview(pype.api.Extractor): "-vframes", "1", thumbnail_path ] - output = pype.lib.run_subprocess(args) + output = openpype.lib.run_subprocess(args) instance.data["representations"].append({ "name": "thumbnail", @@ -78,7 +78,7 @@ class ExtractReview(pype.api.Extractor): "-vframes", "1", mov_path ] - output = pype.lib.run_subprocess(args) + output = openpype.lib.run_subprocess(args) self.log.debug(output) instance.data["representations"].append({ "name": "mov", diff --git a/pype/hosts/photoshop/plugins/publish/extract_save_scene.py b/openpype/hosts/photoshop/plugins/publish/extract_save_scene.py similarity index 65% rename from pype/hosts/photoshop/plugins/publish/extract_save_scene.py rename to openpype/hosts/photoshop/plugins/publish/extract_save_scene.py index 63a4b7b7ea..0180640c90 100644 --- a/pype/hosts/photoshop/plugins/publish/extract_save_scene.py +++ b/openpype/hosts/photoshop/plugins/publish/extract_save_scene.py @@ -1,11 +1,11 @@ -import pype.api +import openpype.api from avalon import photoshop -class ExtractSaveScene(pype.api.Extractor): +class ExtractSaveScene(openpype.api.Extractor): """Save scene before extraction.""" - order = pype.api.Extractor.order - 0.49 + order = openpype.api.Extractor.order - 0.49 label = "Extract Save Scene" hosts = ["photoshop"] families = ["workfile"] diff --git a/pype/hosts/photoshop/plugins/publish/increment_workfile.py b/openpype/hosts/photoshop/plugins/publish/increment_workfile.py similarity index 90% rename from pype/hosts/photoshop/plugins/publish/increment_workfile.py rename to openpype/hosts/photoshop/plugins/publish/increment_workfile.py index 2005973ea0..709fb988fc 100644 --- a/pype/hosts/photoshop/plugins/publish/increment_workfile.py +++ b/openpype/hosts/photoshop/plugins/publish/increment_workfile.py @@ -1,7 +1,7 @@ import os import pyblish.api -from pype.action import get_errored_plugins_from_data -from pype.lib import version_up +from openpype.action import get_errored_plugins_from_data +from openpype.lib import version_up from avalon import photoshop diff --git a/pype/hosts/photoshop/plugins/publish/validate_instance_asset.py b/openpype/hosts/photoshop/plugins/publish/validate_instance_asset.py similarity index 95% rename from pype/hosts/photoshop/plugins/publish/validate_instance_asset.py rename to openpype/hosts/photoshop/plugins/publish/validate_instance_asset.py index f05d9601dd..a1de02f319 100644 --- a/pype/hosts/photoshop/plugins/publish/validate_instance_asset.py +++ b/openpype/hosts/photoshop/plugins/publish/validate_instance_asset.py @@ -1,7 +1,7 @@ import os import pyblish.api -import pype.api +import openpype.api from avalon import photoshop @@ -37,7 +37,7 @@ class ValidateInstanceAsset(pyblish.api.InstancePlugin): label = "Validate Instance Asset" hosts = ["photoshop"] actions = [ValidateInstanceAssetRepair] - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder def process(self, instance): instance_asset = instance.data["asset"] diff --git a/pype/hosts/photoshop/plugins/publish/validate_naming.py b/openpype/hosts/photoshop/plugins/publish/validate_naming.py similarity index 96% rename from pype/hosts/photoshop/plugins/publish/validate_naming.py rename to openpype/hosts/photoshop/plugins/publish/validate_naming.py index 48f5901233..0fd6794313 100644 --- a/pype/hosts/photoshop/plugins/publish/validate_naming.py +++ b/openpype/hosts/photoshop/plugins/publish/validate_naming.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api from avalon import photoshop @@ -45,7 +45,7 @@ class ValidateNaming(pyblish.api.InstancePlugin): label = "Validate Naming" hosts = ["photoshop"] - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ["image"] actions = [ValidateNamingRepair] diff --git a/pype/hosts/photoshop/plugins/publish/validate_unique_subsets.py b/openpype/hosts/photoshop/plugins/publish/validate_unique_subsets.py similarity index 90% rename from pype/hosts/photoshop/plugins/publish/validate_unique_subsets.py rename to openpype/hosts/photoshop/plugins/publish/validate_unique_subsets.py index 5871f79668..15ae5fbcea 100644 --- a/pype/hosts/photoshop/plugins/publish/validate_unique_subsets.py +++ b/openpype/hosts/photoshop/plugins/publish/validate_unique_subsets.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidateSubsetUniqueness(pyblish.api.ContextPlugin): @@ -9,7 +9,7 @@ class ValidateSubsetUniqueness(pyblish.api.ContextPlugin): label = "Validate Subset Uniqueness" hosts = ["photoshop"] - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ["image"] def process(self, context): diff --git a/pype/hosts/photoshop/resources/template.psd b/openpype/hosts/photoshop/resources/template.psd similarity index 100% rename from pype/hosts/photoshop/resources/template.psd rename to openpype/hosts/photoshop/resources/template.psd diff --git a/pype/hosts/resolve/README.markdown b/openpype/hosts/resolve/README.markdown similarity index 100% rename from pype/hosts/resolve/README.markdown rename to openpype/hosts/resolve/README.markdown diff --git a/pype/hosts/resolve/RESOLVE_API_README_v16.2.0_down.txt b/openpype/hosts/resolve/RESOLVE_API_README_v16.2.0_down.txt similarity index 100% rename from pype/hosts/resolve/RESOLVE_API_README_v16.2.0_down.txt rename to openpype/hosts/resolve/RESOLVE_API_README_v16.2.0_down.txt diff --git a/pype/hosts/resolve/RESOLVE_API_README_v16.2.0_up.txt b/openpype/hosts/resolve/RESOLVE_API_README_v16.2.0_up.txt similarity index 100% rename from pype/hosts/resolve/RESOLVE_API_README_v16.2.0_up.txt rename to openpype/hosts/resolve/RESOLVE_API_README_v16.2.0_up.txt diff --git a/pype/hosts/resolve/__init__.py b/openpype/hosts/resolve/__init__.py similarity index 100% rename from pype/hosts/resolve/__init__.py rename to openpype/hosts/resolve/__init__.py diff --git a/pype/hosts/resolve/api/__init__.py b/openpype/hosts/resolve/api/__init__.py similarity index 100% rename from pype/hosts/resolve/api/__init__.py rename to openpype/hosts/resolve/api/__init__.py diff --git a/pype/hosts/resolve/api/action.py b/openpype/hosts/resolve/api/action.py similarity index 100% rename from pype/hosts/resolve/api/action.py rename to openpype/hosts/resolve/api/action.py diff --git a/pype/hosts/resolve/api/lib.py b/openpype/hosts/resolve/api/lib.py similarity index 99% rename from pype/hosts/resolve/api/lib.py rename to openpype/hosts/resolve/api/lib.py index 5c204bf709..101e7bb572 100644 --- a/pype/hosts/resolve/api/lib.py +++ b/openpype/hosts/resolve/api/lib.py @@ -4,11 +4,11 @@ import re import os import contextlib from opentimelineio import opentime -import pype +import openpype from ..otio import davinci_export as otio_export -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger(__name__) @@ -814,7 +814,7 @@ def get_otio_clip_instance_data(otio_timeline, timeline_item_data): continue if otio_clip.name not in timeline_item.GetName(): continue - if pype.lib.is_overlapping_otio_ranges( + if openpype.lib.is_overlapping_otio_ranges( parent_range, timeline_range, strict=True): # add pypedata marker to otio_clip metadata diff --git a/pype/hosts/resolve/api/menu.py b/openpype/hosts/resolve/api/menu.py similarity index 100% rename from pype/hosts/resolve/api/menu.py rename to openpype/hosts/resolve/api/menu.py diff --git a/pype/hosts/resolve/api/menu_style.qss b/openpype/hosts/resolve/api/menu_style.qss similarity index 100% rename from pype/hosts/resolve/api/menu_style.qss rename to openpype/hosts/resolve/api/menu_style.qss diff --git a/pype/hosts/resolve/api/pipeline.py b/openpype/hosts/resolve/api/pipeline.py similarity index 99% rename from pype/hosts/resolve/api/pipeline.py rename to openpype/hosts/resolve/api/pipeline.py index a1165655ee..d4d928a7d9 100644 --- a/pype/hosts/resolve/api/pipeline.py +++ b/openpype/hosts/resolve/api/pipeline.py @@ -9,7 +9,7 @@ from avalon import api as avalon from avalon import schema from avalon.pipeline import AVALON_CONTAINER_ID from pyblish import api as pyblish -from pype.api import Logger +from openpype.api import Logger from . import lib from . import PLUGINS_DIR log = Logger().get_logger(__name__) @@ -251,7 +251,7 @@ def on_pyblish_instance_toggled(instance, old_value, new_value): log.info("instance toggle: {}, old_value: {}, new_value:{} ".format( instance, old_value, new_value)) - from pype.hosts.resolve import ( + from openpype.hosts.resolve import ( set_publish_attribute ) diff --git a/pype/hosts/resolve/api/plugin.py b/openpype/hosts/resolve/api/plugin.py similarity index 99% rename from pype/hosts/resolve/api/plugin.py rename to openpype/hosts/resolve/api/plugin.py index bea246ac2f..3833795b96 100644 --- a/pype/hosts/resolve/api/plugin.py +++ b/openpype/hosts/resolve/api/plugin.py @@ -1,7 +1,7 @@ import re from avalon import api -import pype.api as pype -from pype.hosts import resolve +import openpype.api as pype +from openpype.hosts import resolve from avalon.vendor import qargparse from . import lib @@ -499,7 +499,7 @@ class Creator(pype.PypeCreatorMixin, api.Creator): def __init__(self, *args, **kwargs): super(Creator, self).__init__(*args, **kwargs) - from pype.api import get_current_project_settings + from openpype.api import get_current_project_settings resolve_p_settings = get_current_project_settings().get("resolve") self.presets = dict() if resolve_p_settings: diff --git a/pype/hosts/resolve/api/preload_console.py b/openpype/hosts/resolve/api/preload_console.py similarity index 88% rename from pype/hosts/resolve/api/preload_console.py rename to openpype/hosts/resolve/api/preload_console.py index de55c3673c..1e3a56b4dd 100644 --- a/pype/hosts/resolve/api/preload_console.py +++ b/openpype/hosts/resolve/api/preload_console.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import time -from pype.hosts.resolve.utils import get_resolve_module -from pype.api import Logger +from openpype.hosts.resolve.utils import get_resolve_module +from openpype.api import Logger log = Logger().get_logger(__name__) diff --git a/pype/hosts/resolve/api/testing_utils.py b/openpype/hosts/resolve/api/testing_utils.py similarity index 100% rename from pype/hosts/resolve/api/testing_utils.py rename to openpype/hosts/resolve/api/testing_utils.py diff --git a/pype/hosts/resolve/api/todo-rendering.py b/openpype/hosts/resolve/api/todo-rendering.py similarity index 100% rename from pype/hosts/resolve/api/todo-rendering.py rename to openpype/hosts/resolve/api/todo-rendering.py diff --git a/pype/hosts/resolve/api/utils.py b/openpype/hosts/resolve/api/utils.py similarity index 98% rename from pype/hosts/resolve/api/utils.py rename to openpype/hosts/resolve/api/utils.py index 25110de327..3dee17cb01 100644 --- a/pype/hosts/resolve/api/utils.py +++ b/openpype/hosts/resolve/api/utils.py @@ -8,12 +8,12 @@ import sys import os import shutil from . import HOST_DIR -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger(__name__) def get_resolve_module(): - from pype.hosts import resolve + from openpype.hosts import resolve # dont run if already loaded if resolve.api.bmdvr: log.info(("resolve module is assigned to " diff --git a/pype/hosts/resolve/api/workio.py b/openpype/hosts/resolve/api/workio.py similarity index 98% rename from pype/hosts/resolve/api/workio.py rename to openpype/hosts/resolve/api/workio.py index 59381ae50c..f175769387 100644 --- a/pype/hosts/resolve/api/workio.py +++ b/openpype/hosts/resolve/api/workio.py @@ -1,7 +1,7 @@ """Host API required Work Files tool""" import os -from pype.api import Logger +from openpype.api import Logger from .. import ( get_project_manager, get_current_project, diff --git a/pype/hosts/resolve/hooks/pre_resolve_setup.py b/openpype/hosts/resolve/hooks/pre_resolve_setup.py similarity index 96% rename from pype/hosts/resolve/hooks/pre_resolve_setup.py rename to openpype/hosts/resolve/hooks/pre_resolve_setup.py index 9e003cc538..0ee55d3790 100644 --- a/pype/hosts/resolve/hooks/pre_resolve_setup.py +++ b/openpype/hosts/resolve/hooks/pre_resolve_setup.py @@ -1,7 +1,7 @@ import os import importlib -from pype.lib import PreLaunchHook -from pype.hosts.resolve.api import utils +from openpype.lib import PreLaunchHook +from openpype.hosts.resolve.api import utils class ResolvePrelaunch(PreLaunchHook): diff --git a/pype/hosts/resolve/otio/__init__.py b/openpype/hosts/resolve/otio/__init__.py similarity index 100% rename from pype/hosts/resolve/otio/__init__.py rename to openpype/hosts/resolve/otio/__init__.py diff --git a/pype/hosts/resolve/otio/davinci_export.py b/openpype/hosts/resolve/otio/davinci_export.py similarity index 100% rename from pype/hosts/resolve/otio/davinci_export.py rename to openpype/hosts/resolve/otio/davinci_export.py diff --git a/pype/hosts/resolve/otio/davinci_import.py b/openpype/hosts/resolve/otio/davinci_import.py similarity index 100% rename from pype/hosts/resolve/otio/davinci_import.py rename to openpype/hosts/resolve/otio/davinci_import.py diff --git a/pype/hosts/resolve/otio/utils.py b/openpype/hosts/resolve/otio/utils.py similarity index 100% rename from pype/hosts/resolve/otio/utils.py rename to openpype/hosts/resolve/otio/utils.py diff --git a/pype/hosts/resolve/plugins/create/create_shot_clip.py b/openpype/hosts/resolve/plugins/create/create_shot_clip.py similarity index 99% rename from pype/hosts/resolve/plugins/create/create_shot_clip.py rename to openpype/hosts/resolve/plugins/create/create_shot_clip.py index c9bb61a9da..2916a52298 100644 --- a/pype/hosts/resolve/plugins/create/create_shot_clip.py +++ b/openpype/hosts/resolve/plugins/create/create_shot_clip.py @@ -1,6 +1,6 @@ # from pprint import pformat -from pype.hosts import resolve -from pype.hosts.resolve.api import lib +from openpype.hosts import resolve +from openpype.hosts.resolve.api import lib class CreateShotClip(resolve.Creator): diff --git a/pype/hosts/resolve/plugins/load/load_clip.py b/openpype/hosts/resolve/plugins/load/load_clip.py similarity index 99% rename from pype/hosts/resolve/plugins/load/load_clip.py rename to openpype/hosts/resolve/plugins/load/load_clip.py index 13f713a64f..e2e1c50365 100644 --- a/pype/hosts/resolve/plugins/load/load_clip.py +++ b/openpype/hosts/resolve/plugins/load/load_clip.py @@ -1,5 +1,5 @@ from avalon import io, api -from pype.hosts import resolve +from openpype.hosts import resolve from copy import deepcopy diff --git a/pype/hosts/resolve/plugins/publish/collect_instances.py b/openpype/hosts/resolve/plugins/publish/collect_instances.py similarity index 99% rename from pype/hosts/resolve/plugins/publish/collect_instances.py rename to openpype/hosts/resolve/plugins/publish/collect_instances.py index 2465e2e2c4..f4eeb39754 100644 --- a/pype/hosts/resolve/plugins/publish/collect_instances.py +++ b/openpype/hosts/resolve/plugins/publish/collect_instances.py @@ -1,5 +1,5 @@ import pyblish -from pype.hosts import resolve +from openpype.hosts import resolve # # developer reload modules from pprint import pformat diff --git a/pype/hosts/resolve/plugins/publish/collect_workfile.py b/openpype/hosts/resolve/plugins/publish/collect_workfile.py similarity index 94% rename from pype/hosts/resolve/plugins/publish/collect_workfile.py rename to openpype/hosts/resolve/plugins/publish/collect_workfile.py index f7f90c9689..a66284ed02 100644 --- a/pype/hosts/resolve/plugins/publish/collect_workfile.py +++ b/openpype/hosts/resolve/plugins/publish/collect_workfile.py @@ -1,11 +1,11 @@ import pyblish.api -from pype.hosts import resolve +from openpype.hosts import resolve from avalon import api as avalon from pprint import pformat # dev from importlib import reload -from pype.hosts.resolve.otio import davinci_export +from openpype.hosts.resolve.otio import davinci_export reload(davinci_export) diff --git a/pype/hosts/resolve/plugins/publish/extract_workfile.py b/openpype/hosts/resolve/plugins/publish/extract_workfile.py similarity index 93% rename from pype/hosts/resolve/plugins/publish/extract_workfile.py rename to openpype/hosts/resolve/plugins/publish/extract_workfile.py index e52e829ee4..e3d60465a2 100644 --- a/pype/hosts/resolve/plugins/publish/extract_workfile.py +++ b/openpype/hosts/resolve/plugins/publish/extract_workfile.py @@ -1,10 +1,10 @@ import os import pyblish.api -import pype.api -from pype.hosts import resolve +import openpype.api +from openpype.hosts import resolve -class ExtractWorkfile(pype.api.Extractor): +class ExtractWorkfile(openpype.api.Extractor): """ Extractor export DRP workfile file representation """ diff --git a/pype/hosts/resolve/utility_scripts/OTIO_export.py b/openpype/hosts/resolve/utility_scripts/OTIO_export.py similarity index 96% rename from pype/hosts/resolve/utility_scripts/OTIO_export.py rename to openpype/hosts/resolve/utility_scripts/OTIO_export.py index a1142f56dd..91bc2c5700 100644 --- a/pype/hosts/resolve/utility_scripts/OTIO_export.py +++ b/openpype/hosts/resolve/utility_scripts/OTIO_export.py @@ -1,6 +1,6 @@ #!/usr/bin/env python import os -from pype.hosts.resolve.otio import davinci_export as otio_export +from openpype.hosts.resolve.otio import davinci_export as otio_export resolve = bmd.scriptapp("Resolve") # noqa fu = resolve.Fusion() diff --git a/pype/hosts/resolve/utility_scripts/OTIO_import.py b/openpype/hosts/resolve/utility_scripts/OTIO_import.py similarity index 96% rename from pype/hosts/resolve/utility_scripts/OTIO_import.py rename to openpype/hosts/resolve/utility_scripts/OTIO_import.py index 5719ec3e3c..d8b630eb2a 100644 --- a/pype/hosts/resolve/utility_scripts/OTIO_import.py +++ b/openpype/hosts/resolve/utility_scripts/OTIO_import.py @@ -1,6 +1,6 @@ #!/usr/bin/env python import os -from pype.hosts.resolve.otio import davinci_import as otio_import +from openpype.hosts.resolve.otio import davinci_import as otio_import resolve = bmd.scriptapp("Resolve") # noqa fu = resolve.Fusion() diff --git a/pype/hosts/resolve/utility_scripts/OpenPype_sync_util_scripts.py b/openpype/hosts/resolve/utility_scripts/OpenPype_sync_util_scripts.py similarity index 72% rename from pype/hosts/resolve/utility_scripts/OpenPype_sync_util_scripts.py rename to openpype/hosts/resolve/utility_scripts/OpenPype_sync_util_scripts.py index 5b5d487c74..ac66916b91 100644 --- a/pype/hosts/resolve/utility_scripts/OpenPype_sync_util_scripts.py +++ b/openpype/hosts/resolve/utility_scripts/OpenPype_sync_util_scripts.py @@ -1,13 +1,13 @@ #!/usr/bin/env python import os import sys -import pype +import openpype def main(env): - import pype.hosts.resolve as bmdvr + import openpype.hosts.resolve as bmdvr # Registers openpype's Global pyblish plugins - pype.install() + openpype.install() bmdvr.setup(env) diff --git a/pype/hosts/resolve/utility_scripts/README.markdown b/openpype/hosts/resolve/utility_scripts/README.markdown similarity index 100% rename from pype/hosts/resolve/utility_scripts/README.markdown rename to openpype/hosts/resolve/utility_scripts/README.markdown diff --git a/pype/hosts/resolve/utility_scripts/__OpenPype__Menu__.py b/openpype/hosts/resolve/utility_scripts/__OpenPype__Menu__.py similarity index 78% rename from pype/hosts/resolve/utility_scripts/__OpenPype__Menu__.py rename to openpype/hosts/resolve/utility_scripts/__OpenPype__Menu__.py index d49e75bf3a..b1037a9c93 100644 --- a/pype/hosts/resolve/utility_scripts/__OpenPype__Menu__.py +++ b/openpype/hosts/resolve/utility_scripts/__OpenPype__Menu__.py @@ -1,17 +1,17 @@ import os import sys import avalon.api as avalon -import pype +import openpype -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger(__name__) def main(env): - import pype.hosts.resolve as bmdvr + import openpype.hosts.resolve as bmdvr # Registers openpype's Global pyblish plugins - pype.install() + openpype.install() # activate resolve from openpype avalon.install(bmdvr) diff --git a/pype/hosts/resolve/utility_scripts/tests/test_otio_as_edl.py b/openpype/hosts/resolve/utility_scripts/tests/test_otio_as_edl.py similarity index 89% rename from pype/hosts/resolve/utility_scripts/tests/test_otio_as_edl.py rename to openpype/hosts/resolve/utility_scripts/tests/test_otio_as_edl.py index 819bcaa0d2..5430ad32df 100644 --- a/pype/hosts/resolve/utility_scripts/tests/test_otio_as_edl.py +++ b/openpype/hosts/resolve/utility_scripts/tests/test_otio_as_edl.py @@ -2,11 +2,11 @@ import os import sys import avalon.api as avalon -import pype +import openpype import opentimelineio as otio -from pype.hosts.resolve import TestGUI -import pype.hosts.resolve as bmdvr -from pype.hosts.resolve.otio import davinci_export as otio_export +from openpype.hosts.resolve import TestGUI +import openpype.hosts.resolve as bmdvr +from openpype.hosts.resolve.otio import davinci_export as otio_export class ThisTestGUI(TestGUI): @@ -15,7 +15,7 @@ class ThisTestGUI(TestGUI): def __init__(self): super(ThisTestGUI, self).__init__() # Registers openpype's Global pyblish plugins - pype.install() + openpype.install() # activate resolve from openpype avalon.install(bmdvr) diff --git a/pype/hosts/resolve/utility_scripts/tests/testing_create_timeline_item_from_path.py b/openpype/hosts/resolve/utility_scripts/tests/testing_create_timeline_item_from_path.py similarity index 94% rename from pype/hosts/resolve/utility_scripts/tests/testing_create_timeline_item_from_path.py rename to openpype/hosts/resolve/utility_scripts/tests/testing_create_timeline_item_from_path.py index 4c47242ab5..afa311e0b8 100644 --- a/pype/hosts/resolve/utility_scripts/tests/testing_create_timeline_item_from_path.py +++ b/openpype/hosts/resolve/utility_scripts/tests/testing_create_timeline_item_from_path.py @@ -2,9 +2,9 @@ import os import sys import avalon.api as avalon -import pype -from pype.hosts.resolve import TestGUI -import pype.hosts.resolve as bmdvr +import openpype +from openpype.hosts.resolve import TestGUI +import openpype.hosts.resolve as bmdvr import clique @@ -14,7 +14,7 @@ class ThisTestGUI(TestGUI): def __init__(self): super(ThisTestGUI, self).__init__() # Registers openpype's Global pyblish plugins - pype.install() + openpype.install() # activate resolve from openpype avalon.install(bmdvr) diff --git a/pype/hosts/standalonepublisher/__init__.py b/openpype/hosts/standalonepublisher/__init__.py similarity index 100% rename from pype/hosts/standalonepublisher/__init__.py rename to openpype/hosts/standalonepublisher/__init__.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_batch_instances.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_batch_instances.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_batch_instances.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_batch_instances.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_bulk_mov_instances.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_bulk_mov_instances.py similarity index 98% rename from pype/hosts/standalonepublisher/plugins/publish/collect_bulk_mov_instances.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_bulk_mov_instances.py index cbb9d95e01..a5177335b3 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/collect_bulk_mov_instances.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/collect_bulk_mov_instances.py @@ -3,7 +3,7 @@ import json import pyblish.api from avalon import io -from pype.lib import get_subset_name +from openpype.lib import get_subset_name class CollectBulkMovInstances(pyblish.api.InstancePlugin): diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_clear_instances.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_clear_instances.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_clear_instances.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_clear_instances.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_context.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_context.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_context.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_context.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_editorial.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_editorial.py similarity index 99% rename from pype/hosts/standalonepublisher/plugins/publish/collect_editorial.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_editorial.py index afbdd87b2d..fc9d95d3d7 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/collect_editorial.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/collect_editorial.py @@ -17,7 +17,7 @@ Optional: import os import opentimelineio as otio import pyblish.api -from pype import lib as plib +from openpype import lib as plib class OTIO_View(pyblish.api.Action): diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_harmony_scenes.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_harmony_scenes.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_harmony_scenes.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_harmony_scenes.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_harmony_zips.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_harmony_zips.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_harmony_zips.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_harmony_zips.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_hierarchy.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_hierarchy.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_hierarchy.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_hierarchy.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_instance_data.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_instance_data.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_instance_data.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_instance_data.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_instance_resources.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_instance_resources.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_instance_resources.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_instance_resources.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_instances.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_instances.py similarity index 99% rename from pype/hosts/standalonepublisher/plugins/publish/collect_instances.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_instances.py index 090ffe2cbb..eb04217136 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/collect_instances.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/collect_instances.py @@ -1,7 +1,7 @@ import os import opentimelineio as otio import pyblish.api -from pype import lib as plib +from openpype import lib as plib class CollectInstances(pyblish.api.InstancePlugin): diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_matching_asset.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_matching_asset.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_matching_asset.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_matching_asset.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_matchmove.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_matchmove.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_matchmove.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_matchmove.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_remove_marked.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_remove_marked.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_remove_marked.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_remove_marked.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/collect_representation_names.py b/openpype/hosts/standalonepublisher/plugins/publish/collect_representation_names.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/collect_representation_names.py rename to openpype/hosts/standalonepublisher/plugins/publish/collect_representation_names.py diff --git a/pype/hosts/standalonepublisher/plugins/publish/extract_bg_for_compositing.py b/openpype/hosts/standalonepublisher/plugins/publish/extract_bg_for_compositing.py similarity index 99% rename from pype/hosts/standalonepublisher/plugins/publish/extract_bg_for_compositing.py rename to openpype/hosts/standalonepublisher/plugins/publish/extract_bg_for_compositing.py index db64a408e9..f07499c15d 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/extract_bg_for_compositing.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/extract_bg_for_compositing.py @@ -1,13 +1,13 @@ import os import json import copy -import pype.api +import openpype.api from avalon import io PSDImage = None -class ExtractBGForComp(pype.api.Extractor): +class ExtractBGForComp(openpype.api.Extractor): label = "Extract Background for Compositing" families = ["backgroundComp"] hosts = ["standalonepublisher"] diff --git a/pype/hosts/standalonepublisher/plugins/publish/extract_bg_main_groups.py b/openpype/hosts/standalonepublisher/plugins/publish/extract_bg_main_groups.py similarity index 99% rename from pype/hosts/standalonepublisher/plugins/publish/extract_bg_main_groups.py rename to openpype/hosts/standalonepublisher/plugins/publish/extract_bg_main_groups.py index e18baf378e..2c92366ae9 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/extract_bg_main_groups.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/extract_bg_main_groups.py @@ -1,14 +1,14 @@ import os import copy import json -import pype.api +import openpype.api import pyblish.api from avalon import io PSDImage = None -class ExtractBGMainGroups(pype.api.Extractor): +class ExtractBGMainGroups(openpype.api.Extractor): label = "Extract Background Layout" order = pyblish.api.ExtractorOrder + 0.02 families = ["backgroundLayout"] diff --git a/pype/hosts/standalonepublisher/plugins/publish/extract_harmony_zip.py b/openpype/hosts/standalonepublisher/plugins/publish/extract_harmony_zip.py similarity index 98% rename from pype/hosts/standalonepublisher/plugins/publish/extract_harmony_zip.py rename to openpype/hosts/standalonepublisher/plugins/publish/extract_harmony_zip.py index 16811e5707..f7f96c7d03 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/extract_harmony_zip.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/extract_harmony_zip.py @@ -10,10 +10,10 @@ import zipfile import pyblish.api from avalon import api, io -import pype.api +import openpype.api -class ExtractHarmonyZip(pype.api.Extractor): +class ExtractHarmonyZip(openpype.api.Extractor): """Extract Harmony zip.""" # Pyblish settings @@ -216,7 +216,7 @@ class ExtractHarmonyZip(pype.api.Extractor): "scene.xstage") # Setup the data needed to form a valid work path filename - anatomy = pype.api.Anatomy() + anatomy = openpype.api.Anatomy() project_entity = instance.context.data["projectEntity"] data = { @@ -226,7 +226,7 @@ class ExtractHarmonyZip(pype.api.Extractor): "code": project_entity["data"].get("code", '') }, "asset": instance.data["asset"], - "hierarchy": pype.api.get_hierarchy(instance.data["asset"]), + "hierarchy": openpype.api.get_hierarchy(instance.data["asset"]), "family": instance.data["family"], "task": instance.data.get("task"), "subset": instance.data["subset"], diff --git a/pype/hosts/standalonepublisher/plugins/publish/extract_images_from_psd.py b/openpype/hosts/standalonepublisher/plugins/publish/extract_images_from_psd.py similarity index 98% rename from pype/hosts/standalonepublisher/plugins/publish/extract_images_from_psd.py rename to openpype/hosts/standalonepublisher/plugins/publish/extract_images_from_psd.py index 3cffaf17d9..e3094b2e3f 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/extract_images_from_psd.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/extract_images_from_psd.py @@ -1,13 +1,13 @@ import os import copy -import pype.api +import openpype.api import pyblish.api from avalon import io PSDImage = None -class ExtractImagesFromPSD(pype.api.Extractor): +class ExtractImagesFromPSD(openpype.api.Extractor): # PLUGIN is not currently enabled because was decided to use different # approach enabled = False diff --git a/pype/hosts/standalonepublisher/plugins/publish/extract_thumbnail.py b/openpype/hosts/standalonepublisher/plugins/publish/extract_thumbnail.py similarity index 97% rename from pype/hosts/standalonepublisher/plugins/publish/extract_thumbnail.py rename to openpype/hosts/standalonepublisher/plugins/publish/extract_thumbnail.py index 533421e46d..ac1dfa13d4 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/extract_thumbnail.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/extract_thumbnail.py @@ -2,8 +2,8 @@ import os import tempfile import subprocess import pyblish.api -import pype.api -import pype.lib +import openpype.api +import openpype.lib class ExtractThumbnailSP(pyblish.api.InstancePlugin): @@ -73,7 +73,7 @@ class ExtractThumbnailSP(pyblish.api.InstancePlugin): full_thumbnail_path = tempfile.mkstemp(suffix=".jpg")[1] self.log.info("output {}".format(full_thumbnail_path)) - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") ffmpeg_args = self.ffmpeg_args or {} diff --git a/pype/hosts/standalonepublisher/plugins/publish/extract_trim_video_audio.py b/openpype/hosts/standalonepublisher/plugins/publish/extract_trim_video_audio.py similarity index 94% rename from pype/hosts/standalonepublisher/plugins/publish/extract_trim_video_audio.py rename to openpype/hosts/standalonepublisher/plugins/publish/extract_trim_video_audio.py index 1c53ae5f46..eb613fa951 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/extract_trim_video_audio.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/extract_trim_video_audio.py @@ -1,11 +1,11 @@ import os import pyblish.api -import pype.api +import openpype.api from pprint import pformat -class ExtractTrimVideoAudio(pype.api.Extractor): +class ExtractTrimVideoAudio(openpype.api.Extractor): """Trim with ffmpeg "mov" and "wav" files.""" # must be before `ExtractThumbnailSP` @@ -27,7 +27,7 @@ class ExtractTrimVideoAudio(pype.api.Extractor): instance.data["representations"] = list() # get ffmpet path - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") # get staging dir staging_dir = self.staging_dir(instance) @@ -80,7 +80,7 @@ class ExtractTrimVideoAudio(pype.api.Extractor): self.log.info(f"Processing: {args}") ffmpeg_args = " ".join(args) - pype.api.run_subprocess( + openpype.api.run_subprocess( ffmpeg_args, shell=True, logger=self.log ) diff --git a/pype/hosts/standalonepublisher/plugins/publish/validate_editorial_resources.py b/openpype/hosts/standalonepublisher/plugins/publish/validate_editorial_resources.py similarity index 91% rename from pype/hosts/standalonepublisher/plugins/publish/validate_editorial_resources.py rename to openpype/hosts/standalonepublisher/plugins/publish/validate_editorial_resources.py index 0dfca92f66..6759b87ceb 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/validate_editorial_resources.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/validate_editorial_resources.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidateEditorialResources(pyblish.api.InstancePlugin): @@ -12,7 +12,7 @@ class ValidateEditorialResources(pyblish.api.InstancePlugin): # make sure it is enabled only if at least both families are available match = pyblish.api.Subset - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder def process(self, instance): self.log.debug( diff --git a/pype/hosts/standalonepublisher/plugins/publish/validate_shot_duplicates.py b/openpype/hosts/standalonepublisher/plugins/publish/validate_shot_duplicates.py similarity index 90% rename from pype/hosts/standalonepublisher/plugins/publish/validate_shot_duplicates.py rename to openpype/hosts/standalonepublisher/plugins/publish/validate_shot_duplicates.py index 04d2f3ea6c..85ec9379ce 100644 --- a/pype/hosts/standalonepublisher/plugins/publish/validate_shot_duplicates.py +++ b/openpype/hosts/standalonepublisher/plugins/publish/validate_shot_duplicates.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidateShotDuplicates(pyblish.api.ContextPlugin): @@ -7,7 +7,7 @@ class ValidateShotDuplicates(pyblish.api.ContextPlugin): label = "Validate Shot Duplicates" hosts = ["standalonepublisher"] - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder def process(self, context): shot_names = [] diff --git a/pype/hosts/standalonepublisher/plugins/publish/validate_task_existence.py b/openpype/hosts/standalonepublisher/plugins/publish/validate_task_existence.py similarity index 100% rename from pype/hosts/standalonepublisher/plugins/publish/validate_task_existence.py rename to openpype/hosts/standalonepublisher/plugins/publish/validate_task_existence.py diff --git a/pype/hosts/tvpaint/__init__.py b/openpype/hosts/tvpaint/__init__.py similarity index 100% rename from pype/hosts/tvpaint/__init__.py rename to openpype/hosts/tvpaint/__init__.py diff --git a/pype/hosts/tvpaint/api/__init__.py b/openpype/hosts/tvpaint/api/__init__.py similarity index 98% rename from pype/hosts/tvpaint/api/__init__.py rename to openpype/hosts/tvpaint/api/__init__.py index 08484895c9..2f7cb59b25 100644 --- a/pype/hosts/tvpaint/api/__init__.py +++ b/openpype/hosts/tvpaint/api/__init__.py @@ -6,7 +6,7 @@ from avalon.tvpaint import pipeline import avalon.api import pyblish.api -from pype.hosts import tvpaint +from openpype.hosts import tvpaint log = logging.getLogger("pype.hosts.tvpaint") diff --git a/pype/hosts/tvpaint/api/lib.py b/openpype/hosts/tvpaint/api/lib.py similarity index 100% rename from pype/hosts/tvpaint/api/lib.py rename to openpype/hosts/tvpaint/api/lib.py diff --git a/pype/hosts/tvpaint/api/plugin.py b/openpype/hosts/tvpaint/api/plugin.py similarity index 70% rename from pype/hosts/tvpaint/api/plugin.py rename to openpype/hosts/tvpaint/api/plugin.py index 6f069586a5..3eb9a5be31 100644 --- a/pype/hosts/tvpaint/api/plugin.py +++ b/openpype/hosts/tvpaint/api/plugin.py @@ -1,4 +1,4 @@ -from pype.api import PypeCreatorMixin +from openpype.api import PypeCreatorMixin from avalon.tvpaint import pipeline diff --git a/pype/hosts/tvpaint/hooks/pre_launch_args.py b/openpype/hosts/tvpaint/hooks/pre_launch_args.py similarity index 98% rename from pype/hosts/tvpaint/hooks/pre_launch_args.py rename to openpype/hosts/tvpaint/hooks/pre_launch_args.py index 2bba9c950f..04cca5d789 100644 --- a/pype/hosts/tvpaint/hooks/pre_launch_args.py +++ b/openpype/hosts/tvpaint/hooks/pre_launch_args.py @@ -1,8 +1,8 @@ import os import shutil -from pype.hosts import tvpaint -from pype.lib import ( +from openpype.hosts import tvpaint +from openpype.lib import ( PreLaunchHook, get_pype_execute_args ) diff --git a/pype/hosts/tvpaint/plugins/create/create_render_layer.py b/openpype/hosts/tvpaint/plugins/create/create_render_layer.py similarity index 99% rename from pype/hosts/tvpaint/plugins/create/create_render_layer.py rename to openpype/hosts/tvpaint/plugins/create/create_render_layer.py index ed7c96c904..585f0c87d7 100644 --- a/pype/hosts/tvpaint/plugins/create/create_render_layer.py +++ b/openpype/hosts/tvpaint/plugins/create/create_render_layer.py @@ -1,5 +1,5 @@ from avalon.tvpaint import pipeline, lib -from pype.hosts.tvpaint.api import plugin +from openpype.hosts.tvpaint.api import plugin class CreateRenderlayer(plugin.Creator): diff --git a/pype/hosts/tvpaint/plugins/create/create_render_pass.py b/openpype/hosts/tvpaint/plugins/create/create_render_pass.py similarity index 98% rename from pype/hosts/tvpaint/plugins/create/create_render_pass.py rename to openpype/hosts/tvpaint/plugins/create/create_render_pass.py index 8583f20451..09c68930f2 100644 --- a/pype/hosts/tvpaint/plugins/create/create_render_pass.py +++ b/openpype/hosts/tvpaint/plugins/create/create_render_pass.py @@ -1,5 +1,5 @@ from avalon.tvpaint import pipeline, lib -from pype.hosts.tvpaint.api import plugin +from openpype.hosts.tvpaint.api import plugin class CreateRenderPass(plugin.Creator): diff --git a/pype/hosts/tvpaint/plugins/create/create_review.py b/openpype/hosts/tvpaint/plugins/create/create_review.py similarity index 91% rename from pype/hosts/tvpaint/plugins/create/create_review.py rename to openpype/hosts/tvpaint/plugins/create/create_review.py index cfc49a8ac6..88b039c8e4 100644 --- a/pype/hosts/tvpaint/plugins/create/create_review.py +++ b/openpype/hosts/tvpaint/plugins/create/create_review.py @@ -1,5 +1,5 @@ from avalon.tvpaint import pipeline -from pype.hosts.tvpaint.api import plugin +from openpype.hosts.tvpaint.api import plugin class CreateReview(plugin.Creator): diff --git a/pype/hosts/tvpaint/plugins/load/load_image.py b/openpype/hosts/tvpaint/plugins/load/load_image.py similarity index 100% rename from pype/hosts/tvpaint/plugins/load/load_image.py rename to openpype/hosts/tvpaint/plugins/load/load_image.py diff --git a/pype/hosts/tvpaint/plugins/load/load_reference_image.py b/openpype/hosts/tvpaint/plugins/load/load_reference_image.py similarity index 100% rename from pype/hosts/tvpaint/plugins/load/load_reference_image.py rename to openpype/hosts/tvpaint/plugins/load/load_reference_image.py diff --git a/pype/hosts/tvpaint/plugins/load/load_sound.py b/openpype/hosts/tvpaint/plugins/load/load_sound.py similarity index 100% rename from pype/hosts/tvpaint/plugins/load/load_sound.py rename to openpype/hosts/tvpaint/plugins/load/load_sound.py diff --git a/pype/hosts/tvpaint/plugins/publish/collect_instances.py b/openpype/hosts/tvpaint/plugins/publish/collect_instances.py similarity index 100% rename from pype/hosts/tvpaint/plugins/publish/collect_instances.py rename to openpype/hosts/tvpaint/plugins/publish/collect_instances.py diff --git a/pype/hosts/tvpaint/plugins/publish/collect_workfile_data.py b/openpype/hosts/tvpaint/plugins/publish/collect_workfile_data.py similarity index 100% rename from pype/hosts/tvpaint/plugins/publish/collect_workfile_data.py rename to openpype/hosts/tvpaint/plugins/publish/collect_workfile_data.py diff --git a/pype/hosts/tvpaint/plugins/publish/extract_sequence.py b/openpype/hosts/tvpaint/plugins/publish/extract_sequence.py similarity index 99% rename from pype/hosts/tvpaint/plugins/publish/extract_sequence.py rename to openpype/hosts/tvpaint/plugins/publish/extract_sequence.py index 41117851b7..0d125a1a50 100644 --- a/pype/hosts/tvpaint/plugins/publish/extract_sequence.py +++ b/openpype/hosts/tvpaint/plugins/publish/extract_sequence.py @@ -6,7 +6,7 @@ import multiprocessing import pyblish.api from avalon.tvpaint import lib -from pype.hosts.tvpaint.api.lib import composite_images +from openpype.hosts.tvpaint.api.lib import composite_images from PIL import Image, ImageDraw diff --git a/pype/hosts/tvpaint/plugins/publish/validate_duplicated_layer_names.py b/openpype/hosts/tvpaint/plugins/publish/validate_duplicated_layer_names.py similarity index 100% rename from pype/hosts/tvpaint/plugins/publish/validate_duplicated_layer_names.py rename to openpype/hosts/tvpaint/plugins/publish/validate_duplicated_layer_names.py diff --git a/pype/hosts/tvpaint/plugins/publish/validate_layers_visibility.py b/openpype/hosts/tvpaint/plugins/publish/validate_layers_visibility.py similarity index 100% rename from pype/hosts/tvpaint/plugins/publish/validate_layers_visibility.py rename to openpype/hosts/tvpaint/plugins/publish/validate_layers_visibility.py diff --git a/pype/hosts/tvpaint/plugins/publish/validate_missing_layer_names.py b/openpype/hosts/tvpaint/plugins/publish/validate_missing_layer_names.py similarity index 100% rename from pype/hosts/tvpaint/plugins/publish/validate_missing_layer_names.py rename to openpype/hosts/tvpaint/plugins/publish/validate_missing_layer_names.py diff --git a/pype/hosts/tvpaint/plugins/publish/validate_render_pass_group.py b/openpype/hosts/tvpaint/plugins/publish/validate_render_pass_group.py similarity index 100% rename from pype/hosts/tvpaint/plugins/publish/validate_render_pass_group.py rename to openpype/hosts/tvpaint/plugins/publish/validate_render_pass_group.py diff --git a/pype/hosts/tvpaint/plugins/publish/validate_workfile_project_name.py b/openpype/hosts/tvpaint/plugins/publish/validate_workfile_project_name.py similarity index 100% rename from pype/hosts/tvpaint/plugins/publish/validate_workfile_project_name.py rename to openpype/hosts/tvpaint/plugins/publish/validate_workfile_project_name.py diff --git a/pype/hosts/tvpaint/resources/avalon.loc b/openpype/hosts/tvpaint/resources/avalon.loc similarity index 100% rename from pype/hosts/tvpaint/resources/avalon.loc rename to openpype/hosts/tvpaint/resources/avalon.loc diff --git a/pype/hosts/tvpaint/resources/template.tvpp b/openpype/hosts/tvpaint/resources/template.tvpp similarity index 100% rename from pype/hosts/tvpaint/resources/template.tvpp rename to openpype/hosts/tvpaint/resources/template.tvpp diff --git a/pype/hosts/unreal/api/__init__.py b/openpype/hosts/unreal/api/__init__.py similarity index 92% rename from pype/hosts/unreal/api/__init__.py rename to openpype/hosts/unreal/api/__init__.py index 15479ba952..f13a51db93 100644 --- a/pype/hosts/unreal/api/__init__.py +++ b/openpype/hosts/unreal/api/__init__.py @@ -3,11 +3,11 @@ import logging from avalon import api as avalon from pyblish import api as pyblish -import pype.hosts.unreal +import openpype.hosts.unreal logger = logging.getLogger("pype.hosts.unreal") -HOST_DIR = os.path.dirname(os.path.abspath(pype.hosts.unreal.__file__)) +HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.unreal.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") PUBLISH_PATH = os.path.join(PLUGINS_DIR, "publish") LOAD_PATH = os.path.join(PLUGINS_DIR, "load") diff --git a/pype/hosts/unreal/api/lib.py b/openpype/hosts/unreal/api/lib.py similarity index 99% rename from pype/hosts/unreal/api/lib.py rename to openpype/hosts/unreal/api/lib.py index 0b0c5b608d..7e706a2789 100644 --- a/pype/hosts/unreal/api/lib.py +++ b/openpype/hosts/unreal/api/lib.py @@ -4,7 +4,7 @@ import platform import json from distutils import dir_util import subprocess -from pype.api import get_project_settings +from openpype.api import get_project_settings def get_engine_versions(): diff --git a/pype/hosts/unreal/api/plugin.py b/openpype/hosts/unreal/api/plugin.py similarity index 79% rename from pype/hosts/unreal/api/plugin.py rename to openpype/hosts/unreal/api/plugin.py index 94ecd3083b..66f1274092 100644 --- a/pype/hosts/unreal/api/plugin.py +++ b/openpype/hosts/unreal/api/plugin.py @@ -1,8 +1,8 @@ from avalon import api -import pype.api +import openpype.api -class Creator(pype.api.Creator): +class Creator(openpype.api.Creator): """This serves as skeleton for future Pype specific functionality""" pass diff --git a/pype/hosts/unreal/hooks/pre_workfile_preparation.py b/openpype/hosts/unreal/hooks/pre_workfile_preparation.py similarity index 97% rename from pype/hosts/unreal/hooks/pre_workfile_preparation.py rename to openpype/hosts/unreal/hooks/pre_workfile_preparation.py index 942cb3bdab..5945d0486b 100644 --- a/pype/hosts/unreal/hooks/pre_workfile_preparation.py +++ b/openpype/hosts/unreal/hooks/pre_workfile_preparation.py @@ -1,10 +1,10 @@ import os -from pype.lib import ( +from openpype.lib import ( PreLaunchHook, ApplicationLaunchFailed ) -from pype.hosts.unreal.api import lib as unreal_lib +from openpype.hosts.unreal.api import lib as unreal_lib class UnrealPrelaunchHook(PreLaunchHook): diff --git a/pype/hosts/unreal/plugins/__init__.py b/openpype/hosts/unreal/plugins/__init__.py similarity index 100% rename from pype/hosts/unreal/plugins/__init__.py rename to openpype/hosts/unreal/plugins/__init__.py diff --git a/pype/hosts/unreal/plugins/create/create_layout.py b/openpype/hosts/unreal/plugins/create/create_layout.py similarity index 95% rename from pype/hosts/unreal/plugins/create/create_layout.py rename to openpype/hosts/unreal/plugins/create/create_layout.py index e810357c8a..239b72787b 100644 --- a/pype/hosts/unreal/plugins/create/create_layout.py +++ b/openpype/hosts/unreal/plugins/create/create_layout.py @@ -1,5 +1,5 @@ from unreal import EditorLevelLibrary as ell -from pype.hosts.unreal.api.plugin import Creator +from openpype.hosts.unreal.api.plugin import Creator from avalon.unreal import ( instantiate, ) diff --git a/pype/hosts/unreal/plugins/create/create_staticmeshfbx.py b/openpype/hosts/unreal/plugins/create/create_staticmeshfbx.py similarity index 94% rename from pype/hosts/unreal/plugins/create/create_staticmeshfbx.py rename to openpype/hosts/unreal/plugins/create/create_staticmeshfbx.py index 8f414ac56d..4cc67e0f1f 100644 --- a/pype/hosts/unreal/plugins/create/create_staticmeshfbx.py +++ b/openpype/hosts/unreal/plugins/create/create_staticmeshfbx.py @@ -1,5 +1,5 @@ import unreal -from pype.hosts.unreal.api.plugin import Creator +from openpype.hosts.unreal.api.plugin import Creator from avalon.unreal import ( instantiate, ) diff --git a/pype/hosts/unreal/plugins/load/load_animation.py b/openpype/hosts/unreal/plugins/load/load_animation.py similarity index 100% rename from pype/hosts/unreal/plugins/load/load_animation.py rename to openpype/hosts/unreal/plugins/load/load_animation.py diff --git a/pype/hosts/unreal/plugins/load/load_rig.py b/openpype/hosts/unreal/plugins/load/load_rig.py similarity index 100% rename from pype/hosts/unreal/plugins/load/load_rig.py rename to openpype/hosts/unreal/plugins/load/load_rig.py diff --git a/pype/hosts/unreal/plugins/load/load_setdress.py b/openpype/hosts/unreal/plugins/load/load_setdress.py similarity index 100% rename from pype/hosts/unreal/plugins/load/load_setdress.py rename to openpype/hosts/unreal/plugins/load/load_setdress.py diff --git a/pype/hosts/unreal/plugins/load/load_staticmeshfbx.py b/openpype/hosts/unreal/plugins/load/load_staticmeshfbx.py similarity index 100% rename from pype/hosts/unreal/plugins/load/load_staticmeshfbx.py rename to openpype/hosts/unreal/plugins/load/load_staticmeshfbx.py diff --git a/pype/hosts/unreal/plugins/publish/collect_current_file.py b/openpype/hosts/unreal/plugins/publish/collect_current_file.py similarity index 100% rename from pype/hosts/unreal/plugins/publish/collect_current_file.py rename to openpype/hosts/unreal/plugins/publish/collect_current_file.py diff --git a/pype/hosts/unreal/plugins/publish/collect_instances.py b/openpype/hosts/unreal/plugins/publish/collect_instances.py similarity index 100% rename from pype/hosts/unreal/plugins/publish/collect_instances.py rename to openpype/hosts/unreal/plugins/publish/collect_instances.py diff --git a/pype/hosts/unreal/plugins/publish/extract_layout.py b/openpype/hosts/unreal/plugins/publish/extract_layout.py similarity index 98% rename from pype/hosts/unreal/plugins/publish/extract_layout.py rename to openpype/hosts/unreal/plugins/publish/extract_layout.py index 6345b8da51..5924221f51 100644 --- a/pype/hosts/unreal/plugins/publish/extract_layout.py +++ b/openpype/hosts/unreal/plugins/publish/extract_layout.py @@ -6,11 +6,11 @@ import unreal from unreal import EditorLevelLibrary as ell from unreal import EditorAssetLibrary as eal -import pype.api +import openpype.api from avalon import io -class ExtractLayout(pype.api.Extractor): +class ExtractLayout(openpype.api.Extractor): """Extract a layout.""" label = "Extract Layout" diff --git a/pype/launcher_actions.py b/openpype/launcher_actions.py similarity index 100% rename from pype/launcher_actions.py rename to openpype/launcher_actions.py diff --git a/pype/lib/__init__.py b/openpype/lib/__init__.py similarity index 100% rename from pype/lib/__init__.py rename to openpype/lib/__init__.py diff --git a/pype/lib/abstract_collect_render.py b/openpype/lib/abstract_collect_render.py similarity index 100% rename from pype/lib/abstract_collect_render.py rename to openpype/lib/abstract_collect_render.py diff --git a/pype/lib/abstract_expected_files.py b/openpype/lib/abstract_expected_files.py similarity index 100% rename from pype/lib/abstract_expected_files.py rename to openpype/lib/abstract_expected_files.py diff --git a/pype/lib/abstract_metaplugins.py b/openpype/lib/abstract_metaplugins.py similarity index 100% rename from pype/lib/abstract_metaplugins.py rename to openpype/lib/abstract_metaplugins.py diff --git a/pype/lib/abstract_submit_deadline.py b/openpype/lib/abstract_submit_deadline.py similarity index 100% rename from pype/lib/abstract_submit_deadline.py rename to openpype/lib/abstract_submit_deadline.py diff --git a/pype/lib/anatomy.py b/openpype/lib/anatomy.py similarity index 99% rename from pype/lib/anatomy.py rename to openpype/lib/anatomy.py index 4c1a183ce0..ff15aec41a 100644 --- a/pype/lib/anatomy.py +++ b/openpype/lib/anatomy.py @@ -5,7 +5,7 @@ import platform import collections import numbers -from pype.settings.lib import ( +from openpype.settings.lib import ( get_default_anatomy_settings, get_anatomy_settings ) diff --git a/pype/lib/applications.py b/openpype/lib/applications.py similarity index 99% rename from pype/lib/applications.py rename to openpype/lib/applications.py index 4ebf34597f..4917010b9d 100644 --- a/pype/lib/applications.py +++ b/openpype/lib/applications.py @@ -12,7 +12,7 @@ from abc import ABCMeta, abstractmethod import six -from pype.settings import ( +from openpype.settings import ( get_system_settings, get_project_settings, get_environments @@ -639,8 +639,8 @@ class ApplicationLaunchContext: paths = [] # TODO load additional studio paths from settings - import pype - pype_dir = os.path.dirname(os.path.abspath(pype.__file__)) + import openpype + pype_dir = os.path.dirname(os.path.abspath(openpype.__file__)) # --- START: Backwards compatibility --- hooks_dir = os.path.join(pype_dir, "hooks") @@ -670,7 +670,7 @@ class ApplicationLaunchContext: paths.append(path) # Load modules paths - from pype.modules import ModulesManager + from openpype.modules import ModulesManager manager = ModulesManager() paths.extend(manager.collect_launch_hook_paths()) diff --git a/pype/lib/avalon_context.py b/openpype/lib/avalon_context.py similarity index 99% rename from pype/lib/avalon_context.py rename to openpype/lib/avalon_context.py index 393b6820fa..1f7c693b85 100644 --- a/pype/lib/avalon_context.py +++ b/openpype/lib/avalon_context.py @@ -7,7 +7,7 @@ import logging import collections import functools -from pype.settings import get_project_settings +from openpype.settings import get_project_settings from .anatomy import Anatomy # avalon module is not imported at the top diff --git a/pype/lib/config.py b/openpype/lib/config.py similarity index 100% rename from pype/lib/config.py rename to openpype/lib/config.py diff --git a/pype/lib/editorial.py b/openpype/lib/editorial.py similarity index 100% rename from pype/lib/editorial.py rename to openpype/lib/editorial.py diff --git a/pype/lib/env_tools.py b/openpype/lib/env_tools.py similarity index 97% rename from pype/lib/env_tools.py rename to openpype/lib/env_tools.py index 7e392fad6e..025c13a322 100644 --- a/pype/lib/env_tools.py +++ b/openpype/lib/env_tools.py @@ -1,5 +1,5 @@ import os -from pype.settings import get_environments +from openpype.settings import get_environments def env_value_to_bool(env_key=None, value=None, default=False): @@ -88,7 +88,7 @@ def get_global_environments(env=None): """ import acre - from pype.modules import ModulesManager + from openpype.modules import ModulesManager if env is None: env = {} diff --git a/pype/lib/execute.py b/openpype/lib/execute.py similarity index 100% rename from pype/lib/execute.py rename to openpype/lib/execute.py diff --git a/pype/lib/ffmpeg_utils.py b/openpype/lib/ffmpeg_utils.py similarity index 100% rename from pype/lib/ffmpeg_utils.py rename to openpype/lib/ffmpeg_utils.py diff --git a/pype/lib/git_progress.py b/openpype/lib/git_progress.py similarity index 100% rename from pype/lib/git_progress.py rename to openpype/lib/git_progress.py diff --git a/pype/lib/import_utils.py b/openpype/lib/import_utils.py similarity index 100% rename from pype/lib/import_utils.py rename to openpype/lib/import_utils.py diff --git a/pype/lib/local_settings.py b/openpype/lib/local_settings.py similarity index 100% rename from pype/lib/local_settings.py rename to openpype/lib/local_settings.py diff --git a/pype/lib/log.py b/openpype/lib/log.py similarity index 100% rename from pype/lib/log.py rename to openpype/lib/log.py diff --git a/pype/lib/mongo.py b/openpype/lib/mongo.py similarity index 100% rename from pype/lib/mongo.py rename to openpype/lib/mongo.py diff --git a/pype/lib/path_tools.py b/openpype/lib/path_tools.py similarity index 100% rename from pype/lib/path_tools.py rename to openpype/lib/path_tools.py diff --git a/pype/lib/plugin_tools.py b/openpype/lib/plugin_tools.py similarity index 99% rename from pype/lib/plugin_tools.py rename to openpype/lib/plugin_tools.py index f352f134d0..eb024383d3 100644 --- a/pype/lib/plugin_tools.py +++ b/openpype/lib/plugin_tools.py @@ -10,7 +10,7 @@ import tempfile from .execute import run_subprocess from .profiles_filtering import filter_profiles -from pype.settings import get_project_settings +from openpype.settings import get_project_settings log = logging.getLogger(__name__) diff --git a/pype/lib/profiles_filtering.py b/openpype/lib/profiles_filtering.py similarity index 100% rename from pype/lib/profiles_filtering.py rename to openpype/lib/profiles_filtering.py diff --git a/pype/lib/profiling.py b/openpype/lib/profiling.py similarity index 100% rename from pype/lib/profiling.py rename to openpype/lib/profiling.py diff --git a/pype/lib/pype_info.py b/openpype/lib/pype_info.py similarity index 95% rename from pype/lib/pype_info.py rename to openpype/lib/pype_info.py index d9e810e556..93d669eb0d 100644 --- a/pype/lib/pype_info.py +++ b/openpype/lib/pype_info.py @@ -5,15 +5,15 @@ import platform import getpass import socket -import pype.version -from pype.settings.lib import get_local_settings +import openpype.version +from openpype.settings.lib import get_local_settings from .execute import get_pype_execute_args from .local_settings import get_local_site_id def get_pype_version(): """Version of pype that is currently used.""" - return pype.version.__version__ + return openpype.version.__version__ def get_pype_info(): diff --git a/pype/lib/python_module_tools.py b/openpype/lib/python_module_tools.py similarity index 100% rename from pype/lib/python_module_tools.py rename to openpype/lib/python_module_tools.py diff --git a/pype/lib/splash.txt b/openpype/lib/splash.txt similarity index 100% rename from pype/lib/splash.txt rename to openpype/lib/splash.txt diff --git a/pype/lib/terminal.py b/openpype/lib/terminal.py similarity index 99% rename from pype/lib/terminal.py rename to openpype/lib/terminal.py index 9e9bfa9790..ddc917ac4e 100644 --- a/pype/lib/terminal.py +++ b/openpype/lib/terminal.py @@ -48,7 +48,7 @@ class Terminal: Set `_initialized` attribute to `True` when is done. """ - from pype.lib import env_value_to_bool + from openpype.lib import env_value_to_bool use_colors = env_value_to_bool( "OPENPYPE_LOG_NO_COLORS", default=Terminal.use_colors ) diff --git a/pype/lib/terminal_splash.py b/openpype/lib/terminal_splash.py similarity index 100% rename from pype/lib/terminal_splash.py rename to openpype/lib/terminal_splash.py diff --git a/pype/modules/README.md b/openpype/modules/README.md similarity index 100% rename from pype/modules/README.md rename to openpype/modules/README.md diff --git a/pype/modules/__init__.py b/openpype/modules/__init__.py similarity index 100% rename from pype/modules/__init__.py rename to openpype/modules/__init__.py diff --git a/pype/modules/avalon_apps/__init__.py b/openpype/modules/avalon_apps/__init__.py similarity index 100% rename from pype/modules/avalon_apps/__init__.py rename to openpype/modules/avalon_apps/__init__.py diff --git a/pype/modules/avalon_apps/avalon_app.py b/openpype/modules/avalon_apps/avalon_app.py similarity index 98% rename from pype/modules/avalon_apps/avalon_app.py rename to openpype/modules/avalon_apps/avalon_app.py index 60f62fe731..243c4f928a 100644 --- a/pype/modules/avalon_apps/avalon_app.py +++ b/openpype/modules/avalon_apps/avalon_app.py @@ -1,6 +1,6 @@ import os -import pype -from pype import resources +import openpype +from openpype import resources from .. import ( PypeModule, ITrayModule, diff --git a/pype/modules/avalon_apps/rest_api.py b/openpype/modules/avalon_apps/rest_api.py similarity index 98% rename from pype/modules/avalon_apps/rest_api.py rename to openpype/modules/avalon_apps/rest_api.py index 459103594a..b77c256398 100644 --- a/pype/modules/avalon_apps/rest_api.py +++ b/openpype/modules/avalon_apps/rest_api.py @@ -10,7 +10,7 @@ import bson.json_util from aiohttp.web_response import Response from avalon.api import AvalonMongoDB -from pype.modules.webserver.base_routes import RestApiEndpoint +from openpype.modules.webserver.base_routes import RestApiEndpoint class _RestApiEndpoint(RestApiEndpoint): diff --git a/pype/modules/base.py b/openpype/modules/base.py similarity index 98% rename from pype/modules/base.py rename to openpype/modules/base.py index fe68c14705..b8d76aa028 100644 --- a/pype/modules/base.py +++ b/openpype/modules/base.py @@ -8,10 +8,10 @@ from uuid import uuid4 from abc import ABCMeta, abstractmethod import six -import pype -from pype.settings import get_system_settings -from pype.lib import PypeLogger -from pype import resources +import openpype +from openpype.settings import get_system_settings +from openpype.lib import PypeLogger +from openpype import resources @six.add_metaclass(ABCMeta) @@ -322,13 +322,13 @@ class ModulesManager: prev_start_time = time_start # Go through globals in `pype.modules` - for name in dir(pype.modules): - modules_item = getattr(pype.modules, name, None) + for name in dir(openpype.modules): + modules_item = getattr(openpype.modules, name, None) # Filter globals that are not classes which inherit from PypeModule if ( not inspect.isclass(modules_item) - or modules_item is pype.modules.PypeModule - or not issubclass(modules_item, pype.modules.PypeModule) + or modules_item is openpype.modules.PypeModule + or not issubclass(modules_item, openpype.modules.PypeModule) ): continue diff --git a/pype/modules/clockify/__init__.py b/openpype/modules/clockify/__init__.py similarity index 100% rename from pype/modules/clockify/__init__.py rename to openpype/modules/clockify/__init__.py diff --git a/pype/modules/clockify/clockify_api.py b/openpype/modules/clockify/clockify_api.py similarity index 100% rename from pype/modules/clockify/clockify_api.py rename to openpype/modules/clockify/clockify_api.py diff --git a/pype/modules/clockify/clockify_module.py b/openpype/modules/clockify/clockify_module.py similarity index 99% rename from pype/modules/clockify/clockify_module.py rename to openpype/modules/clockify/clockify_module.py index a91addb971..e3751c46b8 100644 --- a/pype/modules/clockify/clockify_module.py +++ b/openpype/modules/clockify/clockify_module.py @@ -7,7 +7,7 @@ from .constants import ( CLOCKIFY_FTRACK_USER_PATH, CLOCKIFY_FTRACK_SERVER_PATH ) -from pype.modules import ( +from openpype.modules import ( PypeModule, ITrayModule, IPluginPaths, diff --git a/pype/modules/clockify/constants.py b/openpype/modules/clockify/constants.py similarity index 100% rename from pype/modules/clockify/constants.py rename to openpype/modules/clockify/constants.py diff --git a/pype/modules/clockify/ftrack/server/action_clockify_sync_server.py b/openpype/modules/clockify/ftrack/server/action_clockify_sync_server.py similarity index 97% rename from pype/modules/clockify/ftrack/server/action_clockify_sync_server.py rename to openpype/modules/clockify/ftrack/server/action_clockify_sync_server.py index be58e0c7cc..495f87dc7e 100644 --- a/pype/modules/clockify/ftrack/server/action_clockify_sync_server.py +++ b/openpype/modules/clockify/ftrack/server/action_clockify_sync_server.py @@ -1,7 +1,7 @@ import os import json -from pype.modules.ftrack.lib import ServerAction -from pype.modules.clockify.clockify_api import ClockifyAPI +from openpype.modules.ftrack.lib import ServerAction +from openpype.modules.clockify.clockify_api import ClockifyAPI class SyncClocifyServer(ServerAction): diff --git a/pype/modules/clockify/ftrack/user/action_clockify_sync_local.py b/openpype/modules/clockify/ftrack/user/action_clockify_sync_local.py similarity index 96% rename from pype/modules/clockify/ftrack/user/action_clockify_sync_local.py rename to openpype/modules/clockify/ftrack/user/action_clockify_sync_local.py index 87682286ab..4f4579a8bf 100644 --- a/pype/modules/clockify/ftrack/user/action_clockify_sync_local.py +++ b/openpype/modules/clockify/ftrack/user/action_clockify_sync_local.py @@ -1,6 +1,6 @@ import json -from pype.modules.ftrack.lib import BaseAction, statics_icon -from pype.modules.clockify.clockify_api import ClockifyAPI +from openpype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.clockify.clockify_api import ClockifyAPI class SyncClocifyLocal(BaseAction): diff --git a/pype/modules/clockify/launcher_actions/ClockifyStart.py b/openpype/modules/clockify/launcher_actions/ClockifyStart.py similarity index 92% rename from pype/modules/clockify/launcher_actions/ClockifyStart.py rename to openpype/modules/clockify/launcher_actions/ClockifyStart.py index d02005e2de..c431ea240d 100644 --- a/pype/modules/clockify/launcher_actions/ClockifyStart.py +++ b/openpype/modules/clockify/launcher_actions/ClockifyStart.py @@ -1,6 +1,6 @@ from avalon import api, io -from pype.api import Logger -from pype.modules.clockify.clockify_api import ClockifyAPI +from openpype.api import Logger +from openpype.modules.clockify.clockify_api import ClockifyAPI log = Logger().get_logger(__name__) diff --git a/pype/modules/clockify/launcher_actions/ClockifySync.py b/openpype/modules/clockify/launcher_actions/ClockifySync.py similarity index 95% rename from pype/modules/clockify/launcher_actions/ClockifySync.py rename to openpype/modules/clockify/launcher_actions/ClockifySync.py index 5f0e57b8c8..1bb168a80b 100644 --- a/pype/modules/clockify/launcher_actions/ClockifySync.py +++ b/openpype/modules/clockify/launcher_actions/ClockifySync.py @@ -1,6 +1,6 @@ from avalon import api, io -from pype.modules.clockify.clockify_api import ClockifyAPI -from pype.api import Logger +from openpype.modules.clockify.clockify_api import ClockifyAPI +from openpype.api import Logger log = Logger().get_logger(__name__) diff --git a/pype/modules/clockify/widgets.py b/openpype/modules/clockify/widgets.py similarity index 99% rename from pype/modules/clockify/widgets.py rename to openpype/modules/clockify/widgets.py index 718e6668bd..76f3a3f365 100644 --- a/pype/modules/clockify/widgets.py +++ b/openpype/modules/clockify/widgets.py @@ -1,6 +1,6 @@ from Qt import QtCore, QtGui, QtWidgets from avalon import style -from pype import resources +from openpype import resources class MessageWidget(QtWidgets.QWidget): diff --git a/pype/modules/deadline/__init__.py b/openpype/modules/deadline/__init__.py similarity index 100% rename from pype/modules/deadline/__init__.py rename to openpype/modules/deadline/__init__.py diff --git a/pype/modules/deadline/deadline_module.py b/openpype/modules/deadline/deadline_module.py similarity index 96% rename from pype/modules/deadline/deadline_module.py rename to openpype/modules/deadline/deadline_module.py index ba920f7f13..9f2f9469c1 100644 --- a/pype/modules/deadline/deadline_module.py +++ b/openpype/modules/deadline/deadline_module.py @@ -1,5 +1,5 @@ import os -from pype.modules import ( +from openpype.modules import ( PypeModule, IPluginPaths) diff --git a/pype/modules/deadline/plugins/publish/submit_aftereffects_deadline.py b/openpype/modules/deadline/plugins/publish/submit_aftereffects_deadline.py similarity index 97% rename from pype/modules/deadline/plugins/publish/submit_aftereffects_deadline.py rename to openpype/modules/deadline/plugins/publish/submit_aftereffects_deadline.py index 5ec5129fa4..38a6b9b246 100644 --- a/pype/modules/deadline/plugins/publish/submit_aftereffects_deadline.py +++ b/openpype/modules/deadline/plugins/publish/submit_aftereffects_deadline.py @@ -1,5 +1,5 @@ -from pype.lib import abstract_submit_deadline -from pype.lib.abstract_submit_deadline import DeadlineJobInfo +from openpype.lib import abstract_submit_deadline +from openpype.lib.abstract_submit_deadline import DeadlineJobInfo import pyblish.api import os import attr diff --git a/pype/modules/deadline/plugins/publish/submit_harmony_deadline..py b/openpype/modules/deadline/plugins/publish/submit_harmony_deadline..py similarity index 98% rename from pype/modules/deadline/plugins/publish/submit_harmony_deadline..py rename to openpype/modules/deadline/plugins/publish/submit_harmony_deadline..py index d723490a69..58379443f7 100644 --- a/pype/modules/deadline/plugins/publish/submit_harmony_deadline..py +++ b/openpype/modules/deadline/plugins/publish/submit_harmony_deadline..py @@ -9,8 +9,8 @@ import re import attr import pyblish.api -import pype.lib.abstract_submit_deadline -from pype.lib.abstract_submit_deadline import DeadlineJobInfo +import openpype.lib.abstract_submit_deadline +from openpype.lib.abstract_submit_deadline import DeadlineJobInfo from avalon import api @@ -217,7 +217,7 @@ class PluginInfo(object): class HarmonySubmitDeadline( - pype.lib.abstract_submit_deadline.AbstractSubmitDeadline): + openpype.lib.abstract_submit_deadline.AbstractSubmitDeadline): """Submit render write of Harmony scene to Deadline. Renders are submitted to a Deadline Web Service as diff --git a/pype/modules/deadline/plugins/publish/submit_maya_deadline.py b/openpype/modules/deadline/plugins/publish/submit_maya_deadline.py similarity index 99% rename from pype/modules/deadline/plugins/publish/submit_maya_deadline.py rename to openpype/modules/deadline/plugins/publish/submit_maya_deadline.py index e0e01a3899..3aea837bb1 100644 --- a/pype/modules/deadline/plugins/publish/submit_maya_deadline.py +++ b/openpype/modules/deadline/plugins/publish/submit_maya_deadline.py @@ -35,7 +35,7 @@ from maya import cmds from avalon import api import pyblish.api -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib # Documentation for keys available at: # https://docs.thinkboxsoftware.com @@ -816,7 +816,7 @@ class MayaSubmitDeadline(pyblish.api.InstancePlugin): def _get_arnold_export_payload(self, data): try: - from pype.scripts import export_maya_ass_job + from openpype.scripts import export_maya_ass_job except Exception: raise AssertionError( "Expected module 'export_maya_ass_job' to be available") diff --git a/pype/modules/deadline/plugins/publish/submit_nuke_deadline.py b/openpype/modules/deadline/plugins/publish/submit_nuke_deadline.py similarity index 100% rename from pype/modules/deadline/plugins/publish/submit_nuke_deadline.py rename to openpype/modules/deadline/plugins/publish/submit_nuke_deadline.py diff --git a/pype/modules/deadline/plugins/publish/submit_publish_job.py b/openpype/modules/deadline/plugins/publish/submit_publish_job.py similarity index 98% rename from pype/modules/deadline/plugins/publish/submit_publish_job.py rename to openpype/modules/deadline/plugins/publish/submit_publish_job.py index b5150f8ac9..03ac395815 100644 --- a/pype/modules/deadline/plugins/publish/submit_publish_job.py +++ b/openpype/modules/deadline/plugins/publish/submit_publish_job.py @@ -6,7 +6,7 @@ import json import re from copy import copy, deepcopy import sys -import pype.api +import openpype.api from avalon import api, io from avalon.vendor import requests, clique @@ -315,8 +315,8 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin): # get latest version of subset # this will stop if subset wasn't published yet - version = pype.api.get_latest_version(instance.data.get("asset"), - instance.data.get("subset")) + version = openpype.api.get_latest_version(instance.data.get("asset"), + instance.data.get("subset")) # get its files based on extension subset_resources = get_resources(version, representation.get("ext")) r_col, _ = clique.assemble(subset_resources) @@ -975,9 +975,9 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin): prev_start = None prev_end = None - version = pype.api.get_latest_version(asset_name=asset, - subset_name=subset - ) + version = openpype.api.get_latest_version(asset_name=asset, + subset_name=subset + ) # Set prev start / end frames for comparison if not prev_start and not prev_end: @@ -1022,7 +1022,7 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin): based on 'publish' template """ if not version: - version = pype.api.get_latest_version(asset, subset) + version = openpype.api.get_latest_version(asset, subset) if version: version = int(version["name"]) + 1 else: diff --git a/pype/modules/deadline/plugins/publish/validate_deadline_connection.py b/openpype/modules/deadline/plugins/publish/validate_deadline_connection.py similarity index 96% rename from pype/modules/deadline/plugins/publish/validate_deadline_connection.py rename to openpype/modules/deadline/plugins/publish/validate_deadline_connection.py index 88b3f42d49..9b10619c0b 100644 --- a/pype/modules/deadline/plugins/publish/validate_deadline_connection.py +++ b/openpype/modules/deadline/plugins/publish/validate_deadline_connection.py @@ -1,7 +1,7 @@ import pyblish.api from avalon.vendor import requests -from pype.plugin import contextplugin_should_run +from openpype.plugin import contextplugin_should_run import os diff --git a/pype/modules/ftrack/__init__.py b/openpype/modules/ftrack/__init__.py similarity index 100% rename from pype/modules/ftrack/__init__.py rename to openpype/modules/ftrack/__init__.py diff --git a/pype/modules/ftrack/event_handlers_server/action_clone_review_session.py b/openpype/modules/ftrack/event_handlers_server/action_clone_review_session.py similarity index 98% rename from pype/modules/ftrack/event_handlers_server/action_clone_review_session.py rename to openpype/modules/ftrack/event_handlers_server/action_clone_review_session.py index 9af04b45c1..d29316c795 100644 --- a/pype/modules/ftrack/event_handlers_server/action_clone_review_session.py +++ b/openpype/modules/ftrack/event_handlers_server/action_clone_review_session.py @@ -1,6 +1,6 @@ import json -from pype.modules.ftrack.lib import ServerAction +from openpype.modules.ftrack.lib import ServerAction def clone_review_session(session, entity): diff --git a/pype/modules/ftrack/event_handlers_server/action_push_frame_values_to_task.py b/openpype/modules/ftrack/event_handlers_server/action_push_frame_values_to_task.py similarity index 99% rename from pype/modules/ftrack/event_handlers_server/action_push_frame_values_to_task.py rename to openpype/modules/ftrack/event_handlers_server/action_push_frame_values_to_task.py index 6df27682e0..79947cbc71 100644 --- a/pype/modules/ftrack/event_handlers_server/action_push_frame_values_to_task.py +++ b/openpype/modules/ftrack/event_handlers_server/action_push_frame_values_to_task.py @@ -1,7 +1,7 @@ import json import collections import ftrack_api -from pype.modules.ftrack.lib import ServerAction +from openpype.modules.ftrack.lib import ServerAction class PushHierValuesToNonHier(ServerAction): diff --git a/pype/modules/ftrack/event_handlers_server/action_sync_to_avalon.py b/openpype/modules/ftrack/event_handlers_server/action_sync_to_avalon.py similarity index 98% rename from pype/modules/ftrack/event_handlers_server/action_sync_to_avalon.py rename to openpype/modules/ftrack/event_handlers_server/action_sync_to_avalon.py index 6bec1fb259..d19d89fe36 100644 --- a/pype/modules/ftrack/event_handlers_server/action_sync_to_avalon.py +++ b/openpype/modules/ftrack/event_handlers_server/action_sync_to_avalon.py @@ -1,8 +1,8 @@ import time import traceback -from pype.modules.ftrack.lib import ServerAction -from pype.modules.ftrack.lib.avalon_sync import SyncEntitiesFactory +from openpype.modules.ftrack.lib import ServerAction +from openpype.modules.ftrack.lib.avalon_sync import SyncEntitiesFactory class SyncToAvalonServer(ServerAction): diff --git a/pype/modules/ftrack/event_handlers_server/event_del_avalon_id_from_new.py b/openpype/modules/ftrack/event_handlers_server/event_del_avalon_id_from_new.py similarity index 88% rename from pype/modules/ftrack/event_handlers_server/event_del_avalon_id_from_new.py rename to openpype/modules/ftrack/event_handlers_server/event_del_avalon_id_from_new.py index b30d21e05a..078596cc2e 100644 --- a/pype/modules/ftrack/event_handlers_server/event_del_avalon_id_from_new.py +++ b/openpype/modules/ftrack/event_handlers_server/event_del_avalon_id_from_new.py @@ -1,6 +1,6 @@ -from pype.modules.ftrack.lib import BaseEvent -from pype.modules.ftrack.lib.avalon_sync import CUST_ATTR_ID_KEY -from pype.modules.ftrack.event_handlers_server.event_sync_to_avalon import ( +from openpype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib.avalon_sync import CUST_ATTR_ID_KEY +from openpype.modules.ftrack.event_handlers_server.event_sync_to_avalon import ( SyncToAvalonEvent ) diff --git a/pype/modules/ftrack/event_handlers_server/event_first_version_status.py b/openpype/modules/ftrack/event_handlers_server/event_first_version_status.py similarity index 99% rename from pype/modules/ftrack/event_handlers_server/event_first_version_status.py rename to openpype/modules/ftrack/event_handlers_server/event_first_version_status.py index 440b455edf..511f62a207 100644 --- a/pype/modules/ftrack/event_handlers_server/event_first_version_status.py +++ b/openpype/modules/ftrack/event_handlers_server/event_first_version_status.py @@ -1,4 +1,4 @@ -from pype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib import BaseEvent class FirstVersionStatus(BaseEvent): diff --git a/pype/modules/ftrack/event_handlers_server/event_next_task_update.py b/openpype/modules/ftrack/event_handlers_server/event_next_task_update.py similarity index 99% rename from pype/modules/ftrack/event_handlers_server/event_next_task_update.py rename to openpype/modules/ftrack/event_handlers_server/event_next_task_update.py index e546f00c77..ad62beb296 100644 --- a/pype/modules/ftrack/event_handlers_server/event_next_task_update.py +++ b/openpype/modules/ftrack/event_handlers_server/event_next_task_update.py @@ -1,5 +1,5 @@ import collections -from pype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib import BaseEvent class NextTaskUpdate(BaseEvent): diff --git a/pype/modules/ftrack/event_handlers_server/event_push_frame_values_to_task.py b/openpype/modules/ftrack/event_handlers_server/event_push_frame_values_to_task.py similarity index 99% rename from pype/modules/ftrack/event_handlers_server/event_push_frame_values_to_task.py rename to openpype/modules/ftrack/event_handlers_server/event_push_frame_values_to_task.py index 338866ba5b..c0b3137455 100644 --- a/pype/modules/ftrack/event_handlers_server/event_push_frame_values_to_task.py +++ b/openpype/modules/ftrack/event_handlers_server/event_push_frame_values_to_task.py @@ -2,7 +2,7 @@ import collections import datetime import ftrack_api -from pype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib import BaseEvent class PushFrameValuesToTaskEvent(BaseEvent): diff --git a/pype/modules/ftrack/event_handlers_server/event_radio_buttons.py b/openpype/modules/ftrack/event_handlers_server/event_radio_buttons.py similarity index 96% rename from pype/modules/ftrack/event_handlers_server/event_radio_buttons.py rename to openpype/modules/ftrack/event_handlers_server/event_radio_buttons.py index 90811e5f45..1ebd7b68d2 100644 --- a/pype/modules/ftrack/event_handlers_server/event_radio_buttons.py +++ b/openpype/modules/ftrack/event_handlers_server/event_radio_buttons.py @@ -1,5 +1,5 @@ import ftrack_api -from pype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib import BaseEvent class RadioButtons(BaseEvent): diff --git a/pype/modules/ftrack/event_handlers_server/event_sync_to_avalon.py b/openpype/modules/ftrack/event_handlers_server/event_sync_to_avalon.py similarity index 99% rename from pype/modules/ftrack/event_handlers_server/event_sync_to_avalon.py rename to openpype/modules/ftrack/event_handlers_server/event_sync_to_avalon.py index be3a15b049..347b227dd3 100644 --- a/pype/modules/ftrack/event_handlers_server/event_sync_to_avalon.py +++ b/openpype/modules/ftrack/event_handlers_server/event_sync_to_avalon.py @@ -17,11 +17,11 @@ import ftrack_api from avalon import schema from avalon.api import AvalonMongoDB -from pype.modules.ftrack.lib import ( +from openpype.modules.ftrack.lib import ( avalon_sync, BaseEvent ) -from pype.modules.ftrack.lib.avalon_sync import ( +from openpype.modules.ftrack.lib.avalon_sync import ( CUST_ATTR_ID_KEY, CUST_ATTR_AUTO_SYNC, EntitySchemas diff --git a/pype/modules/ftrack/event_handlers_server/event_task_to_parent_status.py b/openpype/modules/ftrack/event_handlers_server/event_task_to_parent_status.py similarity index 99% rename from pype/modules/ftrack/event_handlers_server/event_task_to_parent_status.py rename to openpype/modules/ftrack/event_handlers_server/event_task_to_parent_status.py index 72b6675404..4192a4bed0 100644 --- a/pype/modules/ftrack/event_handlers_server/event_task_to_parent_status.py +++ b/openpype/modules/ftrack/event_handlers_server/event_task_to_parent_status.py @@ -1,5 +1,5 @@ import collections -from pype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib import BaseEvent class TaskStatusToParent(BaseEvent): diff --git a/pype/modules/ftrack/event_handlers_server/event_task_to_version_status.py b/openpype/modules/ftrack/event_handlers_server/event_task_to_version_status.py similarity index 99% rename from pype/modules/ftrack/event_handlers_server/event_task_to_version_status.py rename to openpype/modules/ftrack/event_handlers_server/event_task_to_version_status.py index 14f456831f..f2d3723021 100644 --- a/pype/modules/ftrack/event_handlers_server/event_task_to_version_status.py +++ b/openpype/modules/ftrack/event_handlers_server/event_task_to_version_status.py @@ -1,5 +1,5 @@ import collections -from pype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib import BaseEvent class TaskToVersionStatus(BaseEvent): diff --git a/pype/modules/ftrack/event_handlers_server/event_thumbnail_updates.py b/openpype/modules/ftrack/event_handlers_server/event_thumbnail_updates.py similarity index 99% rename from pype/modules/ftrack/event_handlers_server/event_thumbnail_updates.py rename to openpype/modules/ftrack/event_handlers_server/event_thumbnail_updates.py index de189463d0..cbeeeee5c5 100644 --- a/pype/modules/ftrack/event_handlers_server/event_thumbnail_updates.py +++ b/openpype/modules/ftrack/event_handlers_server/event_thumbnail_updates.py @@ -1,5 +1,5 @@ import collections -from pype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib import BaseEvent class ThumbnailEvents(BaseEvent): diff --git a/pype/modules/ftrack/event_handlers_server/event_user_assigment.py b/openpype/modules/ftrack/event_handlers_server/event_user_assigment.py similarity index 97% rename from pype/modules/ftrack/event_handlers_server/event_user_assigment.py rename to openpype/modules/ftrack/event_handlers_server/event_user_assigment.py index 85cf6db12b..22e897c668 100644 --- a/pype/modules/ftrack/event_handlers_server/event_user_assigment.py +++ b/openpype/modules/ftrack/event_handlers_server/event_user_assigment.py @@ -2,13 +2,13 @@ import os import re import subprocess -from pype.modules.ftrack.lib import BaseEvent -from pype.modules.ftrack.lib.avalon_sync import CUST_ATTR_ID_KEY +from openpype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib.avalon_sync import CUST_ATTR_ID_KEY from avalon.api import AvalonMongoDB from bson.objectid import ObjectId -from pype.api import Anatomy, get_project_settings +from openpype.api import Anatomy, get_project_settings class UserAssigmentEvent(BaseEvent): diff --git a/pype/modules/ftrack/event_handlers_server/event_version_to_task_statuses.py b/openpype/modules/ftrack/event_handlers_server/event_version_to_task_statuses.py similarity index 99% rename from pype/modules/ftrack/event_handlers_server/event_version_to_task_statuses.py rename to openpype/modules/ftrack/event_handlers_server/event_version_to_task_statuses.py index 58caf7db51..d20e2ff5a8 100644 --- a/pype/modules/ftrack/event_handlers_server/event_version_to_task_statuses.py +++ b/openpype/modules/ftrack/event_handlers_server/event_version_to_task_statuses.py @@ -1,4 +1,4 @@ -from pype.modules.ftrack.lib import BaseEvent +from openpype.modules.ftrack.lib import BaseEvent class VersionToTaskStatus(BaseEvent): diff --git a/pype/modules/ftrack/event_handlers_user/action_applications.py b/openpype/modules/ftrack/event_handlers_user/action_applications.py similarity index 98% rename from pype/modules/ftrack/event_handlers_user/action_applications.py rename to openpype/modules/ftrack/event_handlers_user/action_applications.py index fcfebe5078..23c96e1b9f 100644 --- a/pype/modules/ftrack/event_handlers_user/action_applications.py +++ b/openpype/modules/ftrack/event_handlers_user/action_applications.py @@ -1,8 +1,8 @@ import os from uuid import uuid4 -from pype.modules.ftrack.lib import BaseAction -from pype.lib import ( +from openpype.modules.ftrack.lib import BaseAction +from openpype.lib import ( ApplicationManager, ApplicationLaunchFailed, ApplictionExecutableNotFound diff --git a/pype/modules/ftrack/event_handlers_user/action_batch_task_creation.py b/openpype/modules/ftrack/event_handlers_user/action_batch_task_creation.py similarity index 99% rename from pype/modules/ftrack/event_handlers_user/action_batch_task_creation.py rename to openpype/modules/ftrack/event_handlers_user/action_batch_task_creation.py index 477971773d..9146dc1f81 100644 --- a/pype/modules/ftrack/event_handlers_user/action_batch_task_creation.py +++ b/openpype/modules/ftrack/event_handlers_user/action_batch_task_creation.py @@ -2,7 +2,7 @@ Taken from https://github.com/tokejepsen/ftrack-hooks/tree/master/batch_tasks """ -from pype.modules.ftrack.lib import BaseAction +from openpype.modules.ftrack.lib import BaseAction class BatchTasksAction(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_clean_hierarchical_attributes.py b/openpype/modules/ftrack/event_handlers_user/action_clean_hierarchical_attributes.py similarity index 96% rename from pype/modules/ftrack/event_handlers_user/action_clean_hierarchical_attributes.py rename to openpype/modules/ftrack/event_handlers_user/action_clean_hierarchical_attributes.py index f9824ec8ea..599d00f7cc 100644 --- a/pype/modules/ftrack/event_handlers_user/action_clean_hierarchical_attributes.py +++ b/openpype/modules/ftrack/event_handlers_user/action_clean_hierarchical_attributes.py @@ -1,7 +1,7 @@ import collections import ftrack_api -from pype.modules.ftrack.lib import BaseAction, statics_icon -from pype.modules.ftrack.lib.avalon_sync import get_pype_attr +from openpype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib.avalon_sync import get_pype_attr class CleanHierarchicalAttrsAction(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_client_review_sort.py b/openpype/modules/ftrack/event_handlers_user/action_client_review_sort.py similarity index 97% rename from pype/modules/ftrack/event_handlers_user/action_client_review_sort.py rename to openpype/modules/ftrack/event_handlers_user/action_client_review_sort.py index 1c5c429cf2..fc611c1d2b 100644 --- a/pype/modules/ftrack/event_handlers_user/action_client_review_sort.py +++ b/openpype/modules/ftrack/event_handlers_user/action_client_review_sort.py @@ -1,4 +1,4 @@ -from pype.modules.ftrack.lib import BaseAction +from openpype.modules.ftrack.lib import BaseAction try: from functools import cmp_to_key except Exception: diff --git a/pype/modules/ftrack/event_handlers_user/action_component_open.py b/openpype/modules/ftrack/event_handlers_user/action_component_open.py similarity index 96% rename from pype/modules/ftrack/event_handlers_user/action_component_open.py rename to openpype/modules/ftrack/event_handlers_user/action_component_open.py index 2928f54b15..b3cdac0722 100644 --- a/pype/modules/ftrack/event_handlers_user/action_component_open.py +++ b/openpype/modules/ftrack/event_handlers_user/action_component_open.py @@ -1,7 +1,7 @@ import os import sys import subprocess -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon class ComponentOpen(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_create_cust_attrs.py b/openpype/modules/ftrack/event_handlers_user/action_create_cust_attrs.py similarity index 99% rename from pype/modules/ftrack/event_handlers_user/action_create_cust_attrs.py rename to openpype/modules/ftrack/event_handlers_user/action_create_cust_attrs.py index 8ff0cade7b..2d46b6f75a 100644 --- a/pype/modules/ftrack/event_handlers_user/action_create_cust_attrs.py +++ b/openpype/modules/ftrack/event_handlers_user/action_create_cust_attrs.py @@ -2,12 +2,12 @@ import collections import json import arrow import ftrack_api -from pype.modules.ftrack.lib import BaseAction, statics_icon -from pype.modules.ftrack.lib.avalon_sync import ( +from openpype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib.avalon_sync import ( CUST_ATTR_ID_KEY, CUST_ATTR_GROUP, default_custom_attributes_definition ) -from pype.api import get_system_settings -from pype.lib import ApplicationManager +from openpype.api import get_system_settings +from openpype.lib import ApplicationManager """ This action creates/updates custom attributes. diff --git a/pype/modules/ftrack/event_handlers_user/action_create_folders.py b/openpype/modules/ftrack/event_handlers_user/action_create_folders.py similarity index 98% rename from pype/modules/ftrack/event_handlers_user/action_create_folders.py rename to openpype/modules/ftrack/event_handlers_user/action_create_folders.py index d70232ae8f..075b8d3d25 100644 --- a/pype/modules/ftrack/event_handlers_user/action_create_folders.py +++ b/openpype/modules/ftrack/event_handlers_user/action_create_folders.py @@ -1,11 +1,11 @@ import os -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon from avalon import lib as avalonlib -from pype.api import ( +from openpype.api import ( Anatomy, get_project_settings ) -from pype.lib import ApplicationManager +from openpype.lib import ApplicationManager class CreateFolders(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_create_project_structure.py b/openpype/modules/ftrack/event_handlers_user/action_create_project_structure.py similarity index 98% rename from pype/modules/ftrack/event_handlers_user/action_create_project_structure.py rename to openpype/modules/ftrack/event_handlers_user/action_create_project_structure.py index f42f952314..d7ac866e42 100644 --- a/pype/modules/ftrack/event_handlers_user/action_create_project_structure.py +++ b/openpype/modules/ftrack/event_handlers_user/action_create_project_structure.py @@ -1,8 +1,8 @@ import os import re -from pype.modules.ftrack.lib import BaseAction, statics_icon -from pype.api import Anatomy, get_project_settings +from openpype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.api import Anatomy, get_project_settings class CreateProjectFolders(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_delete_asset.py b/openpype/modules/ftrack/event_handlers_user/action_delete_asset.py similarity index 99% rename from pype/modules/ftrack/event_handlers_user/action_delete_asset.py rename to openpype/modules/ftrack/event_handlers_user/action_delete_asset.py index 3bdbbe2470..ff39db4383 100644 --- a/pype/modules/ftrack/event_handlers_user/action_delete_asset.py +++ b/openpype/modules/ftrack/event_handlers_user/action_delete_asset.py @@ -4,7 +4,7 @@ from datetime import datetime from queue import Queue from bson.objectid import ObjectId -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon from avalon.api import AvalonMongoDB diff --git a/pype/modules/ftrack/event_handlers_user/action_delete_old_versions.py b/openpype/modules/ftrack/event_handlers_user/action_delete_old_versions.py similarity index 99% rename from pype/modules/ftrack/event_handlers_user/action_delete_old_versions.py rename to openpype/modules/ftrack/event_handlers_user/action_delete_old_versions.py index e1c1e173a3..d096ad736a 100644 --- a/pype/modules/ftrack/event_handlers_user/action_delete_old_versions.py +++ b/openpype/modules/ftrack/event_handlers_user/action_delete_old_versions.py @@ -5,9 +5,9 @@ import uuid import clique from pymongo import UpdateOne -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon from avalon.api import AvalonMongoDB -from pype.api import Anatomy +from openpype.api import Anatomy import avalon.pipeline diff --git a/pype/modules/ftrack/event_handlers_user/action_delivery.py b/openpype/modules/ftrack/event_handlers_user/action_delivery.py similarity index 99% rename from pype/modules/ftrack/event_handlers_user/action_delivery.py rename to openpype/modules/ftrack/event_handlers_user/action_delivery.py index e9e939bb47..88fdbe3669 100644 --- a/pype/modules/ftrack/event_handlers_user/action_delivery.py +++ b/openpype/modules/ftrack/event_handlers_user/action_delivery.py @@ -10,9 +10,9 @@ from bson.objectid import ObjectId from avalon import pipeline from avalon.vendor import filelink -from pype.api import Anatomy, config -from pype.modules.ftrack.lib import BaseAction, statics_icon -from pype.modules.ftrack.lib.avalon_sync import CUST_ATTR_ID_KEY +from openpype.api import Anatomy, config +from openpype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib.avalon_sync import CUST_ATTR_ID_KEY from avalon.api import AvalonMongoDB diff --git a/pype/modules/ftrack/event_handlers_user/action_djvview.py b/openpype/modules/ftrack/event_handlers_user/action_djvview.py similarity index 98% rename from pype/modules/ftrack/event_handlers_user/action_djvview.py rename to openpype/modules/ftrack/event_handlers_user/action_djvview.py index dfaa1ebeb9..c05fbed2d0 100644 --- a/pype/modules/ftrack/event_handlers_user/action_djvview.py +++ b/openpype/modules/ftrack/event_handlers_user/action_djvview.py @@ -1,7 +1,7 @@ import os import subprocess from operator import itemgetter -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon class DJVViewAction(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_job_killer.py b/openpype/modules/ftrack/event_handlers_user/action_job_killer.py similarity index 98% rename from pype/modules/ftrack/event_handlers_user/action_job_killer.py rename to openpype/modules/ftrack/event_handlers_user/action_job_killer.py index 1ddd1383a7..368e39cf3c 100644 --- a/pype/modules/ftrack/event_handlers_user/action_job_killer.py +++ b/openpype/modules/ftrack/event_handlers_user/action_job_killer.py @@ -1,5 +1,5 @@ import json -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon class JobKiller(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_multiple_notes.py b/openpype/modules/ftrack/event_handlers_user/action_multiple_notes.py similarity index 98% rename from pype/modules/ftrack/event_handlers_user/action_multiple_notes.py rename to openpype/modules/ftrack/event_handlers_user/action_multiple_notes.py index d88a91dd92..8db65fe39b 100644 --- a/pype/modules/ftrack/event_handlers_user/action_multiple_notes.py +++ b/openpype/modules/ftrack/event_handlers_user/action_multiple_notes.py @@ -1,4 +1,4 @@ -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon class MultipleNotes(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_prepare_project.py b/openpype/modules/ftrack/event_handlers_user/action_prepare_project.py similarity index 98% rename from pype/modules/ftrack/event_handlers_user/action_prepare_project.py rename to openpype/modules/ftrack/event_handlers_user/action_prepare_project.py index 3a955067d8..7f674310fc 100644 --- a/pype/modules/ftrack/event_handlers_user/action_prepare_project.py +++ b/openpype/modules/ftrack/event_handlers_user/action_prepare_project.py @@ -1,9 +1,9 @@ import os import json -from pype.modules.ftrack.lib import BaseAction, statics_icon -from pype.api import config, Anatomy -from pype.modules.ftrack.lib.avalon_sync import get_pype_attr +from openpype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.api import config, Anatomy +from openpype.modules.ftrack.lib.avalon_sync import get_pype_attr class PrepareProject(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_rv.py b/openpype/modules/ftrack/event_handlers_user/action_rv.py similarity index 99% rename from pype/modules/ftrack/event_handlers_user/action_rv.py rename to openpype/modules/ftrack/event_handlers_user/action_rv.py index 1c5ccfaed0..3172b74261 100644 --- a/pype/modules/ftrack/event_handlers_user/action_rv.py +++ b/openpype/modules/ftrack/event_handlers_user/action_rv.py @@ -3,7 +3,7 @@ import subprocess import traceback import json -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon import ftrack_api from avalon import io, api diff --git a/pype/modules/ftrack/event_handlers_user/action_seed.py b/openpype/modules/ftrack/event_handlers_user/action_seed.py similarity index 99% rename from pype/modules/ftrack/event_handlers_user/action_seed.py rename to openpype/modules/ftrack/event_handlers_user/action_seed.py index 549afc660c..1f01f0af1d 100644 --- a/pype/modules/ftrack/event_handlers_user/action_seed.py +++ b/openpype/modules/ftrack/event_handlers_user/action_seed.py @@ -1,6 +1,6 @@ import os from operator import itemgetter -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon class SeedDebugProject(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_store_thumbnails_to_avalon.py b/openpype/modules/ftrack/event_handlers_user/action_store_thumbnails_to_avalon.py similarity index 98% rename from pype/modules/ftrack/event_handlers_user/action_store_thumbnails_to_avalon.py rename to openpype/modules/ftrack/event_handlers_user/action_store_thumbnails_to_avalon.py index ac09d0c126..85fc1ac4c8 100644 --- a/pype/modules/ftrack/event_handlers_user/action_store_thumbnails_to_avalon.py +++ b/openpype/modules/ftrack/event_handlers_user/action_store_thumbnails_to_avalon.py @@ -4,11 +4,11 @@ import json import requests from bson.objectid import ObjectId -from pype.modules.ftrack.lib import BaseAction, statics_icon -from pype.api import Anatomy +from openpype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.api import Anatomy from avalon.api import AvalonMongoDB -from pype.modules.ftrack.lib.avalon_sync import CUST_ATTR_ID_KEY +from openpype.modules.ftrack.lib.avalon_sync import CUST_ATTR_ID_KEY class StoreThumbnailsToAvalon(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_sync_to_avalon.py b/openpype/modules/ftrack/event_handlers_user/action_sync_to_avalon.py similarity index 97% rename from pype/modules/ftrack/event_handlers_user/action_sync_to_avalon.py rename to openpype/modules/ftrack/event_handlers_user/action_sync_to_avalon.py index b86b469d1c..2fa13455de 100644 --- a/pype/modules/ftrack/event_handlers_user/action_sync_to_avalon.py +++ b/openpype/modules/ftrack/event_handlers_user/action_sync_to_avalon.py @@ -1,8 +1,8 @@ import time import traceback -from pype.modules.ftrack.lib import BaseAction, statics_icon -from pype.modules.ftrack.lib.avalon_sync import SyncEntitiesFactory +from openpype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib.avalon_sync import SyncEntitiesFactory class SyncToAvalonLocal(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_test.py b/openpype/modules/ftrack/event_handlers_user/action_test.py similarity index 89% rename from pype/modules/ftrack/event_handlers_user/action_test.py rename to openpype/modules/ftrack/event_handlers_user/action_test.py index c12906e340..206c67de50 100644 --- a/pype/modules/ftrack/event_handlers_user/action_test.py +++ b/openpype/modules/ftrack/event_handlers_user/action_test.py @@ -1,4 +1,4 @@ -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon class TestAction(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_thumbnail_to_childern.py b/openpype/modules/ftrack/event_handlers_user/action_thumbnail_to_childern.py similarity index 96% rename from pype/modules/ftrack/event_handlers_user/action_thumbnail_to_childern.py rename to openpype/modules/ftrack/event_handlers_user/action_thumbnail_to_childern.py index b90dfa027c..a12f25b57d 100644 --- a/pype/modules/ftrack/event_handlers_user/action_thumbnail_to_childern.py +++ b/openpype/modules/ftrack/event_handlers_user/action_thumbnail_to_childern.py @@ -1,5 +1,5 @@ import json -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon class ThumbToChildren(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_thumbnail_to_parent.py b/openpype/modules/ftrack/event_handlers_user/action_thumbnail_to_parent.py similarity index 97% rename from pype/modules/ftrack/event_handlers_user/action_thumbnail_to_parent.py rename to openpype/modules/ftrack/event_handlers_user/action_thumbnail_to_parent.py index 5734ea6abc..284723bb0f 100644 --- a/pype/modules/ftrack/event_handlers_user/action_thumbnail_to_parent.py +++ b/openpype/modules/ftrack/event_handlers_user/action_thumbnail_to_parent.py @@ -1,5 +1,5 @@ import json -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon class ThumbToParent(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_where_run_ask.py b/openpype/modules/ftrack/event_handlers_user/action_where_run_ask.py similarity index 93% rename from pype/modules/ftrack/event_handlers_user/action_where_run_ask.py rename to openpype/modules/ftrack/event_handlers_user/action_where_run_ask.py index 64957208da..4fc0fcf87e 100644 --- a/pype/modules/ftrack/event_handlers_user/action_where_run_ask.py +++ b/openpype/modules/ftrack/event_handlers_user/action_where_run_ask.py @@ -1,4 +1,4 @@ -from pype.modules.ftrack.lib import BaseAction, statics_icon +from openpype.modules.ftrack.lib import BaseAction, statics_icon class ActionAskWhereIRun(BaseAction): diff --git a/pype/modules/ftrack/event_handlers_user/action_where_run_show.py b/openpype/modules/ftrack/event_handlers_user/action_where_run_show.py similarity index 97% rename from pype/modules/ftrack/event_handlers_user/action_where_run_show.py rename to openpype/modules/ftrack/event_handlers_user/action_where_run_show.py index f872d17d27..22bdfa6cda 100644 --- a/pype/modules/ftrack/event_handlers_user/action_where_run_show.py +++ b/openpype/modules/ftrack/event_handlers_user/action_where_run_show.py @@ -1,7 +1,7 @@ import platform import socket import getpass -from pype.modules.ftrack.lib import BaseAction +from openpype.modules.ftrack.lib import BaseAction class ActionShowWhereIRun(BaseAction): diff --git a/pype/modules/ftrack/ftrack_module.py b/openpype/modules/ftrack/ftrack_module.py similarity index 98% rename from pype/modules/ftrack/ftrack_module.py rename to openpype/modules/ftrack/ftrack_module.py index 7b9d42f6df..8a40cac91a 100644 --- a/pype/modules/ftrack/ftrack_module.py +++ b/openpype/modules/ftrack/ftrack_module.py @@ -2,8 +2,8 @@ import os import collections from abc import ABCMeta, abstractmethod import six -import pype -from pype.modules import ( +import openpype +from openpype.modules import ( PypeModule, ITrayModule, IPluginPaths, @@ -140,7 +140,7 @@ class FtrackModule( return import ftrack_api - from pype.modules.ftrack.lib import avalon_sync + from openpype.modules.ftrack.lib import avalon_sync session = self.create_ftrack_session() project_entity = session.query( diff --git a/pype/modules/ftrack/ftrack_server/__init__.py b/openpype/modules/ftrack/ftrack_server/__init__.py similarity index 100% rename from pype/modules/ftrack/ftrack_server/__init__.py rename to openpype/modules/ftrack/ftrack_server/__init__.py diff --git a/pype/modules/ftrack/ftrack_server/event_server_cli.py b/openpype/modules/ftrack/ftrack_server/event_server_cli.py similarity index 98% rename from pype/modules/ftrack/ftrack_server/event_server_cli.py rename to openpype/modules/ftrack/ftrack_server/event_server_cli.py index c70a12aefb..1c382be18c 100644 --- a/pype/modules/ftrack/ftrack_server/event_server_cli.py +++ b/openpype/modules/ftrack/ftrack_server/event_server_cli.py @@ -14,21 +14,21 @@ import uuid import ftrack_api import pymongo -from pype.lib import ( +from openpype.lib import ( get_pype_execute_args, PypeMongoConnection ) -from pype.modules.ftrack import FTRACK_MODULE_DIR -from pype.modules.ftrack.lib import ( +from openpype.modules.ftrack import FTRACK_MODULE_DIR +from openpype.modules.ftrack.lib import ( credentials, get_ftrack_url_from_settings ) -from pype.modules.ftrack.ftrack_server.lib import ( +from openpype.modules.ftrack.ftrack_server.lib import ( check_ftrack_url, get_ftrack_event_mongo_info ) -from pype.modules.ftrack.ftrack_server import socket_thread +from openpype.modules.ftrack.ftrack_server import socket_thread class MongoPermissionsError(Exception): diff --git a/pype/modules/ftrack/ftrack_server/ftrack_server.py b/openpype/modules/ftrack/ftrack_server/ftrack_server.py similarity index 99% rename from pype/modules/ftrack/ftrack_server/ftrack_server.py rename to openpype/modules/ftrack/ftrack_server/ftrack_server.py index 1612a2f474..285ca29dc5 100644 --- a/pype/modules/ftrack/ftrack_server/ftrack_server.py +++ b/openpype/modules/ftrack/ftrack_server/ftrack_server.py @@ -5,7 +5,7 @@ import traceback import ftrack_api -from pype.lib import ( +from openpype.lib import ( PypeLogger, modules_from_path ) diff --git a/pype/modules/ftrack/ftrack_server/lib.py b/openpype/modules/ftrack/ftrack_server/lib.py similarity index 98% rename from pype/modules/ftrack/ftrack_server/lib.py rename to openpype/modules/ftrack/ftrack_server/lib.py index 0b92f6486a..f408b52f83 100644 --- a/pype/modules/ftrack/ftrack_server/lib.py +++ b/openpype/modules/ftrack/ftrack_server/lib.py @@ -22,10 +22,10 @@ try: from weakref import WeakMethod except ImportError: from ftrack_api._weakref import WeakMethod -from pype.modules.ftrack.lib import get_ftrack_event_mongo_info +from openpype.modules.ftrack.lib import get_ftrack_event_mongo_info -from pype.lib import PypeMongoConnection -from pype.api import Logger +from openpype.lib import PypeMongoConnection +from openpype.api import Logger TOPIC_STATUS_SERVER = "pype.event.server.status" TOPIC_STATUS_SERVER_RESULT = "pype.event.server.status.result" diff --git a/pype/modules/ftrack/ftrack_server/socket_thread.py b/openpype/modules/ftrack/ftrack_server/socket_thread.py similarity index 98% rename from pype/modules/ftrack/ftrack_server/socket_thread.py rename to openpype/modules/ftrack/ftrack_server/socket_thread.py index 181fad5ce5..179ba1ae97 100644 --- a/pype/modules/ftrack/ftrack_server/socket_thread.py +++ b/openpype/modules/ftrack/ftrack_server/socket_thread.py @@ -5,8 +5,8 @@ import socket import threading import traceback import subprocess -from pype.api import Logger -from pype.lib import get_pype_execute_args +from openpype.api import Logger +from openpype.lib import get_pype_execute_args class SocketThread(threading.Thread): diff --git a/pype/modules/ftrack/launch_hooks/post_ftrack_changes.py b/openpype/modules/ftrack/launch_hooks/post_ftrack_changes.py similarity index 98% rename from pype/modules/ftrack/launch_hooks/post_ftrack_changes.py rename to openpype/modules/ftrack/launch_hooks/post_ftrack_changes.py index ac6b0a2c5d..df16cde2b8 100644 --- a/pype/modules/ftrack/launch_hooks/post_ftrack_changes.py +++ b/openpype/modules/ftrack/launch_hooks/post_ftrack_changes.py @@ -1,8 +1,8 @@ import os import ftrack_api -from pype.api import get_project_settings -from pype.lib import PostLaunchHook +from openpype.api import get_project_settings +from openpype.lib import PostLaunchHook class PostFtrackHook(PostLaunchHook): diff --git a/pype/modules/ftrack/launch_hooks/pre_python2_vendor.py b/openpype/modules/ftrack/launch_hooks/pre_python2_vendor.py similarity index 93% rename from pype/modules/ftrack/launch_hooks/pre_python2_vendor.py rename to openpype/modules/ftrack/launch_hooks/pre_python2_vendor.py index 46b4009737..86ced990fd 100644 --- a/pype/modules/ftrack/launch_hooks/pre_python2_vendor.py +++ b/openpype/modules/ftrack/launch_hooks/pre_python2_vendor.py @@ -1,6 +1,6 @@ import os -from pype.lib import PreLaunchHook -from pype.modules.ftrack import FTRACK_MODULE_DIR +from openpype.lib import PreLaunchHook +from openpype.modules.ftrack import FTRACK_MODULE_DIR class PrePyhton2Support(PreLaunchHook): diff --git a/pype/modules/ftrack/lib/__init__.py b/openpype/modules/ftrack/lib/__init__.py similarity index 100% rename from pype/modules/ftrack/lib/__init__.py rename to openpype/modules/ftrack/lib/__init__.py diff --git a/pype/modules/ftrack/lib/avalon_sync.py b/openpype/modules/ftrack/lib/avalon_sync.py similarity index 99% rename from pype/modules/ftrack/lib/avalon_sync.py rename to openpype/modules/ftrack/lib/avalon_sync.py index 1dd045ac86..7511c2627b 100644 --- a/pype/modules/ftrack/lib/avalon_sync.py +++ b/openpype/modules/ftrack/lib/avalon_sync.py @@ -14,7 +14,7 @@ else: from avalon.api import AvalonMongoDB import avalon -from pype.api import ( +from openpype.api import ( Logger, Anatomy, get_anatomy_settings @@ -24,7 +24,7 @@ from bson.objectid import ObjectId from bson.errors import InvalidId from pymongo import UpdateOne import ftrack_api -from pype.lib import ApplicationManager +from openpype.lib import ApplicationManager log = Logger.get_logger(__name__) diff --git a/pype/modules/ftrack/lib/credentials.py b/openpype/modules/ftrack/lib/credentials.py similarity index 100% rename from pype/modules/ftrack/lib/credentials.py rename to openpype/modules/ftrack/lib/credentials.py diff --git a/pype/modules/ftrack/lib/custom_attributes.json b/openpype/modules/ftrack/lib/custom_attributes.json similarity index 100% rename from pype/modules/ftrack/lib/custom_attributes.json rename to openpype/modules/ftrack/lib/custom_attributes.json diff --git a/pype/modules/ftrack/lib/ftrack_action_handler.py b/openpype/modules/ftrack/lib/ftrack_action_handler.py similarity index 100% rename from pype/modules/ftrack/lib/ftrack_action_handler.py rename to openpype/modules/ftrack/lib/ftrack_action_handler.py diff --git a/pype/modules/ftrack/lib/ftrack_base_handler.py b/openpype/modules/ftrack/lib/ftrack_base_handler.py similarity index 99% rename from pype/modules/ftrack/lib/ftrack_base_handler.py rename to openpype/modules/ftrack/lib/ftrack_base_handler.py index 74c31d1c6f..73f916a7f7 100644 --- a/pype/modules/ftrack/lib/ftrack_base_handler.py +++ b/openpype/modules/ftrack/lib/ftrack_base_handler.py @@ -1,10 +1,10 @@ import functools import time -from pype.api import Logger -from pype.settings import get_project_settings +from openpype.api import Logger +from openpype.settings import get_project_settings import ftrack_api -from pype.modules.ftrack import ftrack_server +from openpype.modules.ftrack import ftrack_server class MissingPermision(Exception): diff --git a/pype/modules/ftrack/lib/ftrack_event_handler.py b/openpype/modules/ftrack/lib/ftrack_event_handler.py similarity index 100% rename from pype/modules/ftrack/lib/ftrack_event_handler.py rename to openpype/modules/ftrack/lib/ftrack_event_handler.py diff --git a/pype/modules/ftrack/lib/settings.py b/openpype/modules/ftrack/lib/settings.py similarity index 89% rename from pype/modules/ftrack/lib/settings.py rename to openpype/modules/ftrack/lib/settings.py index 46854e8184..b77807c329 100644 --- a/pype/modules/ftrack/lib/settings.py +++ b/openpype/modules/ftrack/lib/settings.py @@ -1,4 +1,4 @@ -from pype.api import get_system_settings +from openpype.api import get_system_settings PYPE_DATABASE_NAME = "pype" diff --git a/pype/modules/ftrack/plugins/_unused_publish/integrate_ftrack_comments.py b/openpype/modules/ftrack/plugins/_unused_publish/integrate_ftrack_comments.py similarity index 100% rename from pype/modules/ftrack/plugins/_unused_publish/integrate_ftrack_comments.py rename to openpype/modules/ftrack/plugins/_unused_publish/integrate_ftrack_comments.py diff --git a/pype/modules/ftrack/plugins/publish/collect_ftrack_api.py b/openpype/modules/ftrack/plugins/publish/collect_ftrack_api.py similarity index 100% rename from pype/modules/ftrack/plugins/publish/collect_ftrack_api.py rename to openpype/modules/ftrack/plugins/publish/collect_ftrack_api.py diff --git a/pype/modules/ftrack/plugins/publish/integrate_ftrack_api.py b/openpype/modules/ftrack/plugins/publish/integrate_ftrack_api.py similarity index 100% rename from pype/modules/ftrack/plugins/publish/integrate_ftrack_api.py rename to openpype/modules/ftrack/plugins/publish/integrate_ftrack_api.py diff --git a/pype/modules/ftrack/plugins/publish/integrate_ftrack_component_overwrite.py b/openpype/modules/ftrack/plugins/publish/integrate_ftrack_component_overwrite.py similarity index 100% rename from pype/modules/ftrack/plugins/publish/integrate_ftrack_component_overwrite.py rename to openpype/modules/ftrack/plugins/publish/integrate_ftrack_component_overwrite.py diff --git a/pype/modules/ftrack/plugins/publish/integrate_ftrack_instances.py b/openpype/modules/ftrack/plugins/publish/integrate_ftrack_instances.py similarity index 100% rename from pype/modules/ftrack/plugins/publish/integrate_ftrack_instances.py rename to openpype/modules/ftrack/plugins/publish/integrate_ftrack_instances.py diff --git a/pype/modules/ftrack/plugins/publish/integrate_ftrack_note.py b/openpype/modules/ftrack/plugins/publish/integrate_ftrack_note.py similarity index 100% rename from pype/modules/ftrack/plugins/publish/integrate_ftrack_note.py rename to openpype/modules/ftrack/plugins/publish/integrate_ftrack_note.py diff --git a/pype/modules/ftrack/plugins/publish/integrate_hierarchy_ftrack.py b/openpype/modules/ftrack/plugins/publish/integrate_hierarchy_ftrack.py similarity index 100% rename from pype/modules/ftrack/plugins/publish/integrate_hierarchy_ftrack.py rename to openpype/modules/ftrack/plugins/publish/integrate_hierarchy_ftrack.py diff --git a/pype/modules/ftrack/plugins/publish/integrate_remove_components.py b/openpype/modules/ftrack/plugins/publish/integrate_remove_components.py similarity index 100% rename from pype/modules/ftrack/plugins/publish/integrate_remove_components.py rename to openpype/modules/ftrack/plugins/publish/integrate_remove_components.py diff --git a/pype/modules/ftrack/plugins/publish/validate_custom_ftrack_attributes.py b/openpype/modules/ftrack/plugins/publish/validate_custom_ftrack_attributes.py similarity index 99% rename from pype/modules/ftrack/plugins/publish/validate_custom_ftrack_attributes.py rename to openpype/modules/ftrack/plugins/publish/validate_custom_ftrack_attributes.py index 549f48889d..dc80bf4eb3 100644 --- a/pype/modules/ftrack/plugins/publish/validate_custom_ftrack_attributes.py +++ b/openpype/modules/ftrack/plugins/publish/validate_custom_ftrack_attributes.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api class ValidateFtrackAttributes(pyblish.api.InstancePlugin): @@ -34,7 +34,7 @@ class ValidateFtrackAttributes(pyblish.api.InstancePlugin): """ label = "Validate Custom Ftrack Attributes" - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder families = ["ftrack"] optional = True # Ignore standalone host, because it does not have an Ftrack entity diff --git a/pype/modules/ftrack/scripts/sub_event_processor.py b/openpype/modules/ftrack/scripts/sub_event_processor.py similarity index 92% rename from pype/modules/ftrack/scripts/sub_event_processor.py rename to openpype/modules/ftrack/scripts/sub_event_processor.py index 51d796cea6..29c285c47f 100644 --- a/pype/modules/ftrack/scripts/sub_event_processor.py +++ b/openpype/modules/ftrack/scripts/sub_event_processor.py @@ -4,15 +4,15 @@ import signal import socket import datetime -from pype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer -from pype.modules.ftrack.ftrack_server.lib import ( +from openpype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer +from openpype.modules.ftrack.ftrack_server.lib import ( SocketSession, ProcessEventHub, TOPIC_STATUS_SERVER ) -from pype.modules import ModulesManager +from openpype.modules import ModulesManager -from pype.api import Logger +from openpype.api import Logger import ftrack_api diff --git a/pype/modules/ftrack/scripts/sub_event_status.py b/openpype/modules/ftrack/scripts/sub_event_status.py similarity index 98% rename from pype/modules/ftrack/scripts/sub_event_status.py rename to openpype/modules/ftrack/scripts/sub_event_status.py index bb72d9ac15..783cf11290 100644 --- a/pype/modules/ftrack/scripts/sub_event_status.py +++ b/openpype/modules/ftrack/scripts/sub_event_status.py @@ -7,14 +7,14 @@ import socket import datetime import ftrack_api -from pype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer -from pype.modules.ftrack.ftrack_server.lib import ( +from openpype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer +from openpype.modules.ftrack.ftrack_server.lib import ( SocketSession, StatusEventHub, TOPIC_STATUS_SERVER, TOPIC_STATUS_SERVER_RESULT ) -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger("Event storer") action_identifier = ( diff --git a/pype/modules/ftrack/scripts/sub_event_storer.py b/openpype/modules/ftrack/scripts/sub_event_storer.py similarity index 95% rename from pype/modules/ftrack/scripts/sub_event_storer.py rename to openpype/modules/ftrack/scripts/sub_event_storer.py index d70ef8bd42..7f903f1bc0 100644 --- a/pype/modules/ftrack/scripts/sub_event_storer.py +++ b/openpype/modules/ftrack/scripts/sub_event_storer.py @@ -6,16 +6,16 @@ import socket import pymongo import ftrack_api -from pype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer -from pype.modules.ftrack.ftrack_server.lib import ( +from openpype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer +from openpype.modules.ftrack.ftrack_server.lib import ( SocketSession, StorerEventHub, TOPIC_STATUS_SERVER, TOPIC_STATUS_SERVER_RESULT ) -from pype.modules.ftrack.lib import get_ftrack_event_mongo_info -from pype.lib import PypeMongoConnection -from pype.api import Logger +from openpype.modules.ftrack.lib import get_ftrack_event_mongo_info +from openpype.lib import PypeMongoConnection +from openpype.api import Logger log = Logger.get_logger("Event storer") subprocess_started = datetime.datetime.now() diff --git a/pype/modules/ftrack/scripts/sub_legacy_server.py b/openpype/modules/ftrack/scripts/sub_legacy_server.py similarity index 94% rename from pype/modules/ftrack/scripts/sub_legacy_server.py rename to openpype/modules/ftrack/scripts/sub_legacy_server.py index 2e45b564b3..ae6aefa908 100644 --- a/pype/modules/ftrack/scripts/sub_legacy_server.py +++ b/openpype/modules/ftrack/scripts/sub_legacy_server.py @@ -5,9 +5,9 @@ import signal import threading import ftrack_api -from pype.api import Logger -from pype.modules import ModulesManager -from pype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer +from openpype.api import Logger +from openpype.modules import ModulesManager +from openpype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer log = Logger().get_logger("Event Server Legacy") diff --git a/pype/modules/ftrack/scripts/sub_user_server.py b/openpype/modules/ftrack/scripts/sub_user_server.py similarity index 88% rename from pype/modules/ftrack/scripts/sub_user_server.py rename to openpype/modules/ftrack/scripts/sub_user_server.py index 79cd90a0d7..971a31b703 100644 --- a/pype/modules/ftrack/scripts/sub_user_server.py +++ b/openpype/modules/ftrack/scripts/sub_user_server.py @@ -2,14 +2,14 @@ import sys import signal import socket -from pype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer -from pype.modules.ftrack.ftrack_server.lib import ( +from openpype.modules.ftrack.ftrack_server.ftrack_server import FtrackServer +from openpype.modules.ftrack.ftrack_server.lib import ( SocketSession, SocketBaseEventHub ) -from pype.modules import ModulesManager +from openpype.modules import ModulesManager -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger("FtrackUserServer") diff --git a/pype/modules/ftrack/tray/__init__.py b/openpype/modules/ftrack/tray/__init__.py similarity index 100% rename from pype/modules/ftrack/tray/__init__.py rename to openpype/modules/ftrack/tray/__init__.py diff --git a/pype/modules/ftrack/tray/ftrack_tray.py b/openpype/modules/ftrack/tray/ftrack_tray.py similarity index 99% rename from pype/modules/ftrack/tray/ftrack_tray.py rename to openpype/modules/ftrack/tray/ftrack_tray.py index 1009d93afe..9da5db835b 100644 --- a/pype/modules/ftrack/tray/ftrack_tray.py +++ b/openpype/modules/ftrack/tray/ftrack_tray.py @@ -11,7 +11,7 @@ from ..lib import credentials from ..ftrack_module import FTRACK_MODULE_DIR from . import login_dialog -from pype.api import Logger, resources +from openpype.api import Logger, resources log = Logger().get_logger("FtrackModule") diff --git a/pype/modules/ftrack/tray/login_dialog.py b/openpype/modules/ftrack/tray/login_dialog.py similarity index 99% rename from pype/modules/ftrack/tray/login_dialog.py rename to openpype/modules/ftrack/tray/login_dialog.py index a49010effc..f46616a9a8 100644 --- a/pype/modules/ftrack/tray/login_dialog.py +++ b/openpype/modules/ftrack/tray/login_dialog.py @@ -1,9 +1,9 @@ import os import requests from avalon import style -from pype.modules.ftrack.lib import credentials +from openpype.modules.ftrack.lib import credentials from . import login_tools -from pype import resources +from openpype import resources from Qt import QtCore, QtGui, QtWidgets diff --git a/pype/modules/ftrack/tray/login_tools.py b/openpype/modules/ftrack/tray/login_tools.py similarity index 98% rename from pype/modules/ftrack/tray/login_tools.py rename to openpype/modules/ftrack/tray/login_tools.py index 328ce49f5c..c6cf5b5f7b 100644 --- a/pype/modules/ftrack/tray/login_tools.py +++ b/openpype/modules/ftrack/tray/login_tools.py @@ -3,7 +3,7 @@ from urllib import parse import webbrowser import functools import threading -from pype import resources +from openpype import resources class LoginServerHandler(BaseHTTPRequestHandler): diff --git a/pype/modules/idle_manager/__init__.py b/openpype/modules/idle_manager/__init__.py similarity index 100% rename from pype/modules/idle_manager/__init__.py rename to openpype/modules/idle_manager/__init__.py diff --git a/pype/modules/idle_manager/idle_module.py b/openpype/modules/idle_manager/idle_module.py similarity index 97% rename from pype/modules/idle_manager/idle_module.py rename to openpype/modules/idle_manager/idle_module.py index 979e1b92ea..ddccf07f6a 100644 --- a/pype/modules/idle_manager/idle_module.py +++ b/openpype/modules/idle_manager/idle_module.py @@ -3,7 +3,7 @@ from abc import ABCMeta, abstractmethod import six -from pype.modules import PypeModule, ITrayService +from openpype.modules import PypeModule, ITrayService @six.add_metaclass(ABCMeta) diff --git a/pype/modules/idle_manager/idle_threads.py b/openpype/modules/idle_manager/idle_threads.py similarity index 98% rename from pype/modules/idle_manager/idle_threads.py rename to openpype/modules/idle_manager/idle_threads.py index 7cedf986e6..f19feddb77 100644 --- a/pype/modules/idle_manager/idle_threads.py +++ b/openpype/modules/idle_manager/idle_threads.py @@ -3,7 +3,7 @@ import threading from pynput import mouse, keyboard -from pype.lib import PypeLogger +from openpype.lib import PypeLogger class MouseThread(mouse.Listener): diff --git a/pype/modules/launcher_action.py b/openpype/modules/launcher_action.py similarity index 90% rename from pype/modules/launcher_action.py rename to openpype/modules/launcher_action.py index 9c2120cf9a..da0468d495 100644 --- a/pype/modules/launcher_action.py +++ b/openpype/modules/launcher_action.py @@ -21,7 +21,7 @@ class LauncherAction(PypeModule, ITrayAction): def connect_with_modules(self, enabled_modules): # Register actions if self.tray_initialized: - from pype.tools.launcher import actions + from openpype.tools.launcher import actions # actions.register_default_actions() actions.register_config_actions() actions_paths = self.manager.collect_plugin_paths()["actions"] @@ -31,7 +31,7 @@ class LauncherAction(PypeModule, ITrayAction): def create_window(self): if self.window: return - from pype.tools.launcher import LauncherWindow + from openpype.tools.launcher import LauncherWindow self.window = LauncherWindow() def on_action_trigger(self): diff --git a/pype/modules/log_viewer/__init__.py b/openpype/modules/log_viewer/__init__.py similarity index 100% rename from pype/modules/log_viewer/__init__.py rename to openpype/modules/log_viewer/__init__.py diff --git a/pype/modules/log_viewer/log_view_module.py b/openpype/modules/log_viewer/log_view_module.py similarity index 97% rename from pype/modules/log_viewer/log_view_module.py rename to openpype/modules/log_viewer/log_view_module.py index 1252eaf888..dde482b04c 100644 --- a/pype/modules/log_viewer/log_view_module.py +++ b/openpype/modules/log_viewer/log_view_module.py @@ -1,4 +1,4 @@ -from pype.api import Logger +from openpype.api import Logger from .. import PypeModule, ITrayModule diff --git a/pype/modules/log_viewer/tray/__init__.py b/openpype/modules/log_viewer/tray/__init__.py similarity index 100% rename from pype/modules/log_viewer/tray/__init__.py rename to openpype/modules/log_viewer/tray/__init__.py diff --git a/pype/modules/log_viewer/tray/app.py b/openpype/modules/log_viewer/tray/app.py similarity index 100% rename from pype/modules/log_viewer/tray/app.py rename to openpype/modules/log_viewer/tray/app.py diff --git a/pype/modules/log_viewer/tray/models.py b/openpype/modules/log_viewer/tray/models.py similarity index 99% rename from pype/modules/log_viewer/tray/models.py rename to openpype/modules/log_viewer/tray/models.py index 6820d5bcb9..aea62c381b 100644 --- a/pype/modules/log_viewer/tray/models.py +++ b/openpype/modules/log_viewer/tray/models.py @@ -1,6 +1,6 @@ import collections from Qt import QtCore, QtGui -from pype.lib.log import PypeLogger +from openpype.lib.log import PypeLogger class LogModel(QtGui.QStandardItemModel): diff --git a/pype/modules/log_viewer/tray/widgets.py b/openpype/modules/log_viewer/tray/widgets.py similarity index 100% rename from pype/modules/log_viewer/tray/widgets.py rename to openpype/modules/log_viewer/tray/widgets.py diff --git a/pype/modules/muster/__init__.py b/openpype/modules/muster/__init__.py similarity index 100% rename from pype/modules/muster/__init__.py rename to openpype/modules/muster/__init__.py diff --git a/pype/modules/muster/muster.py b/openpype/modules/muster/muster.py similarity index 100% rename from pype/modules/muster/muster.py rename to openpype/modules/muster/muster.py diff --git a/pype/modules/muster/rest_api.py b/openpype/modules/muster/rest_api.py similarity index 100% rename from pype/modules/muster/rest_api.py rename to openpype/modules/muster/rest_api.py diff --git a/pype/modules/muster/widget_login.py b/openpype/modules/muster/widget_login.py similarity index 99% rename from pype/modules/muster/widget_login.py rename to openpype/modules/muster/widget_login.py index 0fd1913d0c..d9af4cb99f 100644 --- a/pype/modules/muster/widget_login.py +++ b/openpype/modules/muster/widget_login.py @@ -1,7 +1,7 @@ import os from Qt import QtCore, QtGui, QtWidgets from avalon import style -from pype import resources +from openpype import resources class MusterLogin(QtWidgets.QWidget): diff --git a/pype/modules/settings_action.py b/openpype/modules/settings_action.py similarity index 97% rename from pype/modules/settings_action.py rename to openpype/modules/settings_action.py index 2fc59b11c2..371e190c12 100644 --- a/pype/modules/settings_action.py +++ b/openpype/modules/settings_action.py @@ -63,7 +63,7 @@ class SettingsAction(PypeModule, ITrayAction): """Initializa Settings Qt window.""" if self.settings_window: return - from pype.tools.settings import MainWidget + from openpype.tools.settings import MainWidget self.settings_window = MainWidget(self.user_role) def show_settings_window(self): @@ -118,7 +118,7 @@ class LocalSettingsAction(PypeModule, ITrayAction): """Initializa Settings Qt window.""" if self.settings_window: return - from pype.tools.settings import LocalSettingsWindow + from openpype.tools.settings import LocalSettingsWindow self.settings_window = LocalSettingsWindow() def show_settings_window(self): diff --git a/pype/modules/standalonepublish_action.py b/openpype/modules/standalonepublish_action.py similarity index 90% rename from pype/modules/standalonepublish_action.py rename to openpype/modules/standalonepublish_action.py index 4e9360a9e8..87f7446341 100644 --- a/pype/modules/standalonepublish_action.py +++ b/openpype/modules/standalonepublish_action.py @@ -1,7 +1,7 @@ import os import sys import subprocess -from pype.lib import get_pype_execute_args +from openpype.lib import get_pype_execute_args from . import PypeModule, ITrayAction @@ -10,11 +10,11 @@ class StandAlonePublishAction(PypeModule, ITrayAction): name = "standalonepublish_tool" def initialize(self, modules_settings): - import pype + import openpype self.enabled = modules_settings[self.name]["enabled"] self.publish_paths = [ os.path.join( - pype.PACKAGE_DIR, + openpype.PACKAGE_DIR, "hosts", "standalonepublisher", "plugins", diff --git a/pype/modules/sync_server/README.md b/openpype/modules/sync_server/README.md similarity index 100% rename from pype/modules/sync_server/README.md rename to openpype/modules/sync_server/README.md diff --git a/pype/modules/sync_server/__init__.py b/openpype/modules/sync_server/__init__.py similarity index 51% rename from pype/modules/sync_server/__init__.py rename to openpype/modules/sync_server/__init__.py index 7452b5be1a..7123536fcf 100644 --- a/pype/modules/sync_server/__init__.py +++ b/openpype/modules/sync_server/__init__.py @@ -1,4 +1,4 @@ -from pype.modules.sync_server.sync_server import SyncServer +from openpype.modules.sync_server.sync_server import SyncServer def tray_init(tray_widget, main_widget): diff --git a/pype/modules/sync_server/providers/abstract_provider.py b/openpype/modules/sync_server/providers/abstract_provider.py similarity index 100% rename from pype/modules/sync_server/providers/abstract_provider.py rename to openpype/modules/sync_server/providers/abstract_provider.py diff --git a/pype/modules/sync_server/providers/gdrive.py b/openpype/modules/sync_server/providers/gdrive.py similarity index 99% rename from pype/modules/sync_server/providers/gdrive.py rename to openpype/modules/sync_server/providers/gdrive.py index cbd5c1b527..6c01bc4e6f 100644 --- a/pype/modules/sync_server/providers/gdrive.py +++ b/openpype/modules/sync_server/providers/gdrive.py @@ -5,8 +5,8 @@ import google.oauth2.service_account as service_account from googleapiclient import errors from .abstract_provider import AbstractProvider from googleapiclient.http import MediaFileUpload, MediaIoBaseDownload -from pype.api import Logger -from pype.api import get_system_settings +from openpype.api import Logger +from openpype.api import get_system_settings from ..utils import time_function import time diff --git a/pype/modules/sync_server/providers/lib.py b/openpype/modules/sync_server/providers/lib.py similarity index 100% rename from pype/modules/sync_server/providers/lib.py rename to openpype/modules/sync_server/providers/lib.py diff --git a/pype/modules/sync_server/providers/local_drive.py b/openpype/modules/sync_server/providers/local_drive.py similarity index 99% rename from pype/modules/sync_server/providers/local_drive.py rename to openpype/modules/sync_server/providers/local_drive.py index 32a5017fe3..fa8dd4c183 100644 --- a/pype/modules/sync_server/providers/local_drive.py +++ b/openpype/modules/sync_server/providers/local_drive.py @@ -4,7 +4,7 @@ import shutil import threading import time -from pype.api import Logger +from openpype.api import Logger from .abstract_provider import AbstractProvider log = Logger().get_logger("SyncServer") diff --git a/pype/modules/sync_server/providers/resources/gdrive.png b/openpype/modules/sync_server/providers/resources/gdrive.png similarity index 100% rename from pype/modules/sync_server/providers/resources/gdrive.png rename to openpype/modules/sync_server/providers/resources/gdrive.png diff --git a/pype/modules/sync_server/providers/resources/local_drive.png b/openpype/modules/sync_server/providers/resources/local_drive.png similarity index 100% rename from pype/modules/sync_server/providers/resources/local_drive.png rename to openpype/modules/sync_server/providers/resources/local_drive.png diff --git a/pype/modules/sync_server/providers/resources/studio.png b/openpype/modules/sync_server/providers/resources/studio.png similarity index 100% rename from pype/modules/sync_server/providers/resources/studio.png rename to openpype/modules/sync_server/providers/resources/studio.png diff --git a/pype/modules/sync_server/resources/paused.png b/openpype/modules/sync_server/resources/paused.png similarity index 100% rename from pype/modules/sync_server/resources/paused.png rename to openpype/modules/sync_server/resources/paused.png diff --git a/pype/modules/sync_server/resources/synced.png b/openpype/modules/sync_server/resources/synced.png similarity index 100% rename from pype/modules/sync_server/resources/synced.png rename to openpype/modules/sync_server/resources/synced.png diff --git a/pype/modules/sync_server/sync_server.py b/openpype/modules/sync_server/sync_server.py similarity index 99% rename from pype/modules/sync_server/sync_server.py rename to openpype/modules/sync_server/sync_server.py index e9a0b942e7..62a5dc675c 100644 --- a/pype/modules/sync_server/sync_server.py +++ b/openpype/modules/sync_server/sync_server.py @@ -1,4 +1,4 @@ -from pype.api import ( +from openpype.api import ( Anatomy, get_project_settings, get_local_site_id) @@ -18,7 +18,7 @@ from avalon.api import AvalonMongoDB from .utils import time_function import six -from pype.lib import PypeLogger +from openpype.lib import PypeLogger from .. import PypeModule, ITrayModule from .providers.local_drive import LocalDriveHandler diff --git a/pype/modules/sync_server/tray/app.py b/openpype/modules/sync_server/tray/app.py similarity index 99% rename from pype/modules/sync_server/tray/app.py rename to openpype/modules/sync_server/tray/app.py index 783f2def1c..476e9d16e8 100644 --- a/pype/modules/sync_server/tray/app.py +++ b/openpype/modules/sync_server/tray/app.py @@ -6,7 +6,7 @@ import os import sys import subprocess -from pype.tools.settings import ( +from openpype.tools.settings import ( ProjectListWidget, style ) @@ -14,8 +14,8 @@ from pype.tools.settings import ( from avalon.tools.delegates import PrettyTimeDelegate, pretty_timestamp from bson.objectid import ObjectId -from pype.lib import PypeLogger -from pype.api import get_local_site_id +from openpype.lib import PypeLogger +from openpype.api import get_local_site_id log = PypeLogger().get_logger("SyncServer") diff --git a/pype/modules/sync_server/utils.py b/openpype/modules/sync_server/utils.py similarity index 95% rename from pype/modules/sync_server/utils.py rename to openpype/modules/sync_server/utils.py index d5127213af..0762766783 100644 --- a/pype/modules/sync_server/utils.py +++ b/openpype/modules/sync_server/utils.py @@ -1,5 +1,5 @@ import time -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger("SyncServer") diff --git a/pype/modules/timers_manager/__init__.py b/openpype/modules/timers_manager/__init__.py similarity index 100% rename from pype/modules/timers_manager/__init__.py rename to openpype/modules/timers_manager/__init__.py diff --git a/pype/modules/timers_manager/rest_api.py b/openpype/modules/timers_manager/rest_api.py similarity index 97% rename from pype/modules/timers_manager/rest_api.py rename to openpype/modules/timers_manager/rest_api.py index 2247a6f769..975c1a91f9 100644 --- a/pype/modules/timers_manager/rest_api.py +++ b/openpype/modules/timers_manager/rest_api.py @@ -1,5 +1,5 @@ from aiohttp.web_response import Response -from pype.api import Logger +from openpype.api import Logger log = Logger().get_logger("Event processor") diff --git a/pype/modules/timers_manager/timers_manager.py b/openpype/modules/timers_manager/timers_manager.py similarity index 100% rename from pype/modules/timers_manager/timers_manager.py rename to openpype/modules/timers_manager/timers_manager.py diff --git a/pype/modules/timers_manager/widget_user_idle.py b/openpype/modules/timers_manager/widget_user_idle.py similarity index 99% rename from pype/modules/timers_manager/widget_user_idle.py rename to openpype/modules/timers_manager/widget_user_idle.py index cbdb7fd30a..8b614f6a13 100644 --- a/pype/modules/timers_manager/widget_user_idle.py +++ b/openpype/modules/timers_manager/widget_user_idle.py @@ -1,6 +1,6 @@ from avalon import style from Qt import QtCore, QtGui, QtWidgets -from pype import resources +from openpype import resources class WidgetUserIdle(QtWidgets.QWidget): diff --git a/pype/modules/user/__init__.py b/openpype/modules/user/__init__.py similarity index 100% rename from pype/modules/user/__init__.py rename to openpype/modules/user/__init__.py diff --git a/pype/modules/user/rest_api.py b/openpype/modules/user/rest_api.py similarity index 100% rename from pype/modules/user/rest_api.py rename to openpype/modules/user/rest_api.py diff --git a/pype/modules/user/user_module.py b/openpype/modules/user/user_module.py similarity index 100% rename from pype/modules/user/user_module.py rename to openpype/modules/user/user_module.py diff --git a/pype/modules/user/widget_user.py b/openpype/modules/user/widget_user.py similarity index 98% rename from pype/modules/user/widget_user.py rename to openpype/modules/user/widget_user.py index d12cd6175c..f8ecadf56b 100644 --- a/pype/modules/user/widget_user.py +++ b/openpype/modules/user/widget_user.py @@ -1,6 +1,6 @@ from Qt import QtCore, QtGui, QtWidgets from avalon import style -from pype import resources +from openpype import resources class UserWidget(QtWidgets.QWidget): diff --git a/pype/modules/webserver/__init__.py b/openpype/modules/webserver/__init__.py similarity index 100% rename from pype/modules/webserver/__init__.py rename to openpype/modules/webserver/__init__.py diff --git a/pype/modules/webserver/base_routes.py b/openpype/modules/webserver/base_routes.py similarity index 100% rename from pype/modules/webserver/base_routes.py rename to openpype/modules/webserver/base_routes.py diff --git a/pype/modules/webserver/server.py b/openpype/modules/webserver/server.py similarity index 99% rename from pype/modules/webserver/server.py rename to openpype/modules/webserver/server.py index e4b0ec236b..65c5795995 100644 --- a/pype/modules/webserver/server.py +++ b/openpype/modules/webserver/server.py @@ -3,7 +3,7 @@ import asyncio from aiohttp import web -from pype.lib import PypeLogger +from openpype.lib import PypeLogger log = PypeLogger.get_logger("WebServer") diff --git a/pype/modules/webserver/webserver_module.py b/openpype/modules/webserver/webserver_module.py similarity index 99% rename from pype/modules/webserver/webserver_module.py rename to openpype/modules/webserver/webserver_module.py index b3fb83596d..59a0a08427 100644 --- a/pype/modules/webserver/webserver_module.py +++ b/openpype/modules/webserver/webserver_module.py @@ -4,7 +4,7 @@ from abc import ABCMeta, abstractmethod import six -from pype import resources +from openpype import resources from .. import PypeModule, ITrayService diff --git a/pype/plugin.py b/openpype/plugin.py similarity index 98% rename from pype/plugin.py rename to openpype/plugin.py index 111b65ade3..8ade0f3825 100644 --- a/pype/plugin.py +++ b/openpype/plugin.py @@ -3,7 +3,7 @@ import os import pyblish.api import avalon.api -from pype.lib import get_subset_name +from openpype.lib import get_subset_name ValidatePipelineOrder = pyblish.api.ValidatorOrder + 0.05 ValidateContentsOrder = pyblish.api.ValidatorOrder + 0.1 diff --git a/pype/plugins/load/copy_file.py b/openpype/plugins/load/copy_file.py similarity index 100% rename from pype/plugins/load/copy_file.py rename to openpype/plugins/load/copy_file.py diff --git a/pype/plugins/load/copy_file_path.py b/openpype/plugins/load/copy_file_path.py similarity index 100% rename from pype/plugins/load/copy_file_path.py rename to openpype/plugins/load/copy_file_path.py diff --git a/pype/plugins/load/delete_old_versions.py b/openpype/plugins/load/delete_old_versions.py similarity index 99% rename from pype/plugins/load/delete_old_versions.py rename to openpype/plugins/load/delete_old_versions.py index b00d247425..e5132e0f8a 100644 --- a/pype/plugins/load/delete_old_versions.py +++ b/openpype/plugins/load/delete_old_versions.py @@ -11,7 +11,7 @@ from avalon.vendor.Qt import QtWidgets, QtCore from avalon.vendor import qargparse from avalon.api import AvalonMongoDB import avalon.pipeline -from pype.api import Anatomy +from openpype.api import Anatomy class DeleteOldVersions(api.Loader): diff --git a/pype/plugins/load/open_djv.py b/openpype/plugins/load/open_djv.py similarity index 100% rename from pype/plugins/load/open_djv.py rename to openpype/plugins/load/open_djv.py diff --git a/pype/plugins/load/open_file.py b/openpype/plugins/load/open_file.py similarity index 100% rename from pype/plugins/load/open_file.py rename to openpype/plugins/load/open_file.py diff --git a/pype/plugins/publish/cleanup.py b/openpype/plugins/publish/cleanup.py similarity index 100% rename from pype/plugins/publish/cleanup.py rename to openpype/plugins/publish/cleanup.py diff --git a/pype/plugins/publish/collect_anatomy_context_data.py b/openpype/plugins/publish/collect_anatomy_context_data.py similarity index 98% rename from pype/plugins/publish/collect_anatomy_context_data.py rename to openpype/plugins/publish/collect_anatomy_context_data.py index 07e58d8cb7..5b955a0592 100644 --- a/pype/plugins/publish/collect_anatomy_context_data.py +++ b/openpype/plugins/publish/collect_anatomy_context_data.py @@ -15,7 +15,7 @@ Provides: import os import json -from pype.lib import ApplicationManager +from openpype.lib import ApplicationManager from avalon import api, lib import pyblish.api diff --git a/pype/plugins/publish/collect_anatomy_instance_data.py b/openpype/plugins/publish/collect_anatomy_instance_data.py similarity index 100% rename from pype/plugins/publish/collect_anatomy_instance_data.py rename to openpype/plugins/publish/collect_anatomy_instance_data.py diff --git a/pype/plugins/publish/collect_anatomy_object.py b/openpype/plugins/publish/collect_anatomy_object.py similarity index 96% rename from pype/plugins/publish/collect_anatomy_object.py rename to openpype/plugins/publish/collect_anatomy_object.py index 17f6e16962..2c87918728 100644 --- a/pype/plugins/publish/collect_anatomy_object.py +++ b/openpype/plugins/publish/collect_anatomy_object.py @@ -7,7 +7,7 @@ Provides: context -> anatomy (pype.api.Anatomy) """ import os -from pype.api import Anatomy +from openpype.api import Anatomy import pyblish.api diff --git a/pype/plugins/publish/collect_avalon_entities.py b/openpype/plugins/publish/collect_avalon_entities.py similarity index 100% rename from pype/plugins/publish/collect_avalon_entities.py rename to openpype/plugins/publish/collect_avalon_entities.py diff --git a/pype/plugins/publish/collect_comment.py b/openpype/plugins/publish/collect_comment.py similarity index 100% rename from pype/plugins/publish/collect_comment.py rename to openpype/plugins/publish/collect_comment.py diff --git a/pype/plugins/publish/collect_context_label.py b/openpype/plugins/publish/collect_context_label.py similarity index 100% rename from pype/plugins/publish/collect_context_label.py rename to openpype/plugins/publish/collect_context_label.py diff --git a/pype/plugins/publish/collect_current_pype_user.py b/openpype/plugins/publish/collect_current_pype_user.py similarity index 100% rename from pype/plugins/publish/collect_current_pype_user.py rename to openpype/plugins/publish/collect_current_pype_user.py diff --git a/pype/plugins/publish/collect_current_shell_file.py b/openpype/plugins/publish/collect_current_shell_file.py similarity index 100% rename from pype/plugins/publish/collect_current_shell_file.py rename to openpype/plugins/publish/collect_current_shell_file.py diff --git a/pype/plugins/publish/collect_datetime_data.py b/openpype/plugins/publish/collect_datetime_data.py similarity index 92% rename from pype/plugins/publish/collect_datetime_data.py rename to openpype/plugins/publish/collect_datetime_data.py index 1ad1f22a02..1675ae1a98 100644 --- a/pype/plugins/publish/collect_datetime_data.py +++ b/openpype/plugins/publish/collect_datetime_data.py @@ -5,7 +5,7 @@ Provides: """ import pyblish.api -from pype.api import config +from openpype.api import config class CollectDateTimeData(pyblish.api.ContextPlugin): diff --git a/pype/plugins/publish/collect_hierarchy.py b/openpype/plugins/publish/collect_hierarchy.py similarity index 100% rename from pype/plugins/publish/collect_hierarchy.py rename to openpype/plugins/publish/collect_hierarchy.py diff --git a/pype/plugins/publish/collect_machine_name.py b/openpype/plugins/publish/collect_machine_name.py similarity index 100% rename from pype/plugins/publish/collect_machine_name.py rename to openpype/plugins/publish/collect_machine_name.py diff --git a/pype/plugins/publish/collect_otio_frame_ranges.py b/openpype/plugins/publish/collect_otio_frame_ranges.py similarity index 91% rename from pype/plugins/publish/collect_otio_frame_ranges.py rename to openpype/plugins/publish/collect_otio_frame_ranges.py index 849a2c2475..53cc249033 100644 --- a/pype/plugins/publish/collect_otio_frame_ranges.py +++ b/openpype/plugins/publish/collect_otio_frame_ranges.py @@ -8,7 +8,7 @@ Requires: # import os import opentimelineio as otio import pyblish.api -import pype.lib +import openpype.lib from pprint import pformat @@ -31,9 +31,9 @@ class CollectOcioFrameRanges(pyblish.api.InstancePlugin): otio_tl_range = otio_clip.range_in_parent() otio_src_range = otio_clip.source_range otio_avalable_range = otio_clip.available_range() - otio_tl_range_handles = pype.lib.otio_range_with_handles( + otio_tl_range_handles = openpype.lib.otio_range_with_handles( otio_tl_range, instance) - otio_src_range_handles = pype.lib.otio_range_with_handles( + otio_src_range_handles = openpype.lib.otio_range_with_handles( otio_src_range, instance) # get source avalable start frame @@ -42,7 +42,7 @@ class CollectOcioFrameRanges(pyblish.api.InstancePlugin): otio_avalable_range.start_time.rate) # convert to frames - range_convert = pype.lib.otio_range_to_frame_range + range_convert = openpype.lib.otio_range_to_frame_range tl_start, tl_end = range_convert(otio_tl_range) tl_start_h, tl_end_h = range_convert(otio_tl_range_handles) src_start, src_end = range_convert(otio_src_range) diff --git a/pype/plugins/publish/collect_otio_review.py b/openpype/plugins/publish/collect_otio_review.py similarity index 100% rename from pype/plugins/publish/collect_otio_review.py rename to openpype/plugins/publish/collect_otio_review.py diff --git a/pype/plugins/publish/collect_otio_subset_resources.py b/openpype/plugins/publish/collect_otio_subset_resources.py similarity index 92% rename from pype/plugins/publish/collect_otio_subset_resources.py rename to openpype/plugins/publish/collect_otio_subset_resources.py index d1fd47debd..a0c6b9339b 100644 --- a/pype/plugins/publish/collect_otio_subset_resources.py +++ b/openpype/plugins/publish/collect_otio_subset_resources.py @@ -10,7 +10,7 @@ import os import clique import opentimelineio as otio import pyblish.api -import pype +import openpype class CollectOcioSubsetResources(pyblish.api.InstancePlugin): @@ -34,21 +34,21 @@ class CollectOcioSubsetResources(pyblish.api.InstancePlugin): # generate range in parent otio_src_range = otio_clip.source_range otio_avalable_range = otio_clip.available_range() - trimmed_media_range = pype.lib.trim_media_range( + trimmed_media_range = openpype.lib.trim_media_range( otio_avalable_range, otio_src_range) # calculate wth handles - otio_src_range_handles = pype.lib.otio_range_with_handles( + otio_src_range_handles = openpype.lib.otio_range_with_handles( otio_src_range, instance) - trimmed_media_range_h = pype.lib.trim_media_range( + trimmed_media_range_h = openpype.lib.trim_media_range( otio_avalable_range, otio_src_range_handles) # frame start and end from media - s_frame_start, s_frame_end = pype.lib.otio_range_to_frame_range( + s_frame_start, s_frame_end = openpype.lib.otio_range_to_frame_range( trimmed_media_range) - a_frame_start, a_frame_end = pype.lib.otio_range_to_frame_range( + a_frame_start, a_frame_end = openpype.lib.otio_range_to_frame_range( otio_avalable_range) - a_frame_start_h, a_frame_end_h = pype.lib.otio_range_to_frame_range( + a_frame_start_h, a_frame_end_h = openpype.lib.otio_range_to_frame_range( trimmed_media_range_h) # fix frame_start and frame_end frame to be in range of media @@ -115,7 +115,7 @@ class CollectOcioSubsetResources(pyblish.api.InstancePlugin): # in case it is file sequence but not new OTIO schema # `ImageSequenceReference` path = media_ref.target_url - collection_data = pype.lib.make_sequence_collection( + collection_data = openpype.lib.make_sequence_collection( path, trimmed_media_range, metadata) self.staging_dir, collection = collection_data diff --git a/pype/plugins/publish/collect_rendered_files.py b/openpype/plugins/publish/collect_rendered_files.py similarity index 100% rename from pype/plugins/publish/collect_rendered_files.py rename to openpype/plugins/publish/collect_rendered_files.py diff --git a/pype/plugins/publish/collect_resources_path.py b/openpype/plugins/publish/collect_resources_path.py similarity index 100% rename from pype/plugins/publish/collect_resources_path.py rename to openpype/plugins/publish/collect_resources_path.py diff --git a/pype/plugins/publish/collect_scene_version.py b/openpype/plugins/publish/collect_scene_version.py similarity index 97% rename from pype/plugins/publish/collect_scene_version.py rename to openpype/plugins/publish/collect_scene_version.py index de2d0d282e..f58bd0dd9d 100644 --- a/pype/plugins/publish/collect_scene_version.py +++ b/openpype/plugins/publish/collect_scene_version.py @@ -1,6 +1,6 @@ import os import pyblish.api -import pype.api as pype +import openpype.api as pype class CollectSceneVersion(pyblish.api.ContextPlugin): diff --git a/pype/plugins/publish/collect_settings.py b/openpype/plugins/publish/collect_settings.py similarity index 82% rename from pype/plugins/publish/collect_settings.py rename to openpype/plugins/publish/collect_settings.py index 8531e530ac..d56eabd1b5 100644 --- a/pype/plugins/publish/collect_settings.py +++ b/openpype/plugins/publish/collect_settings.py @@ -1,5 +1,5 @@ from pyblish import api -from pype.api import get_current_project_settings, get_system_settings +from openpype.api import get_current_project_settings, get_system_settings class CollectSettings(api.ContextPlugin): diff --git a/pype/plugins/publish/collect_shell_workspace.py b/openpype/plugins/publish/collect_shell_workspace.py similarity index 100% rename from pype/plugins/publish/collect_shell_workspace.py rename to openpype/plugins/publish/collect_shell_workspace.py diff --git a/pype/plugins/publish/collect_time.py b/openpype/plugins/publish/collect_time.py similarity index 100% rename from pype/plugins/publish/collect_time.py rename to openpype/plugins/publish/collect_time.py diff --git a/pype/plugins/publish/extract_burnin.py b/openpype/plugins/publish/extract_burnin.py similarity index 99% rename from pype/plugins/publish/extract_burnin.py rename to openpype/plugins/publish/extract_burnin.py index f3276972e6..e266c39714 100644 --- a/pype/plugins/publish/extract_burnin.py +++ b/openpype/plugins/publish/extract_burnin.py @@ -4,10 +4,10 @@ import json import copy import tempfile -import pype -import pype.api +import openpype +import openpype.api import pyblish -from pype.lib import ( +from openpype.lib import ( get_pype_execute_args, should_decompress, get_decompress_dir, @@ -16,7 +16,7 @@ from pype.lib import ( import shutil -class ExtractBurnin(pype.api.Extractor): +class ExtractBurnin(openpype.api.Extractor): """ Extractor to create video with pre-defined burnins from existing extracted video representation. @@ -273,7 +273,7 @@ class ExtractBurnin(pype.api.Extractor): self.log.debug("Executing: {}".format(" ".join(args))) # Run burnin script - pype.api.run_subprocess( + openpype.api.run_subprocess( args, shell=True, logger=self.log, env=env ) @@ -822,7 +822,7 @@ class ExtractBurnin(pype.api.Extractor): """Return path to python script for burnin processing.""" scriptpath = os.path.normpath( os.path.join( - pype.PACKAGE_DIR, + openpype.PACKAGE_DIR, "scripts", "otio_burnin.py" ) diff --git a/pype/plugins/publish/extract_hierarchy_avalon.py b/openpype/plugins/publish/extract_hierarchy_avalon.py similarity index 100% rename from pype/plugins/publish/extract_hierarchy_avalon.py rename to openpype/plugins/publish/extract_hierarchy_avalon.py diff --git a/pype/plugins/publish/extract_jpeg.py b/openpype/plugins/publish/extract_jpeg.py similarity index 95% rename from pype/plugins/publish/extract_jpeg.py rename to openpype/plugins/publish/extract_jpeg.py index 1c921a90d4..b1289217e6 100644 --- a/pype/plugins/publish/extract_jpeg.py +++ b/openpype/plugins/publish/extract_jpeg.py @@ -1,9 +1,9 @@ import os import pyblish.api -import pype.api -import pype.lib -from pype.lib import should_decompress, \ +import openpype.api +import openpype.lib +from openpype.lib import should_decompress, \ get_decompress_dir, decompress import shutil @@ -85,7 +85,7 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin): self.log.info("output {}".format(full_output_path)) - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") ffmpeg_args = self.ffmpeg_args or {} jpeg_items = [] @@ -111,7 +111,7 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin): # run subprocess self.log.debug("{}".format(subprocess_jpeg)) try: # temporary until oiiotool is supported cross platform - pype.api.run_subprocess( + openpype.api.run_subprocess( subprocess_jpeg, shell=True, logger=self.log ) except RuntimeError as exp: diff --git a/pype/plugins/publish/extract_otio_file.py b/openpype/plugins/publish/extract_otio_file.py similarity index 94% rename from pype/plugins/publish/extract_otio_file.py rename to openpype/plugins/publish/extract_otio_file.py index 84932f07a8..146f3b88ec 100644 --- a/pype/plugins/publish/extract_otio_file.py +++ b/openpype/plugins/publish/extract_otio_file.py @@ -1,10 +1,10 @@ import os import pyblish.api -import pype.api +import openpype.api import opentimelineio as otio -class ExtractOTIOFile(pype.api.Extractor): +class ExtractOTIOFile(openpype.api.Extractor): """ Extractor export OTIO file """ diff --git a/pype/plugins/publish/extract_otio_review.py b/openpype/plugins/publish/extract_otio_review.py similarity index 95% rename from pype/plugins/publish/extract_otio_review.py rename to openpype/plugins/publish/extract_otio_review.py index 0eb592a323..91a680ddb0 100644 --- a/pype/plugins/publish/extract_otio_review.py +++ b/openpype/plugins/publish/extract_otio_review.py @@ -18,10 +18,10 @@ import os import clique import opentimelineio as otio from pyblish import api -import pype +import openpype -class ExtractOTIOReview(pype.api.Extractor): +class ExtractOTIOReview(openpype.api.Extractor): """ Extract OTIO timeline into one concuted image sequence file. @@ -140,7 +140,7 @@ class ExtractOTIOReview(pype.api.Extractor): dirname = media_ref.target_url_base head = media_ref.name_prefix tail = media_ref.name_suffix - first, last = pype.lib.otio_range_to_frame_range( + first, last = openpype.lib.otio_range_to_frame_range( available_range) collection = clique.Collection( head=head, @@ -159,7 +159,7 @@ class ExtractOTIOReview(pype.api.Extractor): # in case it is file sequence but not new OTIO schema # `ImageSequenceReference` path = media_ref.target_url - collection_data = pype.lib.make_sequence_collection( + collection_data = openpype.lib.make_sequence_collection( path, available_range, metadata) dir_path, collection = collection_data @@ -282,8 +282,8 @@ class ExtractOTIOReview(pype.api.Extractor): duration = avl_durtation # return correct trimmed range - return pype.lib.trim_media_range( - avl_range, pype.lib.range_from_frames(start, duration, fps) + return openpype.lib.trim_media_range( + avl_range, openpype.lib.range_from_frames(start, duration, fps) ) def _render_seqment(self, sequence=None, @@ -304,7 +304,7 @@ class ExtractOTIOReview(pype.api.Extractor): otio.time.TimeRange: trimmed available range """ # get rendering app path - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") # create path and frame start to destination output_path, out_frame_start = self._get_ffmpeg_output() @@ -334,8 +334,8 @@ class ExtractOTIOReview(pype.api.Extractor): frame_start = otio_range.start_time.value input_fps = otio_range.start_time.rate frame_duration = otio_range.duration.value - sec_start = pype.lib.frames_to_secons(frame_start, input_fps) - sec_duration = pype.lib.frames_to_secons(frame_duration, input_fps) + sec_start = openpype.lib.frames_to_secons(frame_start, input_fps) + sec_duration = openpype.lib.frames_to_secons(frame_duration, input_fps) # form command for rendering gap files command.extend([ @@ -345,7 +345,7 @@ class ExtractOTIOReview(pype.api.Extractor): ]) elif gap: - sec_duration = pype.lib.frames_to_secons( + sec_duration = openpype.lib.frames_to_secons( gap, self.actual_fps) # form command for rendering gap files @@ -364,7 +364,7 @@ class ExtractOTIOReview(pype.api.Extractor): ]) # execute self.log.debug("Executing: {}".format(" ".join(command))) - output = pype.api.run_subprocess(" ".join(command), shell=True) + output = openpype.api.run_subprocess(" ".join(command), shell=True) self.log.debug("Output: {}".format(output)) def _generate_used_frames(self, duration, end_offset=None): diff --git a/pype/plugins/publish/extract_review.py b/openpype/plugins/publish/extract_review.py similarity index 99% rename from pype/plugins/publish/extract_review.py rename to openpype/plugins/publish/extract_review.py index f6530219a6..23c8ed2a8e 100644 --- a/pype/plugins/publish/extract_review.py +++ b/openpype/plugins/publish/extract_review.py @@ -4,9 +4,9 @@ import copy import json import pyblish.api import clique -import pype.api -import pype.lib -from pype.lib import should_decompress, \ +import openpype.api +import openpype.lib +from openpype.lib import should_decompress, \ get_decompress_dir, decompress @@ -43,7 +43,7 @@ class ExtractReview(pyblish.api.InstancePlugin): supported_exts = image_exts + video_exts # FFmpeg tools paths - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") # Preset attributes profiles = None @@ -207,7 +207,7 @@ class ExtractReview(pyblish.api.InstancePlugin): # run subprocess self.log.debug("Executing: {}".format(subprcs_cmd)) - pype.api.run_subprocess( + openpype.api.run_subprocess( subprcs_cmd, shell=True, logger=self.log ) @@ -726,7 +726,7 @@ class ExtractReview(pyblish.api.InstancePlugin): # NOTE Skipped using instance's resolution full_input_path_single_file = temp_data["full_input_path_single_file"] - input_data = pype.lib.ffprobe_streams( + input_data = openpype.lib.ffprobe_streams( full_input_path_single_file, self.log )[0] input_width = int(input_data["width"]) @@ -1279,7 +1279,7 @@ class ExtractReview(pyblish.api.InstancePlugin): # get representation and loop them representations = inst_data["representations"] - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") # filter out mov and img sequences representations_new = representations[:] @@ -1630,7 +1630,7 @@ class ExtractReview(pyblish.api.InstancePlugin): # run subprocess self.log.debug("Executing: {}".format(subprcs_cmd)) - pype.api.run_subprocess( + openpype.api.run_subprocess( subprcs_cmd, shell=True, logger=self.log ) diff --git a/pype/plugins/publish/extract_review_slate.py b/openpype/plugins/publish/extract_review_slate.py similarity index 96% rename from pype/plugins/publish/extract_review_slate.py rename to openpype/plugins/publish/extract_review_slate.py index 65930ea8fa..fb36a930fb 100644 --- a/pype/plugins/publish/extract_review_slate.py +++ b/openpype/plugins/publish/extract_review_slate.py @@ -1,10 +1,10 @@ import os -import pype.api -import pype.lib +import openpype.api +import openpype.lib import pyblish -class ExtractReviewSlate(pype.api.Extractor): +class ExtractReviewSlate(openpype.api.Extractor): """ Will add slate frame at the start of the video files """ @@ -24,9 +24,9 @@ class ExtractReviewSlate(pype.api.Extractor): suffix = "_slate" slate_path = inst_data.get("slateFrame") - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") - slate_stream = pype.lib.ffprobe_streams(slate_path, self.log)[0] + slate_stream = openpype.lib.ffprobe_streams(slate_path, self.log)[0] slate_width = slate_stream["width"] slate_height = slate_stream["height"] @@ -186,7 +186,7 @@ class ExtractReviewSlate(pype.api.Extractor): # run slate generation subprocess self.log.debug("Slate Executing: {}".format(slate_subprcs_cmd)) - pype.api.run_subprocess( + openpype.api.run_subprocess( slate_subprcs_cmd, shell=True, logger=self.log ) @@ -222,7 +222,7 @@ class ExtractReviewSlate(pype.api.Extractor): # ffmpeg concat subprocess self.log.debug("Executing concat: {}".format(concat_subprcs_cmd)) - pype.api.run_subprocess( + openpype.api.run_subprocess( concat_subprcs_cmd, shell=True, logger=self.log ) @@ -301,7 +301,7 @@ class ExtractReviewSlate(pype.api.Extractor): try: # Get information about input file via ffprobe tool - streams = pype.lib.ffprobe_streams(full_input_path, self.log) + streams = openpype.lib.ffprobe_streams(full_input_path, self.log) except Exception: self.log.warning( "Could not get codec data from input.", diff --git a/pype/plugins/publish/extract_scanline_exr.py b/openpype/plugins/publish/extract_scanline_exr.py similarity index 96% rename from pype/plugins/publish/extract_scanline_exr.py rename to openpype/plugins/publish/extract_scanline_exr.py index 5839105f7f..404aa65ac2 100644 --- a/pype/plugins/publish/extract_scanline_exr.py +++ b/openpype/plugins/publish/extract_scanline_exr.py @@ -4,8 +4,8 @@ import os import shutil import pyblish.api -import pype.api -import pype.lib +import openpype.api +import openpype.lib class ExtractScanlineExr(pyblish.api.InstancePlugin): @@ -65,7 +65,7 @@ class ExtractScanlineExr(pyblish.api.InstancePlugin): subprocess_exr = " ".join(oiio_cmd) self.log.info(f"running: {subprocess_exr}") - pype.api.run_subprocess(subprocess_exr, logger=self.log) + openpype.api.run_subprocess(subprocess_exr, logger=self.log) # raise error if there is no ouptput if not os.path.exists(os.path.join(stagingdir, original_name)): diff --git a/pype/plugins/publish/integrate_ftrack_component_overwrite.py b/openpype/plugins/publish/integrate_ftrack_component_overwrite.py similarity index 100% rename from pype/plugins/publish/integrate_ftrack_component_overwrite.py rename to openpype/plugins/publish/integrate_ftrack_component_overwrite.py diff --git a/pype/plugins/publish/integrate_master_version.py b/openpype/plugins/publish/integrate_master_version.py similarity index 100% rename from pype/plugins/publish/integrate_master_version.py rename to openpype/plugins/publish/integrate_master_version.py diff --git a/pype/plugins/publish/integrate_new.py b/openpype/plugins/publish/integrate_new.py similarity index 99% rename from pype/plugins/publish/integrate_new.py rename to openpype/plugins/publish/integrate_new.py index d342ba2e39..0d36828ccf 100644 --- a/pype/plugins/publish/integrate_new.py +++ b/openpype/plugins/publish/integrate_new.py @@ -13,7 +13,7 @@ from pymongo import DeleteOne, InsertOne import pyblish.api from avalon import io from avalon.vendor import filelink -import pype.api +import openpype.api from datetime import datetime # from pype.modules import ModulesManager @@ -912,7 +912,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin): for _src, dest in resources: path = self.get_rootless_path(anatomy, dest) dest = self.get_dest_temp_url(dest) - file_hash = pype.api.source_hash(dest) + file_hash = openpype.api.source_hash(dest) if self.TMP_FILE_EXT and \ ',{}'.format(self.TMP_FILE_EXT) in file_hash: file_hash = file_hash.replace(',{}'.format(self.TMP_FILE_EXT), @@ -968,7 +968,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin): ["global"] ["sync_server"]) - local_site_id = pype.api.get_local_site_id() + local_site_id = openpype.api.get_local_site_id() if sync_server_presets["enabled"]: local_site = sync_server_presets["config"].\ get("active_site", "studio").strip() diff --git a/pype/plugins/publish/integrate_resources_path.py b/openpype/plugins/publish/integrate_resources_path.py similarity index 100% rename from pype/plugins/publish/integrate_resources_path.py rename to openpype/plugins/publish/integrate_resources_path.py diff --git a/pype/plugins/publish/integrate_thumbnail.py b/openpype/plugins/publish/integrate_thumbnail.py similarity index 100% rename from pype/plugins/publish/integrate_thumbnail.py rename to openpype/plugins/publish/integrate_thumbnail.py diff --git a/pype/plugins/publish/repair_unicode_strings.py b/openpype/plugins/publish/repair_unicode_strings.py similarity index 100% rename from pype/plugins/publish/repair_unicode_strings.py rename to openpype/plugins/publish/repair_unicode_strings.py diff --git a/pype/plugins/publish/validate_containers.py b/openpype/plugins/publish/validate_containers.py similarity index 91% rename from pype/plugins/publish/validate_containers.py rename to openpype/plugins/publish/validate_containers.py index 1bf4967ec2..52df493451 100644 --- a/pype/plugins/publish/validate_containers.py +++ b/openpype/plugins/publish/validate_containers.py @@ -1,6 +1,6 @@ import pyblish.api -import pype.lib +import openpype.lib from avalon.tools import cbsceneinventory @@ -24,5 +24,5 @@ class ValidateContainers(pyblish.api.ContextPlugin): actions = [ShowInventory] def process(self, context): - if pype.lib.any_outdated(): + if openpype.lib.any_outdated(): raise ValueError("There are outdated containers in the scene.") diff --git a/pype/plugins/publish/validate_ffmpeg_installed.py b/openpype/plugins/publish/validate_ffmpeg_installed.py similarity index 91% rename from pype/plugins/publish/validate_ffmpeg_installed.py rename to openpype/plugins/publish/validate_ffmpeg_installed.py index 2951759fa4..a5390a07b2 100644 --- a/pype/plugins/publish/validate_ffmpeg_installed.py +++ b/openpype/plugins/publish/validate_ffmpeg_installed.py @@ -1,7 +1,7 @@ import pyblish.api import os import subprocess -import pype.lib +import openpype.lib try: import os.errno as errno except ImportError: @@ -27,7 +27,7 @@ class ValidateFFmpegInstalled(pyblish.api.ContextPlugin): return True def process(self, context): - ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") + ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") self.log.info("ffmpeg path: `{}`".format(ffmpeg_path)) if self.is_tool("{}".format(ffmpeg_path)) is False: self.log.error("ffmpeg not found in PATH") diff --git a/pype/plugins/publish/validate_file_saved.py b/openpype/plugins/publish/validate_file_saved.py similarity index 100% rename from pype/plugins/publish/validate_file_saved.py rename to openpype/plugins/publish/validate_file_saved.py diff --git a/pype/plugins/publish/validate_filesequences.py b/openpype/plugins/publish/validate_filesequences.py similarity index 100% rename from pype/plugins/publish/validate_filesequences.py rename to openpype/plugins/publish/validate_filesequences.py diff --git a/pype/plugins/publish/validate_instance_in_context.py b/openpype/plugins/publish/validate_instance_in_context.py similarity index 98% rename from pype/plugins/publish/validate_instance_in_context.py rename to openpype/plugins/publish/validate_instance_in_context.py index a4fc555161..29f002f142 100644 --- a/pype/plugins/publish/validate_instance_in_context.py +++ b/openpype/plugins/publish/validate_instance_in_context.py @@ -3,7 +3,7 @@ from __future__ import absolute_import import pyblish.api -import pype.api +import openpype.api class SelectInvalidInstances(pyblish.api.Action): @@ -120,7 +120,7 @@ class ValidateInstanceInContext(pyblish.api.InstancePlugin): Action on this validator will select invalid instances in Outliner. """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "Instance in same Context" optional = True hosts = ["maya", "nuke"] diff --git a/pype/plugins/publish/validate_intent.py b/openpype/plugins/publish/validate_intent.py similarity index 100% rename from pype/plugins/publish/validate_intent.py rename to openpype/plugins/publish/validate_intent.py diff --git a/pype/plugins/publish/validate_resources.py b/openpype/plugins/publish/validate_resources.py similarity index 91% rename from pype/plugins/publish/validate_resources.py rename to openpype/plugins/publish/validate_resources.py index bc10d3003c..644977ecd4 100644 --- a/pype/plugins/publish/validate_resources.py +++ b/openpype/plugins/publish/validate_resources.py @@ -1,5 +1,5 @@ import pyblish.api -import pype.api +import openpype.api import os @@ -17,7 +17,7 @@ class ValidateResources(pyblish.api.InstancePlugin): """ - order = pype.api.ValidateContentsOrder + order = openpype.api.ValidateContentsOrder label = "Resources" def process(self, instance): diff --git a/pype/plugins/publish/validate_sequence_frames.py b/openpype/plugins/publish/validate_sequence_frames.py similarity index 100% rename from pype/plugins/publish/validate_sequence_frames.py rename to openpype/plugins/publish/validate_sequence_frames.py diff --git a/pype/plugins/publish/validate_version.py b/openpype/plugins/publish/validate_version.py similarity index 100% rename from pype/plugins/publish/validate_version.py rename to openpype/plugins/publish/validate_version.py diff --git a/pype/pype_commands.py b/openpype/pype_commands.py similarity index 88% rename from pype/pype_commands.py rename to openpype/pype_commands.py index c46d71c631..a2d97429d3 100644 --- a/pype/pype_commands.py +++ b/openpype/pype_commands.py @@ -5,8 +5,8 @@ import sys import json from pathlib import Path -from pype.lib import PypeLogger -from pype.api import get_app_environments_for_context +from openpype.lib import PypeLogger +from openpype.api import get_app_environments_for_context class PypeCommands: @@ -18,13 +18,13 @@ class PypeCommands: def launch_tray(debug=False): PypeLogger.set_process_name("Tray") - from pype.tools import tray + from openpype.tools import tray tray.main() @staticmethod def launch_settings_gui(dev): - from pype.tools import settings + from openpype.tools import settings # TODO change argument options to allow enum of user roles user_role = "developer" @@ -32,14 +32,14 @@ class PypeCommands: @staticmethod def launch_eventservercli(*args): - from pype.modules.ftrack.ftrack_server.event_server_cli import ( + from openpype.modules.ftrack.ftrack_server.event_server_cli import ( run_event_server ) return run_event_server(*args) @staticmethod def launch_standalone_publisher(): - from pype.tools import standalonepublish + from openpype.tools import standalonepublish standalonepublish.main() @staticmethod @@ -57,8 +57,8 @@ class PypeCommands: if not any(paths): raise RuntimeError("No publish paths specified") - from pype import install, uninstall - from pype.api import Logger + from openpype import install, uninstall + from openpype.api import Logger # Register target and host import pyblish.api @@ -98,7 +98,7 @@ class PypeCommands: def extractenvironments(output_json_path, project, asset, task, app): env = os.environ.copy() if all((project, asset, task, app)): - from pype.api import get_app_environments_for_context + from openpype.api import get_app_environments_for_context env = get_app_environments_for_context( project, asset, task, app, env ) diff --git a/pype/resources/__init__.py b/openpype/resources/__init__.py similarity index 100% rename from pype/resources/__init__.py rename to openpype/resources/__init__.py diff --git a/pype/resources/app_icons/Aport.png b/openpype/resources/app_icons/Aport.png similarity index 100% rename from pype/resources/app_icons/Aport.png rename to openpype/resources/app_icons/Aport.png diff --git a/pype/resources/app_icons/aftereffects.png b/openpype/resources/app_icons/aftereffects.png similarity index 100% rename from pype/resources/app_icons/aftereffects.png rename to openpype/resources/app_icons/aftereffects.png diff --git a/pype/resources/app_icons/blender.png b/openpype/resources/app_icons/blender.png similarity index 100% rename from pype/resources/app_icons/blender.png rename to openpype/resources/app_icons/blender.png diff --git a/pype/resources/app_icons/celaction_local.png b/openpype/resources/app_icons/celaction_local.png similarity index 100% rename from pype/resources/app_icons/celaction_local.png rename to openpype/resources/app_icons/celaction_local.png diff --git a/pype/resources/app_icons/celaction_remotel.png b/openpype/resources/app_icons/celaction_remotel.png similarity index 100% rename from pype/resources/app_icons/celaction_remotel.png rename to openpype/resources/app_icons/celaction_remotel.png diff --git a/pype/resources/app_icons/clockify-white.png b/openpype/resources/app_icons/clockify-white.png similarity index 100% rename from pype/resources/app_icons/clockify-white.png rename to openpype/resources/app_icons/clockify-white.png diff --git a/pype/resources/app_icons/clockify.png b/openpype/resources/app_icons/clockify.png similarity index 100% rename from pype/resources/app_icons/clockify.png rename to openpype/resources/app_icons/clockify.png diff --git a/pype/resources/app_icons/djvView.png b/openpype/resources/app_icons/djvView.png similarity index 100% rename from pype/resources/app_icons/djvView.png rename to openpype/resources/app_icons/djvView.png diff --git a/pype/resources/app_icons/fusion.png b/openpype/resources/app_icons/fusion.png similarity index 100% rename from pype/resources/app_icons/fusion.png rename to openpype/resources/app_icons/fusion.png diff --git a/pype/resources/app_icons/harmony.png b/openpype/resources/app_icons/harmony.png similarity index 100% rename from pype/resources/app_icons/harmony.png rename to openpype/resources/app_icons/harmony.png diff --git a/pype/resources/app_icons/hiero.png b/openpype/resources/app_icons/hiero.png similarity index 100% rename from pype/resources/app_icons/hiero.png rename to openpype/resources/app_icons/hiero.png diff --git a/pype/resources/app_icons/houdini.png b/openpype/resources/app_icons/houdini.png similarity index 100% rename from pype/resources/app_icons/houdini.png rename to openpype/resources/app_icons/houdini.png diff --git a/pype/resources/app_icons/maya.png b/openpype/resources/app_icons/maya.png similarity index 100% rename from pype/resources/app_icons/maya.png rename to openpype/resources/app_icons/maya.png diff --git a/pype/resources/app_icons/nuke.png b/openpype/resources/app_icons/nuke.png similarity index 100% rename from pype/resources/app_icons/nuke.png rename to openpype/resources/app_icons/nuke.png diff --git a/pype/resources/app_icons/nukex.png b/openpype/resources/app_icons/nukex.png similarity index 100% rename from pype/resources/app_icons/nukex.png rename to openpype/resources/app_icons/nukex.png diff --git a/pype/resources/app_icons/photoshop.png b/openpype/resources/app_icons/photoshop.png similarity index 100% rename from pype/resources/app_icons/photoshop.png rename to openpype/resources/app_icons/photoshop.png diff --git a/pype/resources/app_icons/premiere.png b/openpype/resources/app_icons/premiere.png similarity index 100% rename from pype/resources/app_icons/premiere.png rename to openpype/resources/app_icons/premiere.png diff --git a/pype/resources/app_icons/python.png b/openpype/resources/app_icons/python.png similarity index 100% rename from pype/resources/app_icons/python.png rename to openpype/resources/app_icons/python.png diff --git a/pype/resources/app_icons/resolve.png b/openpype/resources/app_icons/resolve.png similarity index 100% rename from pype/resources/app_icons/resolve.png rename to openpype/resources/app_icons/resolve.png diff --git a/pype/resources/app_icons/storyboardpro.png b/openpype/resources/app_icons/storyboardpro.png similarity index 100% rename from pype/resources/app_icons/storyboardpro.png rename to openpype/resources/app_icons/storyboardpro.png diff --git a/pype/resources/app_icons/tvpaint.png b/openpype/resources/app_icons/tvpaint.png similarity index 100% rename from pype/resources/app_icons/tvpaint.png rename to openpype/resources/app_icons/tvpaint.png diff --git a/pype/resources/app_icons/ue4.png b/openpype/resources/app_icons/ue4.png similarity index 100% rename from pype/resources/app_icons/ue4.png rename to openpype/resources/app_icons/ue4.png diff --git a/pype/resources/fonts/LiberationSans/LiberationSans-Bold.ttf b/openpype/resources/fonts/LiberationSans/LiberationSans-Bold.ttf similarity index 100% rename from pype/resources/fonts/LiberationSans/LiberationSans-Bold.ttf rename to openpype/resources/fonts/LiberationSans/LiberationSans-Bold.ttf diff --git a/pype/resources/fonts/LiberationSans/LiberationSans-BoldItalic.ttf b/openpype/resources/fonts/LiberationSans/LiberationSans-BoldItalic.ttf similarity index 100% rename from pype/resources/fonts/LiberationSans/LiberationSans-BoldItalic.ttf rename to openpype/resources/fonts/LiberationSans/LiberationSans-BoldItalic.ttf diff --git a/pype/resources/fonts/LiberationSans/LiberationSans-Italic.ttf b/openpype/resources/fonts/LiberationSans/LiberationSans-Italic.ttf similarity index 100% rename from pype/resources/fonts/LiberationSans/LiberationSans-Italic.ttf rename to openpype/resources/fonts/LiberationSans/LiberationSans-Italic.ttf diff --git a/pype/resources/fonts/LiberationSans/LiberationSans-Regular.ttf b/openpype/resources/fonts/LiberationSans/LiberationSans-Regular.ttf similarity index 100% rename from pype/resources/fonts/LiberationSans/LiberationSans-Regular.ttf rename to openpype/resources/fonts/LiberationSans/LiberationSans-Regular.ttf diff --git a/pype/resources/fonts/LiberationSans/License.txt b/openpype/resources/fonts/LiberationSans/License.txt similarity index 100% rename from pype/resources/fonts/LiberationSans/License.txt rename to openpype/resources/fonts/LiberationSans/License.txt diff --git a/pype/resources/ftrack/action_icons/ActionAskWhereIRun.svg b/openpype/resources/ftrack/action_icons/ActionAskWhereIRun.svg similarity index 100% rename from pype/resources/ftrack/action_icons/ActionAskWhereIRun.svg rename to openpype/resources/ftrack/action_icons/ActionAskWhereIRun.svg diff --git a/pype/resources/ftrack/action_icons/AssetsRemover.svg b/openpype/resources/ftrack/action_icons/AssetsRemover.svg similarity index 100% rename from pype/resources/ftrack/action_icons/AssetsRemover.svg rename to openpype/resources/ftrack/action_icons/AssetsRemover.svg diff --git a/pype/resources/ftrack/action_icons/ComponentOpen.svg b/openpype/resources/ftrack/action_icons/ComponentOpen.svg similarity index 100% rename from pype/resources/ftrack/action_icons/ComponentOpen.svg rename to openpype/resources/ftrack/action_icons/ComponentOpen.svg diff --git a/pype/resources/ftrack/action_icons/CreateFolders.svg b/openpype/resources/ftrack/action_icons/CreateFolders.svg similarity index 100% rename from pype/resources/ftrack/action_icons/CreateFolders.svg rename to openpype/resources/ftrack/action_icons/CreateFolders.svg diff --git a/pype/resources/ftrack/action_icons/CreateProjectFolders.svg b/openpype/resources/ftrack/action_icons/CreateProjectFolders.svg similarity index 100% rename from pype/resources/ftrack/action_icons/CreateProjectFolders.svg rename to openpype/resources/ftrack/action_icons/CreateProjectFolders.svg diff --git a/pype/resources/ftrack/action_icons/DeleteAsset.svg b/openpype/resources/ftrack/action_icons/DeleteAsset.svg similarity index 100% rename from pype/resources/ftrack/action_icons/DeleteAsset.svg rename to openpype/resources/ftrack/action_icons/DeleteAsset.svg diff --git a/pype/resources/ftrack/action_icons/Delivery.svg b/openpype/resources/ftrack/action_icons/Delivery.svg similarity index 100% rename from pype/resources/ftrack/action_icons/Delivery.svg rename to openpype/resources/ftrack/action_icons/Delivery.svg diff --git a/pype/resources/ftrack/action_icons/MultipleNotes.svg b/openpype/resources/ftrack/action_icons/MultipleNotes.svg similarity index 100% rename from pype/resources/ftrack/action_icons/MultipleNotes.svg rename to openpype/resources/ftrack/action_icons/MultipleNotes.svg diff --git a/pype/resources/ftrack/action_icons/PrepareProject.svg b/openpype/resources/ftrack/action_icons/PrepareProject.svg similarity index 100% rename from pype/resources/ftrack/action_icons/PrepareProject.svg rename to openpype/resources/ftrack/action_icons/PrepareProject.svg diff --git a/pype/resources/ftrack/action_icons/PypeAdmin.svg b/openpype/resources/ftrack/action_icons/PypeAdmin.svg similarity index 100% rename from pype/resources/ftrack/action_icons/PypeAdmin.svg rename to openpype/resources/ftrack/action_icons/PypeAdmin.svg diff --git a/pype/resources/ftrack/action_icons/PypeDoctor.svg b/openpype/resources/ftrack/action_icons/PypeDoctor.svg similarity index 100% rename from pype/resources/ftrack/action_icons/PypeDoctor.svg rename to openpype/resources/ftrack/action_icons/PypeDoctor.svg diff --git a/pype/resources/ftrack/action_icons/PypeUpdate.svg b/openpype/resources/ftrack/action_icons/PypeUpdate.svg similarity index 100% rename from pype/resources/ftrack/action_icons/PypeUpdate.svg rename to openpype/resources/ftrack/action_icons/PypeUpdate.svg diff --git a/pype/resources/ftrack/action_icons/RV.png b/openpype/resources/ftrack/action_icons/RV.png similarity index 100% rename from pype/resources/ftrack/action_icons/RV.png rename to openpype/resources/ftrack/action_icons/RV.png diff --git a/pype/resources/ftrack/action_icons/SeedProject.svg b/openpype/resources/ftrack/action_icons/SeedProject.svg similarity index 100% rename from pype/resources/ftrack/action_icons/SeedProject.svg rename to openpype/resources/ftrack/action_icons/SeedProject.svg diff --git a/pype/resources/ftrack/action_icons/SyncHierarchicalAttrs.svg b/openpype/resources/ftrack/action_icons/SyncHierarchicalAttrs.svg similarity index 100% rename from pype/resources/ftrack/action_icons/SyncHierarchicalAttrs.svg rename to openpype/resources/ftrack/action_icons/SyncHierarchicalAttrs.svg diff --git a/pype/resources/ftrack/action_icons/SyncToAvalon.svg b/openpype/resources/ftrack/action_icons/SyncToAvalon.svg similarity index 100% rename from pype/resources/ftrack/action_icons/SyncToAvalon.svg rename to openpype/resources/ftrack/action_icons/SyncToAvalon.svg diff --git a/pype/resources/ftrack/action_icons/TestAction.svg b/openpype/resources/ftrack/action_icons/TestAction.svg similarity index 100% rename from pype/resources/ftrack/action_icons/TestAction.svg rename to openpype/resources/ftrack/action_icons/TestAction.svg diff --git a/pype/resources/ftrack/action_icons/Thumbnail.svg b/openpype/resources/ftrack/action_icons/Thumbnail.svg similarity index 100% rename from pype/resources/ftrack/action_icons/Thumbnail.svg rename to openpype/resources/ftrack/action_icons/Thumbnail.svg diff --git a/pype/resources/ftrack/sign_in_message.html b/openpype/resources/ftrack/sign_in_message.html similarity index 100% rename from pype/resources/ftrack/sign_in_message.html rename to openpype/resources/ftrack/sign_in_message.html diff --git a/pype/resources/icons/circle_green.png b/openpype/resources/icons/circle_green.png similarity index 100% rename from pype/resources/icons/circle_green.png rename to openpype/resources/icons/circle_green.png diff --git a/pype/resources/icons/circle_orange.png b/openpype/resources/icons/circle_orange.png similarity index 100% rename from pype/resources/icons/circle_orange.png rename to openpype/resources/icons/circle_orange.png diff --git a/pype/resources/icons/circle_red.png b/openpype/resources/icons/circle_red.png similarity index 100% rename from pype/resources/icons/circle_red.png rename to openpype/resources/icons/circle_red.png diff --git a/pype/resources/icons/folder-favorite.png b/openpype/resources/icons/folder-favorite.png similarity index 100% rename from pype/resources/icons/folder-favorite.png rename to openpype/resources/icons/folder-favorite.png diff --git a/pype/resources/icons/folder-favorite2.png b/openpype/resources/icons/folder-favorite2.png similarity index 100% rename from pype/resources/icons/folder-favorite2.png rename to openpype/resources/icons/folder-favorite2.png diff --git a/pype/resources/icons/folder-favorite3.png b/openpype/resources/icons/folder-favorite3.png similarity index 100% rename from pype/resources/icons/folder-favorite3.png rename to openpype/resources/icons/folder-favorite3.png diff --git a/pype/resources/icons/inventory.png b/openpype/resources/icons/inventory.png similarity index 100% rename from pype/resources/icons/inventory.png rename to openpype/resources/icons/inventory.png diff --git a/pype/resources/icons/loader.png b/openpype/resources/icons/loader.png similarity index 100% rename from pype/resources/icons/loader.png rename to openpype/resources/icons/loader.png diff --git a/pype/resources/icons/lookmanager.png b/openpype/resources/icons/lookmanager.png similarity index 100% rename from pype/resources/icons/lookmanager.png rename to openpype/resources/icons/lookmanager.png diff --git a/pype/resources/icons/openpype_icon.png b/openpype/resources/icons/openpype_icon.png similarity index 100% rename from pype/resources/icons/openpype_icon.png rename to openpype/resources/icons/openpype_icon.png diff --git a/pype/resources/icons/openpype_icon_staging.png b/openpype/resources/icons/openpype_icon_staging.png similarity index 100% rename from pype/resources/icons/openpype_icon_staging.png rename to openpype/resources/icons/openpype_icon_staging.png diff --git a/pype/resources/icons/openpype_splash.png b/openpype/resources/icons/openpype_splash.png similarity index 100% rename from pype/resources/icons/openpype_splash.png rename to openpype/resources/icons/openpype_splash.png diff --git a/pype/resources/icons/openpype_splash_staging.png b/openpype/resources/icons/openpype_splash_staging.png similarity index 100% rename from pype/resources/icons/openpype_splash_staging.png rename to openpype/resources/icons/openpype_splash_staging.png diff --git a/pype/resources/icons/workfiles.png b/openpype/resources/icons/workfiles.png similarity index 100% rename from pype/resources/icons/workfiles.png rename to openpype/resources/icons/workfiles.png diff --git a/pype/scripts/__init__.py b/openpype/scripts/__init__.py similarity index 100% rename from pype/scripts/__init__.py rename to openpype/scripts/__init__.py diff --git a/pype/scripts/export_maya_ass_job.py b/openpype/scripts/export_maya_ass_job.py similarity index 100% rename from pype/scripts/export_maya_ass_job.py rename to openpype/scripts/export_maya_ass_job.py diff --git a/pype/scripts/export_maya_ass_sequence.mel b/openpype/scripts/export_maya_ass_sequence.mel similarity index 100% rename from pype/scripts/export_maya_ass_sequence.mel rename to openpype/scripts/export_maya_ass_sequence.mel diff --git a/pype/scripts/fusion_switch_shot.py b/openpype/scripts/fusion_switch_shot.py similarity index 98% rename from pype/scripts/fusion_switch_shot.py rename to openpype/scripts/fusion_switch_shot.py index 5791220acd..26f5356336 100644 --- a/pype/scripts/fusion_switch_shot.py +++ b/openpype/scripts/fusion_switch_shot.py @@ -8,8 +8,8 @@ from avalon import api, io, pipeline import avalon.fusion # Config imports -import pype.lib as pype -import pype.hosts.fusion.lib as fusion_lib +import openpype.lib as pype +import openpype.hosts.fusion.lib as fusion_lib log = logging.getLogger("Update Slap Comp") diff --git a/pype/scripts/non_python_host_launch.py b/openpype/scripts/non_python_host_launch.py similarity index 100% rename from pype/scripts/non_python_host_launch.py rename to openpype/scripts/non_python_host_launch.py diff --git a/pype/scripts/otio_burnin.py b/openpype/scripts/otio_burnin.py similarity index 99% rename from pype/scripts/otio_burnin.py rename to openpype/scripts/otio_burnin.py index dec1ad1dbd..5e2a22f1b5 100644 --- a/pype/scripts/otio_burnin.py +++ b/openpype/scripts/otio_burnin.py @@ -5,12 +5,12 @@ import subprocess import platform import json import opentimelineio_contrib.adapters.ffmpeg_burnins as ffmpeg_burnins -from pype.api import resources -import pype.lib +from openpype.api import resources +import openpype.lib -ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg") -ffprobe_path = pype.lib.get_ffmpeg_tool_path("ffprobe") +ffmpeg_path = openpype.lib.get_ffmpeg_tool_path("ffmpeg") +ffprobe_path = openpype.lib.get_ffmpeg_tool_path("ffprobe") FFMPEG = ( diff --git a/pype/scripts/slates/__init__.py b/openpype/scripts/slates/__init__.py similarity index 100% rename from pype/scripts/slates/__init__.py rename to openpype/scripts/slates/__init__.py diff --git a/pype/scripts/slates/__main__.py b/openpype/scripts/slates/__main__.py similarity index 100% rename from pype/scripts/slates/__main__.py rename to openpype/scripts/slates/__main__.py diff --git a/pype/scripts/slates/slate_base/__init__.py b/openpype/scripts/slates/slate_base/__init__.py similarity index 100% rename from pype/scripts/slates/slate_base/__init__.py rename to openpype/scripts/slates/slate_base/__init__.py diff --git a/pype/scripts/slates/slate_base/api.py b/openpype/scripts/slates/slate_base/api.py similarity index 100% rename from pype/scripts/slates/slate_base/api.py rename to openpype/scripts/slates/slate_base/api.py diff --git a/pype/scripts/slates/slate_base/base.py b/openpype/scripts/slates/slate_base/base.py similarity index 100% rename from pype/scripts/slates/slate_base/base.py rename to openpype/scripts/slates/slate_base/base.py diff --git a/pype/scripts/slates/slate_base/default_style.json b/openpype/scripts/slates/slate_base/default_style.json similarity index 100% rename from pype/scripts/slates/slate_base/default_style.json rename to openpype/scripts/slates/slate_base/default_style.json diff --git a/pype/scripts/slates/slate_base/example.py b/openpype/scripts/slates/slate_base/example.py similarity index 100% rename from pype/scripts/slates/slate_base/example.py rename to openpype/scripts/slates/slate_base/example.py diff --git a/pype/scripts/slates/slate_base/font_factory.py b/openpype/scripts/slates/slate_base/font_factory.py similarity index 100% rename from pype/scripts/slates/slate_base/font_factory.py rename to openpype/scripts/slates/slate_base/font_factory.py diff --git a/pype/scripts/slates/slate_base/items.py b/openpype/scripts/slates/slate_base/items.py similarity index 100% rename from pype/scripts/slates/slate_base/items.py rename to openpype/scripts/slates/slate_base/items.py diff --git a/pype/scripts/slates/slate_base/layer.py b/openpype/scripts/slates/slate_base/layer.py similarity index 100% rename from pype/scripts/slates/slate_base/layer.py rename to openpype/scripts/slates/slate_base/layer.py diff --git a/pype/scripts/slates/slate_base/lib.py b/openpype/scripts/slates/slate_base/lib.py similarity index 100% rename from pype/scripts/slates/slate_base/lib.py rename to openpype/scripts/slates/slate_base/lib.py diff --git a/pype/scripts/slates/slate_base/main_frame.py b/openpype/scripts/slates/slate_base/main_frame.py similarity index 100% rename from pype/scripts/slates/slate_base/main_frame.py rename to openpype/scripts/slates/slate_base/main_frame.py diff --git a/pype/settings/__init__.py b/openpype/settings/__init__.py similarity index 100% rename from pype/settings/__init__.py rename to openpype/settings/__init__.py diff --git a/pype/settings/constants.py b/openpype/settings/constants.py similarity index 100% rename from pype/settings/constants.py rename to openpype/settings/constants.py diff --git a/pype/settings/defaults/project_anatomy/attributes.json b/openpype/settings/defaults/project_anatomy/attributes.json similarity index 100% rename from pype/settings/defaults/project_anatomy/attributes.json rename to openpype/settings/defaults/project_anatomy/attributes.json diff --git a/pype/settings/defaults/project_anatomy/imageio.json b/openpype/settings/defaults/project_anatomy/imageio.json similarity index 100% rename from pype/settings/defaults/project_anatomy/imageio.json rename to openpype/settings/defaults/project_anatomy/imageio.json diff --git a/pype/settings/defaults/project_anatomy/roots.json b/openpype/settings/defaults/project_anatomy/roots.json similarity index 100% rename from pype/settings/defaults/project_anatomy/roots.json rename to openpype/settings/defaults/project_anatomy/roots.json diff --git a/pype/settings/defaults/project_anatomy/tasks.json b/openpype/settings/defaults/project_anatomy/tasks.json similarity index 100% rename from pype/settings/defaults/project_anatomy/tasks.json rename to openpype/settings/defaults/project_anatomy/tasks.json diff --git a/pype/settings/defaults/project_anatomy/templates.json b/openpype/settings/defaults/project_anatomy/templates.json similarity index 100% rename from pype/settings/defaults/project_anatomy/templates.json rename to openpype/settings/defaults/project_anatomy/templates.json diff --git a/pype/settings/defaults/project_settings/celaction.json b/openpype/settings/defaults/project_settings/celaction.json similarity index 100% rename from pype/settings/defaults/project_settings/celaction.json rename to openpype/settings/defaults/project_settings/celaction.json diff --git a/pype/settings/defaults/project_settings/deadline.json b/openpype/settings/defaults/project_settings/deadline.json similarity index 100% rename from pype/settings/defaults/project_settings/deadline.json rename to openpype/settings/defaults/project_settings/deadline.json diff --git a/pype/settings/defaults/project_settings/ftrack.json b/openpype/settings/defaults/project_settings/ftrack.json similarity index 100% rename from pype/settings/defaults/project_settings/ftrack.json rename to openpype/settings/defaults/project_settings/ftrack.json diff --git a/pype/settings/defaults/project_settings/global.json b/openpype/settings/defaults/project_settings/global.json similarity index 100% rename from pype/settings/defaults/project_settings/global.json rename to openpype/settings/defaults/project_settings/global.json diff --git a/pype/settings/defaults/project_settings/harmony.json b/openpype/settings/defaults/project_settings/harmony.json similarity index 100% rename from pype/settings/defaults/project_settings/harmony.json rename to openpype/settings/defaults/project_settings/harmony.json diff --git a/pype/settings/defaults/project_settings/hiero.json b/openpype/settings/defaults/project_settings/hiero.json similarity index 100% rename from pype/settings/defaults/project_settings/hiero.json rename to openpype/settings/defaults/project_settings/hiero.json diff --git a/pype/settings/defaults/project_settings/maya.json b/openpype/settings/defaults/project_settings/maya.json similarity index 100% rename from pype/settings/defaults/project_settings/maya.json rename to openpype/settings/defaults/project_settings/maya.json diff --git a/pype/settings/defaults/project_settings/nuke.json b/openpype/settings/defaults/project_settings/nuke.json similarity index 100% rename from pype/settings/defaults/project_settings/nuke.json rename to openpype/settings/defaults/project_settings/nuke.json diff --git a/pype/settings/defaults/project_settings/resolve.json b/openpype/settings/defaults/project_settings/resolve.json similarity index 100% rename from pype/settings/defaults/project_settings/resolve.json rename to openpype/settings/defaults/project_settings/resolve.json diff --git a/pype/settings/defaults/project_settings/standalonepublisher.json b/openpype/settings/defaults/project_settings/standalonepublisher.json similarity index 100% rename from pype/settings/defaults/project_settings/standalonepublisher.json rename to openpype/settings/defaults/project_settings/standalonepublisher.json diff --git a/pype/settings/defaults/project_settings/unreal.json b/openpype/settings/defaults/project_settings/unreal.json similarity index 100% rename from pype/settings/defaults/project_settings/unreal.json rename to openpype/settings/defaults/project_settings/unreal.json diff --git a/pype/settings/defaults/system_settings/applications.json b/openpype/settings/defaults/system_settings/applications.json similarity index 100% rename from pype/settings/defaults/system_settings/applications.json rename to openpype/settings/defaults/system_settings/applications.json diff --git a/pype/settings/defaults/system_settings/general.json b/openpype/settings/defaults/system_settings/general.json similarity index 100% rename from pype/settings/defaults/system_settings/general.json rename to openpype/settings/defaults/system_settings/general.json diff --git a/pype/settings/defaults/system_settings/modules.json b/openpype/settings/defaults/system_settings/modules.json similarity index 100% rename from pype/settings/defaults/system_settings/modules.json rename to openpype/settings/defaults/system_settings/modules.json diff --git a/pype/settings/defaults/system_settings/tools.json b/openpype/settings/defaults/system_settings/tools.json similarity index 100% rename from pype/settings/defaults/system_settings/tools.json rename to openpype/settings/defaults/system_settings/tools.json diff --git a/pype/settings/entities/__init__.py b/openpype/settings/entities/__init__.py similarity index 100% rename from pype/settings/entities/__init__.py rename to openpype/settings/entities/__init__.py diff --git a/pype/settings/entities/anatomy_entities.py b/openpype/settings/entities/anatomy_entities.py similarity index 100% rename from pype/settings/entities/anatomy_entities.py rename to openpype/settings/entities/anatomy_entities.py diff --git a/pype/settings/entities/base_entity.py b/openpype/settings/entities/base_entity.py similarity index 99% rename from pype/settings/entities/base_entity.py rename to openpype/settings/entities/base_entity.py index 88afdc8c93..b5c42e1da0 100644 --- a/pype/settings/entities/base_entity.py +++ b/openpype/settings/entities/base_entity.py @@ -14,7 +14,7 @@ from .exceptions import ( EntitySchemaError ) -from pype.lib import PypeLogger +from openpype.lib import PypeLogger @six.add_metaclass(ABCMeta) diff --git a/pype/settings/entities/dict_immutable_keys_entity.py b/openpype/settings/entities/dict_immutable_keys_entity.py similarity index 99% rename from pype/settings/entities/dict_immutable_keys_entity.py rename to openpype/settings/entities/dict_immutable_keys_entity.py index 270e635736..d5563f80d6 100644 --- a/pype/settings/entities/dict_immutable_keys_entity.py +++ b/openpype/settings/entities/dict_immutable_keys_entity.py @@ -5,7 +5,7 @@ from .lib import ( OverrideState, NOT_SET ) -from pype.settings.constants import ( +from openpype.settings.constants import ( METADATA_KEYS, M_OVERRIDEN_KEY, KEY_REGEX diff --git a/pype/settings/entities/dict_mutable_keys_entity.py b/openpype/settings/entities/dict_mutable_keys_entity.py similarity index 99% rename from pype/settings/entities/dict_mutable_keys_entity.py rename to openpype/settings/entities/dict_mutable_keys_entity.py index d4bf208555..cbc80b6409 100644 --- a/pype/settings/entities/dict_mutable_keys_entity.py +++ b/openpype/settings/entities/dict_mutable_keys_entity.py @@ -13,7 +13,7 @@ from .exceptions import ( RequiredKeyModified, EntitySchemaError ) -from pype.settings.constants import ( +from openpype.settings.constants import ( METADATA_KEYS, M_DYNAMIC_KEY_LABEL, M_ENVIRONMENT_KEY, diff --git a/pype/settings/entities/enum_entity.py b/openpype/settings/entities/enum_entity.py similarity index 100% rename from pype/settings/entities/enum_entity.py rename to openpype/settings/entities/enum_entity.py diff --git a/pype/settings/entities/exceptions.py b/openpype/settings/entities/exceptions.py similarity index 98% rename from pype/settings/entities/exceptions.py rename to openpype/settings/entities/exceptions.py index f86d08ab5f..3649e63ab7 100644 --- a/pype/settings/entities/exceptions.py +++ b/openpype/settings/entities/exceptions.py @@ -1,4 +1,4 @@ -from pype.settings.constants import KEY_ALLOWED_SYMBOLS +from openpype.settings.constants import KEY_ALLOWED_SYMBOLS class DefaultsNotDefined(Exception): diff --git a/pype/settings/entities/input_entities.py b/openpype/settings/entities/input_entities.py similarity index 99% rename from pype/settings/entities/input_entities.py rename to openpype/settings/entities/input_entities.py index f668cfde2d..e406c7797a 100644 --- a/pype/settings/entities/input_entities.py +++ b/openpype/settings/entities/input_entities.py @@ -14,7 +14,7 @@ from .exceptions import ( EntitySchemaError ) -from pype.settings.constants import ( +from openpype.settings.constants import ( METADATA_KEYS, M_ENVIRONMENT_KEY ) diff --git a/pype/settings/entities/item_entities.py b/openpype/settings/entities/item_entities.py similarity index 100% rename from pype/settings/entities/item_entities.py rename to openpype/settings/entities/item_entities.py diff --git a/pype/settings/entities/lib.py b/openpype/settings/entities/lib.py similarity index 100% rename from pype/settings/entities/lib.py rename to openpype/settings/entities/lib.py diff --git a/pype/settings/entities/list_entity.py b/openpype/settings/entities/list_entity.py similarity index 100% rename from pype/settings/entities/list_entity.py rename to openpype/settings/entities/list_entity.py diff --git a/pype/settings/entities/root_entities.py b/openpype/settings/entities/root_entities.py similarity index 99% rename from pype/settings/entities/root_entities.py rename to openpype/settings/entities/root_entities.py index e7cb098c67..eed3d47f46 100644 --- a/pype/settings/entities/root_entities.py +++ b/openpype/settings/entities/root_entities.py @@ -17,14 +17,14 @@ from .exceptions import ( SchemaError, InvalidKeySymbols ) -from pype.settings.constants import ( +from openpype.settings.constants import ( SYSTEM_SETTINGS_KEY, PROJECT_SETTINGS_KEY, PROJECT_ANATOMY_KEY, KEY_REGEX ) -from pype.settings.lib import ( +from openpype.settings.lib import ( DEFAULTS_DIR, get_default_settings, @@ -175,7 +175,7 @@ class RootEntity(BaseItemEntity): """ if self._loaded_types is None: # Load available entities - from pype.settings import entities + from openpype.settings import entities # Define known abstract classes known_abstract_classes = ( diff --git a/pype/settings/entities/schemas/README.md b/openpype/settings/entities/schemas/README.md similarity index 100% rename from pype/settings/entities/schemas/README.md rename to openpype/settings/entities/schemas/README.md diff --git a/pype/settings/entities/schemas/projects_schema/schema_main.json b/openpype/settings/entities/schemas/projects_schema/schema_main.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_main.json rename to openpype/settings/entities/schemas/projects_schema/schema_main.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_celaction.json b/openpype/settings/entities/schemas/projects_schema/schema_project_celaction.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_celaction.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_celaction.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_deadline.json b/openpype/settings/entities/schemas/projects_schema/schema_project_deadline.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_deadline.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_deadline.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_ftrack.json b/openpype/settings/entities/schemas/projects_schema/schema_project_ftrack.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_ftrack.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_ftrack.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_global.json b/openpype/settings/entities/schemas/projects_schema/schema_project_global.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_global.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_global.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_harmony.json b/openpype/settings/entities/schemas/projects_schema/schema_project_harmony.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_harmony.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_harmony.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_hiero.json b/openpype/settings/entities/schemas/projects_schema/schema_project_hiero.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_hiero.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_hiero.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_maya.json b/openpype/settings/entities/schemas/projects_schema/schema_project_maya.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_maya.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_maya.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_nuke.json b/openpype/settings/entities/schemas/projects_schema/schema_project_nuke.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_nuke.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_nuke.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_resolve.json b/openpype/settings/entities/schemas/projects_schema/schema_project_resolve.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_resolve.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_resolve.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_standalonepublisher.json b/openpype/settings/entities/schemas/projects_schema/schema_project_standalonepublisher.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_standalonepublisher.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_standalonepublisher.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_syncserver.json b/openpype/settings/entities/schemas/projects_schema/schema_project_syncserver.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_syncserver.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_syncserver.json diff --git a/pype/settings/entities/schemas/projects_schema/schema_project_unreal.json b/openpype/settings/entities/schemas/projects_schema/schema_project_unreal.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schema_project_unreal.json rename to openpype/settings/entities/schemas/projects_schema/schema_project_unreal.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_attributes.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_attributes.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_attributes.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_attributes.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_imageio.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_imageio.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_imageio.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_imageio.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_templates.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_templates.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_templates.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_anatomy_templates.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_global_publish.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_global_publish.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_global_publish.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_global_publish.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_global_tools.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_global_tools.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_global_tools.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_global_tools.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_maya_create.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_create.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_maya_create.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_create.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_maya_load.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_load.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_maya_load.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_load.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_maya_publish.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_publish.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_maya_publish.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_publish.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_nuke_load.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_nuke_load.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_nuke_load.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_nuke_load.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_nuke_publish.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_nuke_publish.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_nuke_publish.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_nuke_publish.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_publish_gui_filter.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_publish_gui_filter.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_publish_gui_filter.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_publish_gui_filter.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/schema_workfile_build.json b/openpype/settings/entities/schemas/projects_schema/schemas/schema_workfile_build.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/schema_workfile_build.json rename to openpype/settings/entities/schemas/projects_schema/schemas/schema_workfile_build.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/template_color.json b/openpype/settings/entities/schemas/projects_schema/schemas/template_color.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/template_color.json rename to openpype/settings/entities/schemas/projects_schema/schemas/template_color.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/template_create_plugin.json b/openpype/settings/entities/schemas/projects_schema/schemas/template_create_plugin.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/template_create_plugin.json rename to openpype/settings/entities/schemas/projects_schema/schemas/template_create_plugin.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/template_loader_plugin_nuke.json b/openpype/settings/entities/schemas/projects_schema/schemas/template_loader_plugin_nuke.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/template_loader_plugin_nuke.json rename to openpype/settings/entities/schemas/projects_schema/schemas/template_loader_plugin_nuke.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/template_maya_capture.json b/openpype/settings/entities/schemas/projects_schema/schemas/template_maya_capture.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/template_maya_capture.json rename to openpype/settings/entities/schemas/projects_schema/schemas/template_maya_capture.json diff --git a/pype/settings/entities/schemas/projects_schema/schemas/template_publish_plugin.json b/openpype/settings/entities/schemas/projects_schema/schemas/template_publish_plugin.json similarity index 100% rename from pype/settings/entities/schemas/projects_schema/schemas/template_publish_plugin.json rename to openpype/settings/entities/schemas/projects_schema/schemas/template_publish_plugin.json diff --git a/pype/settings/entities/schemas/system_schema/example_schema.json b/openpype/settings/entities/schemas/system_schema/example_schema.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/example_schema.json rename to openpype/settings/entities/schemas/system_schema/example_schema.json diff --git a/pype/settings/entities/schemas/system_schema/example_template.json b/openpype/settings/entities/schemas/system_schema/example_template.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/example_template.json rename to openpype/settings/entities/schemas/system_schema/example_template.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_aftereffects.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_aftereffects.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_aftereffects.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_aftereffects.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_blender.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_blender.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_blender.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_blender.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_celaction.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_celaction.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_celaction.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_celaction.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_djv.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_djv.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_djv.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_djv.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_fusion.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_fusion.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_fusion.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_fusion.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_harmony.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_harmony.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_harmony.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_harmony.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_houdini.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_houdini.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_houdini.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_houdini.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_maya.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_maya.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_maya.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_maya.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_mayabatch.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_mayabatch.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_mayabatch.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_mayabatch.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_photoshop.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_photoshop.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_photoshop.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_photoshop.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_resolve.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_resolve.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_resolve.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_resolve.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_shell.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_shell.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_shell.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_shell.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_tvpaint.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_tvpaint.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_tvpaint.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_tvpaint.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/schema_unreal.json b/openpype/settings/entities/schemas/system_schema/host_settings/schema_unreal.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/schema_unreal.json rename to openpype/settings/entities/schemas/system_schema/host_settings/schema_unreal.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/template_host_unchangables.json b/openpype/settings/entities/schemas/system_schema/host_settings/template_host_unchangables.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/template_host_unchangables.json rename to openpype/settings/entities/schemas/system_schema/host_settings/template_host_unchangables.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/template_host_variant.json b/openpype/settings/entities/schemas/system_schema/host_settings/template_host_variant.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/template_host_variant.json rename to openpype/settings/entities/schemas/system_schema/host_settings/template_host_variant.json diff --git a/pype/settings/entities/schemas/system_schema/host_settings/template_nuke.json b/openpype/settings/entities/schemas/system_schema/host_settings/template_nuke.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/host_settings/template_nuke.json rename to openpype/settings/entities/schemas/system_schema/host_settings/template_nuke.json diff --git a/pype/settings/entities/schemas/system_schema/module_settings/schema_ftrack.json b/openpype/settings/entities/schemas/system_schema/module_settings/schema_ftrack.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/module_settings/schema_ftrack.json rename to openpype/settings/entities/schemas/system_schema/module_settings/schema_ftrack.json diff --git a/pype/settings/entities/schemas/system_schema/module_settings/template_custom_attribute.json b/openpype/settings/entities/schemas/system_schema/module_settings/template_custom_attribute.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/module_settings/template_custom_attribute.json rename to openpype/settings/entities/schemas/system_schema/module_settings/template_custom_attribute.json diff --git a/pype/settings/entities/schemas/system_schema/schema_applications.json b/openpype/settings/entities/schemas/system_schema/schema_applications.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/schema_applications.json rename to openpype/settings/entities/schemas/system_schema/schema_applications.json diff --git a/pype/settings/entities/schemas/system_schema/schema_general.json b/openpype/settings/entities/schemas/system_schema/schema_general.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/schema_general.json rename to openpype/settings/entities/schemas/system_schema/schema_general.json diff --git a/pype/settings/entities/schemas/system_schema/schema_main.json b/openpype/settings/entities/schemas/system_schema/schema_main.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/schema_main.json rename to openpype/settings/entities/schemas/system_schema/schema_main.json diff --git a/pype/settings/entities/schemas/system_schema/schema_modules.json b/openpype/settings/entities/schemas/system_schema/schema_modules.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/schema_modules.json rename to openpype/settings/entities/schemas/system_schema/schema_modules.json diff --git a/pype/settings/entities/schemas/system_schema/schema_tools.json b/openpype/settings/entities/schemas/system_schema/schema_tools.json similarity index 100% rename from pype/settings/entities/schemas/system_schema/schema_tools.json rename to openpype/settings/entities/schemas/system_schema/schema_tools.json diff --git a/pype/settings/handlers.py b/openpype/settings/handlers.py similarity index 99% rename from pype/settings/handlers.py rename to openpype/settings/handlers.py index 13cb9b9ba5..59f091ea3a 100644 --- a/pype/settings/handlers.py +++ b/openpype/settings/handlers.py @@ -6,7 +6,7 @@ import collections import datetime from abc import ABCMeta, abstractmethod import six -import pype +import openpype from .constants import ( GLOBAL_SETTINGS_KEY, SYSTEM_SETTINGS_KEY, @@ -170,7 +170,7 @@ class MongoSettingsHandler(SettingsHandler): def __init__(self): # Get mongo connection - from pype.lib import PypeMongoConnection + from openpype.lib import PypeMongoConnection from avalon.api import AvalonMongoDB settings_collection = PypeMongoConnection.get_mongo_client() @@ -540,7 +540,7 @@ class MongoLocalSettingsHandler(LocalSettingsHandler): def __init__(self, local_site_id=None): # Get mongo connection - from pype.lib import ( + from openpype.lib import ( PypeMongoConnection, get_local_site_id ) diff --git a/pype/settings/lib.py b/openpype/settings/lib.py similarity index 99% rename from pype/settings/lib.py rename to openpype/settings/lib.py index 9cb0bc9ecb..60a51c01a0 100644 --- a/pype/settings/lib.py +++ b/openpype/settings/lib.py @@ -105,7 +105,7 @@ def save_studio_settings(data): data(dict): Overrides data with metadata defying studio overrides. """ # Notify Pype modules - from pype.modules import ModulesManager, ISettingsChangeListener + from openpype.modules import ModulesManager, ISettingsChangeListener old_data = get_system_settings() default_values = get_default_settings()[SYSTEM_SETTINGS_KEY] @@ -136,7 +136,7 @@ def save_project_settings(project_name, overrides): overrides(dict): Overrides data with metadata defying studio overrides. """ # Notify Pype modules - from pype.modules import ModulesManager, ISettingsChangeListener + from openpype.modules import ModulesManager, ISettingsChangeListener default_values = get_default_settings()[PROJECT_SETTINGS_KEY] if project_name: @@ -179,7 +179,7 @@ def save_project_anatomy(project_name, anatomy_data): overrides(dict): Overrides data with metadata defying studio overrides. """ # Notify Pype modules - from pype.modules import ModulesManager, ISettingsChangeListener + from openpype.modules import ModulesManager, ISettingsChangeListener default_values = get_default_settings()[PROJECT_ANATOMY_KEY] if project_name: diff --git a/pype/settings/local_settings.md b/openpype/settings/local_settings.md similarity index 100% rename from pype/settings/local_settings.md rename to openpype/settings/local_settings.md diff --git a/pype/tests/README.md b/openpype/tests/README.md similarity index 100% rename from pype/tests/README.md rename to openpype/tests/README.md diff --git a/pype/tests/__init__.py b/openpype/tests/__init__.py similarity index 100% rename from pype/tests/__init__.py rename to openpype/tests/__init__.py diff --git a/pype/tests/lib.py b/openpype/tests/lib.py similarity index 100% rename from pype/tests/lib.py rename to openpype/tests/lib.py diff --git a/pype/tests/test_avalon_plugin_presets.py b/openpype/tests/test_avalon_plugin_presets.py similarity index 96% rename from pype/tests/test_avalon_plugin_presets.py rename to openpype/tests/test_avalon_plugin_presets.py index 7f023ea358..cc1858554c 100644 --- a/pype/tests/test_avalon_plugin_presets.py +++ b/openpype/tests/test_avalon_plugin_presets.py @@ -1,5 +1,5 @@ import avalon.api as api -import pype +import openpype class MyTestCreator(api.Creator): @@ -24,7 +24,7 @@ class Test: def test_avalon_plugin_presets(monkeypatch, printer): - pype.install() + openpype.install() api.register_host(Test()) api.register_plugin(api.Creator, MyTestCreator) plugins = api.discover(api.Creator) diff --git a/openpype/tests/test_lib_restructuralization.py b/openpype/tests/test_lib_restructuralization.py new file mode 100644 index 0000000000..d0461e55fb --- /dev/null +++ b/openpype/tests/test_lib_restructuralization.py @@ -0,0 +1,35 @@ +# Test for backward compatibility of restructure of lib.py into lib library +# Contains simple imports that should still work + + +def test_backward_compatibility(printer): + printer("Test if imports still work") + try: + from openpype.lib import filter_pyblish_plugins + from openpype.lib import execute_hook + from openpype.lib import PypeHook + + from openpype.lib import get_latest_version + from openpype.lib import ApplicationLaunchFailed + + from openpype.lib import get_ffmpeg_tool_path + from openpype.lib import get_last_version_from_path + from openpype.lib import get_paths_from_environ + from openpype.lib import get_version_from_path + from openpype.lib import version_up + + from openpype.lib import is_latest + from openpype.lib import any_outdated + from openpype.lib import get_asset + from openpype.lib import get_hierarchy + from openpype.lib import get_linked_assets + from openpype.lib import get_latest_version + from openpype.lib import ffprobe_streams + + from openpype.hosts.fusion.lib import switch_item + + from openpype.lib import source_hash + from openpype.lib import run_subprocess + + except ImportError as e: + raise diff --git a/pype/tests/test_mongo_performance.py b/openpype/tests/test_mongo_performance.py similarity index 100% rename from pype/tests/test_mongo_performance.py rename to openpype/tests/test_mongo_performance.py diff --git a/pype/tests/test_pyblish_filter.py b/openpype/tests/test_pyblish_filter.py similarity index 97% rename from pype/tests/test_pyblish_filter.py rename to openpype/tests/test_pyblish_filter.py index cf3d5d6015..ea23da26e4 100644 --- a/pype/tests/test_pyblish_filter.py +++ b/openpype/tests/test_pyblish_filter.py @@ -2,7 +2,7 @@ from . import lib import pyblish.api import pyblish.util import pyblish.plugin -from pype.lib import filter_pyblish_plugins +from openpype.lib import filter_pyblish_plugins import os diff --git a/pype/tools/__init__.py b/openpype/tools/__init__.py similarity index 100% rename from pype/tools/__init__.py rename to openpype/tools/__init__.py diff --git a/pype/tools/assetcreator/__init__.py b/openpype/tools/assetcreator/__init__.py similarity index 100% rename from pype/tools/assetcreator/__init__.py rename to openpype/tools/assetcreator/__init__.py diff --git a/pype/tools/assetcreator/__main__.py b/openpype/tools/assetcreator/__main__.py similarity index 100% rename from pype/tools/assetcreator/__main__.py rename to openpype/tools/assetcreator/__main__.py diff --git a/pype/tools/assetcreator/app.py b/openpype/tools/assetcreator/app.py similarity index 99% rename from pype/tools/assetcreator/app.py rename to openpype/tools/assetcreator/app.py index 366bb8be08..5c2553e81e 100644 --- a/pype/tools/assetcreator/app.py +++ b/openpype/tools/assetcreator/app.py @@ -6,8 +6,8 @@ try: import ftrack_api_old as ftrack_api except Exception: import ftrack_api -from pype.api import get_current_project_settings -from pype import lib as pypelib +from openpype.api import get_current_project_settings +from openpype import lib as pypelib from avalon.vendor.Qt import QtWidgets, QtCore from avalon import io, api, style, schema from avalon.tools import lib as parentlib diff --git a/pype/tools/assetcreator/model.py b/openpype/tools/assetcreator/model.py similarity index 100% rename from pype/tools/assetcreator/model.py rename to openpype/tools/assetcreator/model.py diff --git a/pype/tools/assetcreator/widget.py b/openpype/tools/assetcreator/widget.py similarity index 100% rename from pype/tools/assetcreator/widget.py rename to openpype/tools/assetcreator/widget.py diff --git a/pype/tools/launcher/__init__.py b/openpype/tools/launcher/__init__.py similarity index 100% rename from pype/tools/launcher/__init__.py rename to openpype/tools/launcher/__init__.py diff --git a/pype/tools/launcher/actions.py b/openpype/tools/launcher/actions.py similarity index 98% rename from pype/tools/launcher/actions.py rename to openpype/tools/launcher/actions.py index aefa190768..6261fe91ca 100644 --- a/pype/tools/launcher/actions.py +++ b/openpype/tools/launcher/actions.py @@ -2,8 +2,8 @@ import os import importlib from avalon import api, lib, style -from pype.api import Logger, resources -from pype.lib import ( +from openpype.api import Logger, resources +from openpype.lib import ( ApplictionExecutableNotFound, ApplicationLaunchFailed ) diff --git a/pype/tools/launcher/constants.py b/openpype/tools/launcher/constants.py similarity index 100% rename from pype/tools/launcher/constants.py rename to openpype/tools/launcher/constants.py diff --git a/pype/tools/launcher/delegates.py b/openpype/tools/launcher/delegates.py similarity index 100% rename from pype/tools/launcher/delegates.py rename to openpype/tools/launcher/delegates.py diff --git a/pype/tools/launcher/flickcharm.py b/openpype/tools/launcher/flickcharm.py similarity index 100% rename from pype/tools/launcher/flickcharm.py rename to openpype/tools/launcher/flickcharm.py diff --git a/pype/tools/launcher/lib.py b/openpype/tools/launcher/lib.py similarity index 98% rename from pype/tools/launcher/lib.py rename to openpype/tools/launcher/lib.py index 7d2a49db9d..b4e6a0c3e9 100644 --- a/pype/tools/launcher/lib.py +++ b/openpype/tools/launcher/lib.py @@ -17,7 +17,7 @@ provides a bridge between the file-based project inventory and configuration. import os from Qt import QtGui from avalon.vendor import qtawesome -from pype.api import resources +from openpype.api import resources ICON_CACHE = {} NOT_FOUND = type("NotFound", (object, ), {}) diff --git a/pype/tools/launcher/models.py b/openpype/tools/launcher/models.py similarity index 99% rename from pype/tools/launcher/models.py rename to openpype/tools/launcher/models.py index c617c7cace..25b6dcdbf0 100644 --- a/pype/tools/launcher/models.py +++ b/openpype/tools/launcher/models.py @@ -14,7 +14,7 @@ from .actions import ApplicationAction from Qt import QtCore, QtGui from avalon.vendor import qtawesome from avalon import style, api -from pype.lib import ApplicationManager +from openpype.lib import ApplicationManager log = logging.getLogger(__name__) diff --git a/pype/tools/launcher/widgets.py b/openpype/tools/launcher/widgets.py similarity index 100% rename from pype/tools/launcher/widgets.py rename to openpype/tools/launcher/widgets.py diff --git a/pype/tools/launcher/window.py b/openpype/tools/launcher/window.py similarity index 99% rename from pype/tools/launcher/window.py rename to openpype/tools/launcher/window.py index f4ed7013a8..a89e724f1c 100644 --- a/pype/tools/launcher/window.py +++ b/openpype/tools/launcher/window.py @@ -5,7 +5,7 @@ from Qt import QtWidgets, QtCore, QtGui from avalon import style from avalon.api import AvalonMongoDB -from pype.api import resources +from openpype.api import resources from avalon.tools import lib as tools_lib from avalon.tools.widgets import AssetWidget diff --git a/pype/tools/mayalookassigner/LICENSE b/openpype/tools/mayalookassigner/LICENSE similarity index 100% rename from pype/tools/mayalookassigner/LICENSE rename to openpype/tools/mayalookassigner/LICENSE diff --git a/pype/tools/mayalookassigner/__init__.py b/openpype/tools/mayalookassigner/__init__.py similarity index 100% rename from pype/tools/mayalookassigner/__init__.py rename to openpype/tools/mayalookassigner/__init__.py diff --git a/pype/tools/mayalookassigner/app.py b/openpype/tools/mayalookassigner/app.py similarity index 99% rename from pype/tools/mayalookassigner/app.py rename to openpype/tools/mayalookassigner/app.py index 92ab7046a8..09782ea6ac 100644 --- a/pype/tools/mayalookassigner/app.py +++ b/openpype/tools/mayalookassigner/app.py @@ -2,7 +2,7 @@ import sys import time import logging -from pype.hosts.maya.api.lib import assign_look_by_version +from openpype.hosts.maya.api.lib import assign_look_by_version from avalon import style, io from avalon.tools import lib diff --git a/pype/tools/mayalookassigner/commands.py b/openpype/tools/mayalookassigner/commands.py similarity index 99% rename from pype/tools/mayalookassigner/commands.py rename to openpype/tools/mayalookassigner/commands.py index a379a109f4..98eb3d37b7 100644 --- a/pype/tools/mayalookassigner/commands.py +++ b/openpype/tools/mayalookassigner/commands.py @@ -4,7 +4,7 @@ import os import maya.cmds as cmds -from pype.hosts.maya.api import lib +from openpype.hosts.maya.api import lib from avalon import io, api diff --git a/pype/tools/mayalookassigner/models.py b/openpype/tools/mayalookassigner/models.py similarity index 100% rename from pype/tools/mayalookassigner/models.py rename to openpype/tools/mayalookassigner/models.py diff --git a/pype/tools/mayalookassigner/views.py b/openpype/tools/mayalookassigner/views.py similarity index 100% rename from pype/tools/mayalookassigner/views.py rename to openpype/tools/mayalookassigner/views.py diff --git a/pype/tools/mayalookassigner/widgets.py b/openpype/tools/mayalookassigner/widgets.py similarity index 100% rename from pype/tools/mayalookassigner/widgets.py rename to openpype/tools/mayalookassigner/widgets.py diff --git a/pype/tools/pyblish_pype/__init__.py b/openpype/tools/pyblish_pype/__init__.py similarity index 100% rename from pype/tools/pyblish_pype/__init__.py rename to openpype/tools/pyblish_pype/__init__.py diff --git a/pype/tools/pyblish_pype/__main__.py b/openpype/tools/pyblish_pype/__main__.py similarity index 100% rename from pype/tools/pyblish_pype/__main__.py rename to openpype/tools/pyblish_pype/__main__.py diff --git a/pype/tools/pyblish_pype/app.css b/openpype/tools/pyblish_pype/app.css similarity index 100% rename from pype/tools/pyblish_pype/app.css rename to openpype/tools/pyblish_pype/app.css diff --git a/pype/tools/pyblish_pype/app.py b/openpype/tools/pyblish_pype/app.py similarity index 100% rename from pype/tools/pyblish_pype/app.py rename to openpype/tools/pyblish_pype/app.py diff --git a/pype/tools/pyblish_pype/awesome.py b/openpype/tools/pyblish_pype/awesome.py similarity index 100% rename from pype/tools/pyblish_pype/awesome.py rename to openpype/tools/pyblish_pype/awesome.py diff --git a/pype/tools/pyblish_pype/constants.py b/openpype/tools/pyblish_pype/constants.py similarity index 100% rename from pype/tools/pyblish_pype/constants.py rename to openpype/tools/pyblish_pype/constants.py diff --git a/pype/tools/pyblish_pype/control.py b/openpype/tools/pyblish_pype/control.py similarity index 99% rename from pype/tools/pyblish_pype/control.py rename to openpype/tools/pyblish_pype/control.py index 4f7a43d6d1..ae9ca40be5 100644 --- a/pype/tools/pyblish_pype/control.py +++ b/openpype/tools/pyblish_pype/control.py @@ -22,7 +22,7 @@ import pyblish.version from . import util from .constants import InstanceStates -from pype.api import get_project_settings +from openpype.api import get_project_settings class IterationBreak(Exception): diff --git a/pype/tools/pyblish_pype/delegate.py b/openpype/tools/pyblish_pype/delegate.py similarity index 100% rename from pype/tools/pyblish_pype/delegate.py rename to openpype/tools/pyblish_pype/delegate.py diff --git a/pype/tools/pyblish_pype/font/fontawesome/fontawesome-webfont.ttf b/openpype/tools/pyblish_pype/font/fontawesome/fontawesome-webfont.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/fontawesome/fontawesome-webfont.ttf rename to openpype/tools/pyblish_pype/font/fontawesome/fontawesome-webfont.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/LICENSE.txt b/openpype/tools/pyblish_pype/font/opensans/LICENSE.txt similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/LICENSE.txt rename to openpype/tools/pyblish_pype/font/opensans/LICENSE.txt diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-Bold.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-Bold.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-Bold.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-Bold.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-BoldItalic.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-BoldItalic.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-BoldItalic.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-BoldItalic.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-ExtraBold.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-ExtraBold.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-ExtraBold.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-ExtraBold.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-ExtraBoldItalic.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-ExtraBoldItalic.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-ExtraBoldItalic.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-ExtraBoldItalic.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-Italic.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-Italic.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-Italic.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-Italic.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-Light.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-Light.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-Light.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-Light.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-LightItalic.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-LightItalic.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-LightItalic.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-LightItalic.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-Regular.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-Regular.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-Regular.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-Regular.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-Semibold.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-Semibold.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-Semibold.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-Semibold.ttf diff --git a/pype/tools/pyblish_pype/font/opensans/OpenSans-SemiboldItalic.ttf b/openpype/tools/pyblish_pype/font/opensans/OpenSans-SemiboldItalic.ttf similarity index 100% rename from pype/tools/pyblish_pype/font/opensans/OpenSans-SemiboldItalic.ttf rename to openpype/tools/pyblish_pype/font/opensans/OpenSans-SemiboldItalic.ttf diff --git a/pype/tools/pyblish_pype/i18n/pyblish_lite.pro b/openpype/tools/pyblish_pype/i18n/pyblish_lite.pro similarity index 100% rename from pype/tools/pyblish_pype/i18n/pyblish_lite.pro rename to openpype/tools/pyblish_pype/i18n/pyblish_lite.pro diff --git a/pype/tools/pyblish_pype/i18n/zh_CN.qm b/openpype/tools/pyblish_pype/i18n/zh_CN.qm similarity index 100% rename from pype/tools/pyblish_pype/i18n/zh_CN.qm rename to openpype/tools/pyblish_pype/i18n/zh_CN.qm diff --git a/pype/tools/pyblish_pype/i18n/zh_CN.ts b/openpype/tools/pyblish_pype/i18n/zh_CN.ts similarity index 100% rename from pype/tools/pyblish_pype/i18n/zh_CN.ts rename to openpype/tools/pyblish_pype/i18n/zh_CN.ts diff --git a/pype/tools/pyblish_pype/img/down_arrow.png b/openpype/tools/pyblish_pype/img/down_arrow.png similarity index 100% rename from pype/tools/pyblish_pype/img/down_arrow.png rename to openpype/tools/pyblish_pype/img/down_arrow.png diff --git a/pype/tools/pyblish_pype/img/logo-extrasmall.png b/openpype/tools/pyblish_pype/img/logo-extrasmall.png similarity index 100% rename from pype/tools/pyblish_pype/img/logo-extrasmall.png rename to openpype/tools/pyblish_pype/img/logo-extrasmall.png diff --git a/pype/tools/pyblish_pype/img/tab-overview.png b/openpype/tools/pyblish_pype/img/tab-overview.png similarity index 100% rename from pype/tools/pyblish_pype/img/tab-overview.png rename to openpype/tools/pyblish_pype/img/tab-overview.png diff --git a/pype/tools/pyblish_pype/img/tab-terminal.png b/openpype/tools/pyblish_pype/img/tab-terminal.png similarity index 100% rename from pype/tools/pyblish_pype/img/tab-terminal.png rename to openpype/tools/pyblish_pype/img/tab-terminal.png diff --git a/pype/tools/pyblish_pype/mock.py b/openpype/tools/pyblish_pype/mock.py similarity index 100% rename from pype/tools/pyblish_pype/mock.py rename to openpype/tools/pyblish_pype/mock.py diff --git a/pype/tools/pyblish_pype/model.py b/openpype/tools/pyblish_pype/model.py similarity index 99% rename from pype/tools/pyblish_pype/model.py rename to openpype/tools/pyblish_pype/model.py index b537d7724d..50ba27166b 100644 --- a/pype/tools/pyblish_pype/model.py +++ b/openpype/tools/pyblish_pype/model.py @@ -35,7 +35,7 @@ from six import text_type from .vendor import qtawesome from .constants import PluginStates, InstanceStates, GroupStates, Roles -from pype.api import get_system_settings +from openpype.api import get_system_settings # ItemTypes diff --git a/pype/tools/pyblish_pype/settings.py b/openpype/tools/pyblish_pype/settings.py similarity index 100% rename from pype/tools/pyblish_pype/settings.py rename to openpype/tools/pyblish_pype/settings.py diff --git a/pype/tools/pyblish_pype/util.py b/openpype/tools/pyblish_pype/util.py similarity index 100% rename from pype/tools/pyblish_pype/util.py rename to openpype/tools/pyblish_pype/util.py diff --git a/pype/tools/pyblish_pype/vendor/__init__.py b/openpype/tools/pyblish_pype/vendor/__init__.py similarity index 100% rename from pype/tools/pyblish_pype/vendor/__init__.py rename to openpype/tools/pyblish_pype/vendor/__init__.py diff --git a/pype/tools/pyblish_pype/vendor/qtawesome/__init__.py b/openpype/tools/pyblish_pype/vendor/qtawesome/__init__.py similarity index 100% rename from pype/tools/pyblish_pype/vendor/qtawesome/__init__.py rename to openpype/tools/pyblish_pype/vendor/qtawesome/__init__.py diff --git a/pype/tools/pyblish_pype/vendor/qtawesome/_version.py b/openpype/tools/pyblish_pype/vendor/qtawesome/_version.py similarity index 100% rename from pype/tools/pyblish_pype/vendor/qtawesome/_version.py rename to openpype/tools/pyblish_pype/vendor/qtawesome/_version.py diff --git a/pype/tools/pyblish_pype/vendor/qtawesome/animation.py b/openpype/tools/pyblish_pype/vendor/qtawesome/animation.py similarity index 100% rename from pype/tools/pyblish_pype/vendor/qtawesome/animation.py rename to openpype/tools/pyblish_pype/vendor/qtawesome/animation.py diff --git a/pype/tools/pyblish_pype/vendor/qtawesome/fonts/elusiveicons-webfont-charmap.json b/openpype/tools/pyblish_pype/vendor/qtawesome/fonts/elusiveicons-webfont-charmap.json similarity index 100% rename from pype/tools/pyblish_pype/vendor/qtawesome/fonts/elusiveicons-webfont-charmap.json rename to openpype/tools/pyblish_pype/vendor/qtawesome/fonts/elusiveicons-webfont-charmap.json diff --git a/pype/tools/pyblish_pype/vendor/qtawesome/fonts/elusiveicons-webfont.ttf b/openpype/tools/pyblish_pype/vendor/qtawesome/fonts/elusiveicons-webfont.ttf similarity index 100% rename from pype/tools/pyblish_pype/vendor/qtawesome/fonts/elusiveicons-webfont.ttf rename to openpype/tools/pyblish_pype/vendor/qtawesome/fonts/elusiveicons-webfont.ttf diff --git a/pype/tools/pyblish_pype/vendor/qtawesome/fonts/fontawesome-webfont-charmap.json b/openpype/tools/pyblish_pype/vendor/qtawesome/fonts/fontawesome-webfont-charmap.json similarity index 100% rename from pype/tools/pyblish_pype/vendor/qtawesome/fonts/fontawesome-webfont-charmap.json rename to openpype/tools/pyblish_pype/vendor/qtawesome/fonts/fontawesome-webfont-charmap.json diff --git a/pype/tools/pyblish_pype/vendor/qtawesome/fonts/fontawesome-webfont.ttf b/openpype/tools/pyblish_pype/vendor/qtawesome/fonts/fontawesome-webfont.ttf similarity index 100% rename from pype/tools/pyblish_pype/vendor/qtawesome/fonts/fontawesome-webfont.ttf rename to openpype/tools/pyblish_pype/vendor/qtawesome/fonts/fontawesome-webfont.ttf diff --git a/pype/tools/pyblish_pype/vendor/qtawesome/iconic_font.py b/openpype/tools/pyblish_pype/vendor/qtawesome/iconic_font.py similarity index 100% rename from pype/tools/pyblish_pype/vendor/qtawesome/iconic_font.py rename to openpype/tools/pyblish_pype/vendor/qtawesome/iconic_font.py diff --git a/pype/tools/pyblish_pype/version.py b/openpype/tools/pyblish_pype/version.py similarity index 100% rename from pype/tools/pyblish_pype/version.py rename to openpype/tools/pyblish_pype/version.py diff --git a/pype/tools/pyblish_pype/view.py b/openpype/tools/pyblish_pype/view.py similarity index 100% rename from pype/tools/pyblish_pype/view.py rename to openpype/tools/pyblish_pype/view.py diff --git a/pype/tools/pyblish_pype/widgets.py b/openpype/tools/pyblish_pype/widgets.py similarity index 100% rename from pype/tools/pyblish_pype/widgets.py rename to openpype/tools/pyblish_pype/widgets.py diff --git a/pype/tools/pyblish_pype/window.py b/openpype/tools/pyblish_pype/window.py similarity index 100% rename from pype/tools/pyblish_pype/window.py rename to openpype/tools/pyblish_pype/window.py diff --git a/pype/tools/settings/__init__.py b/openpype/tools/settings/__init__.py similarity index 100% rename from pype/tools/settings/__init__.py rename to openpype/tools/settings/__init__.py diff --git a/pype/tools/settings/__main__.py b/openpype/tools/settings/__main__.py similarity index 100% rename from pype/tools/settings/__main__.py rename to openpype/tools/settings/__main__.py diff --git a/pype/tools/settings/local_settings/__init__.py b/openpype/tools/settings/local_settings/__init__.py similarity index 100% rename from pype/tools/settings/local_settings/__init__.py rename to openpype/tools/settings/local_settings/__init__.py diff --git a/pype/tools/settings/local_settings/apps_widget.py b/openpype/tools/settings/local_settings/apps_widget.py similarity index 100% rename from pype/tools/settings/local_settings/apps_widget.py rename to openpype/tools/settings/local_settings/apps_widget.py diff --git a/pype/tools/settings/local_settings/constants.py b/openpype/tools/settings/local_settings/constants.py similarity index 100% rename from pype/tools/settings/local_settings/constants.py rename to openpype/tools/settings/local_settings/constants.py diff --git a/pype/tools/settings/local_settings/general_widget.py b/openpype/tools/settings/local_settings/general_widget.py similarity index 100% rename from pype/tools/settings/local_settings/general_widget.py rename to openpype/tools/settings/local_settings/general_widget.py diff --git a/pype/tools/settings/local_settings/mongo_widget.py b/openpype/tools/settings/local_settings/mongo_widget.py similarity index 98% rename from pype/tools/settings/local_settings/mongo_widget.py rename to openpype/tools/settings/local_settings/mongo_widget.py index f6f1ae1acb..223749b73c 100644 --- a/pype/tools/settings/local_settings/mongo_widget.py +++ b/openpype/tools/settings/local_settings/mongo_widget.py @@ -5,7 +5,7 @@ import traceback from Qt import QtWidgets from pymongo.errors import ServerSelectionTimeoutError -from pype.api import change_openpype_mongo_url +from openpype.api import change_openpype_mongo_url class OpenPypeMongoWidget(QtWidgets.QWidget): diff --git a/pype/tools/settings/local_settings/projects_widget.py b/openpype/tools/settings/local_settings/projects_widget.py similarity index 99% rename from pype/tools/settings/local_settings/projects_widget.py rename to openpype/tools/settings/local_settings/projects_widget.py index 2a7d801a03..a48c504d59 100644 --- a/pype/tools/settings/local_settings/projects_widget.py +++ b/openpype/tools/settings/local_settings/projects_widget.py @@ -1,8 +1,8 @@ import platform import copy from Qt import QtWidgets, QtCore, QtGui -from pype.tools.settings.settings import ProjectListWidget -from pype.settings.constants import ( +from openpype.tools.settings.settings import ProjectListWidget +from openpype.settings.constants import ( PROJECT_ANATOMY_KEY, DEFAULT_PROJECT_KEY ) diff --git a/pype/tools/settings/local_settings/widgets.py b/openpype/tools/settings/local_settings/widgets.py similarity index 96% rename from pype/tools/settings/local_settings/widgets.py rename to openpype/tools/settings/local_settings/widgets.py index 2293fdfed5..a262188906 100644 --- a/pype/tools/settings/local_settings/widgets.py +++ b/openpype/tools/settings/local_settings/widgets.py @@ -1,5 +1,5 @@ from Qt import QtWidgets, QtCore -from pype.tools.settings.settings.widgets.widgets import ( +from openpype.tools.settings.settings.widgets.widgets import ( ExpandingWidget, SpacerWidget ) diff --git a/pype/tools/settings/local_settings/window.py b/openpype/tools/settings/local_settings/window.py similarity index 98% rename from pype/tools/settings/local_settings/window.py rename to openpype/tools/settings/local_settings/window.py index a0ae5dffff..60ef1db829 100644 --- a/pype/tools/settings/local_settings/window.py +++ b/openpype/tools/settings/local_settings/window.py @@ -3,15 +3,15 @@ from Qt import QtWidgets, QtGui from ..settings import style -from pype.settings.lib import ( +from openpype.settings.lib import ( get_local_settings, save_local_settings ) -from pype.api import ( +from openpype.api import ( SystemSettings, ProjectSettings ) -from pype.modules import ModulesManager +from openpype.modules import ModulesManager from .widgets import ( SpacerWidget, diff --git a/pype/tools/settings/settings/README.md b/openpype/tools/settings/settings/README.md similarity index 100% rename from pype/tools/settings/settings/README.md rename to openpype/tools/settings/settings/README.md diff --git a/pype/tools/settings/settings/__init__.py b/openpype/tools/settings/settings/__init__.py similarity index 100% rename from pype/tools/settings/settings/__init__.py rename to openpype/tools/settings/settings/__init__.py diff --git a/pype/tools/settings/settings/style/__init__.py b/openpype/tools/settings/settings/style/__init__.py similarity index 100% rename from pype/tools/settings/settings/style/__init__.py rename to openpype/tools/settings/settings/style/__init__.py diff --git a/pype/tools/settings/settings/style/pype_icon.png b/openpype/tools/settings/settings/style/pype_icon.png similarity index 100% rename from pype/tools/settings/settings/style/pype_icon.png rename to openpype/tools/settings/settings/style/pype_icon.png diff --git a/pype/tools/settings/settings/style/style.css b/openpype/tools/settings/settings/style/style.css similarity index 100% rename from pype/tools/settings/settings/style/style.css rename to openpype/tools/settings/settings/style/style.css diff --git a/pype/tools/settings/settings/widgets/__init__.py b/openpype/tools/settings/settings/widgets/__init__.py similarity index 100% rename from pype/tools/settings/settings/widgets/__init__.py rename to openpype/tools/settings/settings/widgets/__init__.py diff --git a/pype/tools/settings/settings/widgets/base.py b/openpype/tools/settings/settings/widgets/base.py similarity index 100% rename from pype/tools/settings/settings/widgets/base.py rename to openpype/tools/settings/settings/widgets/base.py diff --git a/pype/tools/settings/settings/widgets/categories.py b/openpype/tools/settings/settings/widgets/categories.py similarity index 99% rename from pype/tools/settings/settings/widgets/categories.py rename to openpype/tools/settings/settings/widgets/categories.py index f1e154ee4d..9d286485a3 100644 --- a/pype/tools/settings/settings/widgets/categories.py +++ b/openpype/tools/settings/settings/widgets/categories.py @@ -4,7 +4,7 @@ import traceback from enum import Enum from Qt import QtWidgets, QtCore, QtGui -from pype.settings.entities import ( +from openpype.settings.entities import ( SystemSettings, ProjectSettings, @@ -27,7 +27,7 @@ from pype.settings.entities import ( SchemaError ) -from pype.settings.lib import get_system_settings +from openpype.settings.lib import get_system_settings from .widgets import ProjectListWidget from . import lib diff --git a/pype/tools/settings/settings/widgets/dict_mutable_widget.py b/openpype/tools/settings/settings/widgets/dict_mutable_widget.py similarity index 99% rename from pype/tools/settings/settings/widgets/dict_mutable_widget.py rename to openpype/tools/settings/settings/widgets/dict_mutable_widget.py index e44ffdf35a..3b5f15f519 100644 --- a/pype/tools/settings/settings/widgets/dict_mutable_widget.py +++ b/openpype/tools/settings/settings/widgets/dict_mutable_widget.py @@ -12,7 +12,7 @@ from .lib import ( BTN_FIXED_SIZE, CHILD_OFFSET ) -from pype.settings.constants import KEY_REGEX +from openpype.settings.constants import KEY_REGEX def create_add_btn(parent): diff --git a/pype/tools/settings/settings/widgets/item_widgets.py b/openpype/tools/settings/settings/widgets/item_widgets.py similarity index 100% rename from pype/tools/settings/settings/widgets/item_widgets.py rename to openpype/tools/settings/settings/widgets/item_widgets.py diff --git a/pype/tools/settings/settings/widgets/lib.py b/openpype/tools/settings/settings/widgets/lib.py similarity index 99% rename from pype/tools/settings/settings/widgets/lib.py rename to openpype/tools/settings/settings/widgets/lib.py index d399c94ddc..aeca943617 100644 --- a/pype/tools/settings/settings/widgets/lib.py +++ b/openpype/tools/settings/settings/widgets/lib.py @@ -2,7 +2,7 @@ import os import re import json import copy -from pype.settings.constants import ( +from openpype.settings.constants import ( M_OVERRIDEN_KEY, M_ENVIRONMENT_KEY, M_DYNAMIC_KEY_LABEL diff --git a/pype/tools/settings/settings/widgets/list_item_widget.py b/openpype/tools/settings/settings/widgets/list_item_widget.py similarity index 100% rename from pype/tools/settings/settings/widgets/list_item_widget.py rename to openpype/tools/settings/settings/widgets/list_item_widget.py diff --git a/pype/tools/settings/settings/widgets/list_strict_widget.py b/openpype/tools/settings/settings/widgets/list_strict_widget.py similarity index 100% rename from pype/tools/settings/settings/widgets/list_strict_widget.py rename to openpype/tools/settings/settings/widgets/list_strict_widget.py diff --git a/pype/tools/settings/settings/widgets/multiselection_combobox.py b/openpype/tools/settings/settings/widgets/multiselection_combobox.py similarity index 100% rename from pype/tools/settings/settings/widgets/multiselection_combobox.py rename to openpype/tools/settings/settings/widgets/multiselection_combobox.py diff --git a/pype/tools/settings/settings/widgets/tests.py b/openpype/tools/settings/settings/widgets/tests.py similarity index 100% rename from pype/tools/settings/settings/widgets/tests.py rename to openpype/tools/settings/settings/widgets/tests.py diff --git a/pype/tools/settings/settings/widgets/widgets.py b/openpype/tools/settings/settings/widgets/widgets.py similarity index 99% rename from pype/tools/settings/settings/widgets/widgets.py rename to openpype/tools/settings/settings/widgets/widgets.py index d00372be03..aa79cc4b62 100644 --- a/pype/tools/settings/settings/widgets/widgets.py +++ b/openpype/tools/settings/settings/widgets/widgets.py @@ -6,7 +6,7 @@ from avalon.mongodb import ( AvalonMongoDB ) -from pype.settings.lib import get_system_settings +from openpype.settings.lib import get_system_settings class ShadowWidget(QtWidgets.QWidget): diff --git a/pype/tools/settings/settings/widgets/window.py b/openpype/tools/settings/settings/widgets/window.py similarity index 100% rename from pype/tools/settings/settings/widgets/window.py rename to openpype/tools/settings/settings/widgets/window.py diff --git a/pype/tools/settings/settings/widgets/wrapper_widgets.py b/openpype/tools/settings/settings/widgets/wrapper_widgets.py similarity index 100% rename from pype/tools/settings/settings/widgets/wrapper_widgets.py rename to openpype/tools/settings/settings/widgets/wrapper_widgets.py diff --git a/pype/tools/standalonepublish/__init__.py b/openpype/tools/standalonepublish/__init__.py similarity index 100% rename from pype/tools/standalonepublish/__init__.py rename to openpype/tools/standalonepublish/__init__.py diff --git a/pype/tools/standalonepublish/app.py b/openpype/tools/standalonepublish/app.py similarity index 98% rename from pype/tools/standalonepublish/app.py rename to openpype/tools/standalonepublish/app.py index 54cde9e322..7d25a8ca55 100644 --- a/pype/tools/standalonepublish/app.py +++ b/openpype/tools/standalonepublish/app.py @@ -11,9 +11,9 @@ from .widgets import ( ) from .widgets.constants import HOST_NAME from avalon import style -from pype.api import resources +from openpype.api import resources from avalon.api import AvalonMongoDB -from pype.modules import ModulesManager +from openpype.modules import ModulesManager class Window(QtWidgets.QDialog): diff --git a/pype/tools/standalonepublish/publish.py b/openpype/tools/standalonepublish/publish.py similarity index 93% rename from pype/tools/standalonepublish/publish.py rename to openpype/tools/standalonepublish/publish.py index cfa9f8b8e8..af269c4381 100644 --- a/pype/tools/standalonepublish/publish.py +++ b/openpype/tools/standalonepublish/publish.py @@ -1,14 +1,14 @@ import os import sys -import pype +import openpype import pyblish.api def main(env): from avalon.tools import publish # Registers pype's Global pyblish plugins - pype.install() + openpype.install() # Register additional paths addition_paths_str = env.get("PUBLISH_PATHS") or "" diff --git a/pype/tools/standalonepublish/widgets/__init__.py b/openpype/tools/standalonepublish/widgets/__init__.py similarity index 100% rename from pype/tools/standalonepublish/widgets/__init__.py rename to openpype/tools/standalonepublish/widgets/__init__.py diff --git a/pype/tools/standalonepublish/widgets/constants.py b/openpype/tools/standalonepublish/widgets/constants.py similarity index 100% rename from pype/tools/standalonepublish/widgets/constants.py rename to openpype/tools/standalonepublish/widgets/constants.py diff --git a/pype/tools/standalonepublish/widgets/model_asset.py b/openpype/tools/standalonepublish/widgets/model_asset.py similarity index 100% rename from pype/tools/standalonepublish/widgets/model_asset.py rename to openpype/tools/standalonepublish/widgets/model_asset.py diff --git a/pype/tools/standalonepublish/widgets/model_filter_proxy_exact_match.py b/openpype/tools/standalonepublish/widgets/model_filter_proxy_exact_match.py similarity index 100% rename from pype/tools/standalonepublish/widgets/model_filter_proxy_exact_match.py rename to openpype/tools/standalonepublish/widgets/model_filter_proxy_exact_match.py diff --git a/pype/tools/standalonepublish/widgets/model_filter_proxy_recursive_sort.py b/openpype/tools/standalonepublish/widgets/model_filter_proxy_recursive_sort.py similarity index 100% rename from pype/tools/standalonepublish/widgets/model_filter_proxy_recursive_sort.py rename to openpype/tools/standalonepublish/widgets/model_filter_proxy_recursive_sort.py diff --git a/pype/tools/standalonepublish/widgets/model_node.py b/openpype/tools/standalonepublish/widgets/model_node.py similarity index 100% rename from pype/tools/standalonepublish/widgets/model_node.py rename to openpype/tools/standalonepublish/widgets/model_node.py diff --git a/pype/tools/standalonepublish/widgets/model_tasks_template.py b/openpype/tools/standalonepublish/widgets/model_tasks_template.py similarity index 100% rename from pype/tools/standalonepublish/widgets/model_tasks_template.py rename to openpype/tools/standalonepublish/widgets/model_tasks_template.py diff --git a/pype/tools/standalonepublish/widgets/model_tree.py b/openpype/tools/standalonepublish/widgets/model_tree.py similarity index 100% rename from pype/tools/standalonepublish/widgets/model_tree.py rename to openpype/tools/standalonepublish/widgets/model_tree.py diff --git a/pype/tools/standalonepublish/widgets/model_tree_view_deselectable.py b/openpype/tools/standalonepublish/widgets/model_tree_view_deselectable.py similarity index 100% rename from pype/tools/standalonepublish/widgets/model_tree_view_deselectable.py rename to openpype/tools/standalonepublish/widgets/model_tree_view_deselectable.py diff --git a/pype/tools/standalonepublish/widgets/resources/__init__.py b/openpype/tools/standalonepublish/widgets/resources/__init__.py similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/__init__.py rename to openpype/tools/standalonepublish/widgets/resources/__init__.py diff --git a/pype/tools/standalonepublish/widgets/resources/edit.svg b/openpype/tools/standalonepublish/widgets/resources/edit.svg similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/edit.svg rename to openpype/tools/standalonepublish/widgets/resources/edit.svg diff --git a/pype/tools/standalonepublish/widgets/resources/file.png b/openpype/tools/standalonepublish/widgets/resources/file.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/file.png rename to openpype/tools/standalonepublish/widgets/resources/file.png diff --git a/pype/tools/standalonepublish/widgets/resources/files.png b/openpype/tools/standalonepublish/widgets/resources/files.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/files.png rename to openpype/tools/standalonepublish/widgets/resources/files.png diff --git a/pype/tools/standalonepublish/widgets/resources/houdini.png b/openpype/tools/standalonepublish/widgets/resources/houdini.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/houdini.png rename to openpype/tools/standalonepublish/widgets/resources/houdini.png diff --git a/pype/tools/standalonepublish/widgets/resources/image_file.png b/openpype/tools/standalonepublish/widgets/resources/image_file.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/image_file.png rename to openpype/tools/standalonepublish/widgets/resources/image_file.png diff --git a/pype/tools/standalonepublish/widgets/resources/image_files.png b/openpype/tools/standalonepublish/widgets/resources/image_files.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/image_files.png rename to openpype/tools/standalonepublish/widgets/resources/image_files.png diff --git a/pype/tools/standalonepublish/widgets/resources/information.svg b/openpype/tools/standalonepublish/widgets/resources/information.svg similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/information.svg rename to openpype/tools/standalonepublish/widgets/resources/information.svg diff --git a/pype/tools/standalonepublish/widgets/resources/maya.png b/openpype/tools/standalonepublish/widgets/resources/maya.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/maya.png rename to openpype/tools/standalonepublish/widgets/resources/maya.png diff --git a/pype/tools/standalonepublish/widgets/resources/menu.png b/openpype/tools/standalonepublish/widgets/resources/menu.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/menu.png rename to openpype/tools/standalonepublish/widgets/resources/menu.png diff --git a/pype/tools/standalonepublish/widgets/resources/menu_disabled.png b/openpype/tools/standalonepublish/widgets/resources/menu_disabled.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/menu_disabled.png rename to openpype/tools/standalonepublish/widgets/resources/menu_disabled.png diff --git a/pype/tools/standalonepublish/widgets/resources/menu_hover.png b/openpype/tools/standalonepublish/widgets/resources/menu_hover.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/menu_hover.png rename to openpype/tools/standalonepublish/widgets/resources/menu_hover.png diff --git a/pype/tools/standalonepublish/widgets/resources/menu_pressed.png b/openpype/tools/standalonepublish/widgets/resources/menu_pressed.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/menu_pressed.png rename to openpype/tools/standalonepublish/widgets/resources/menu_pressed.png diff --git a/pype/tools/standalonepublish/widgets/resources/menu_pressed_hover.png b/openpype/tools/standalonepublish/widgets/resources/menu_pressed_hover.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/menu_pressed_hover.png rename to openpype/tools/standalonepublish/widgets/resources/menu_pressed_hover.png diff --git a/pype/tools/standalonepublish/widgets/resources/nuke.png b/openpype/tools/standalonepublish/widgets/resources/nuke.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/nuke.png rename to openpype/tools/standalonepublish/widgets/resources/nuke.png diff --git a/pype/tools/standalonepublish/widgets/resources/premiere.png b/openpype/tools/standalonepublish/widgets/resources/premiere.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/premiere.png rename to openpype/tools/standalonepublish/widgets/resources/premiere.png diff --git a/pype/tools/standalonepublish/widgets/resources/trash.png b/openpype/tools/standalonepublish/widgets/resources/trash.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/trash.png rename to openpype/tools/standalonepublish/widgets/resources/trash.png diff --git a/pype/tools/standalonepublish/widgets/resources/trash_disabled.png b/openpype/tools/standalonepublish/widgets/resources/trash_disabled.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/trash_disabled.png rename to openpype/tools/standalonepublish/widgets/resources/trash_disabled.png diff --git a/pype/tools/standalonepublish/widgets/resources/trash_hover.png b/openpype/tools/standalonepublish/widgets/resources/trash_hover.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/trash_hover.png rename to openpype/tools/standalonepublish/widgets/resources/trash_hover.png diff --git a/pype/tools/standalonepublish/widgets/resources/trash_pressed.png b/openpype/tools/standalonepublish/widgets/resources/trash_pressed.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/trash_pressed.png rename to openpype/tools/standalonepublish/widgets/resources/trash_pressed.png diff --git a/pype/tools/standalonepublish/widgets/resources/trash_pressed_hover.png b/openpype/tools/standalonepublish/widgets/resources/trash_pressed_hover.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/trash_pressed_hover.png rename to openpype/tools/standalonepublish/widgets/resources/trash_pressed_hover.png diff --git a/pype/tools/standalonepublish/widgets/resources/video_file.png b/openpype/tools/standalonepublish/widgets/resources/video_file.png similarity index 100% rename from pype/tools/standalonepublish/widgets/resources/video_file.png rename to openpype/tools/standalonepublish/widgets/resources/video_file.png diff --git a/pype/tools/standalonepublish/widgets/widget_asset.py b/openpype/tools/standalonepublish/widgets/widget_asset.py similarity index 100% rename from pype/tools/standalonepublish/widgets/widget_asset.py rename to openpype/tools/standalonepublish/widgets/widget_asset.py diff --git a/pype/tools/standalonepublish/widgets/widget_component_item.py b/openpype/tools/standalonepublish/widgets/widget_component_item.py similarity index 100% rename from pype/tools/standalonepublish/widgets/widget_component_item.py rename to openpype/tools/standalonepublish/widgets/widget_component_item.py diff --git a/pype/tools/standalonepublish/widgets/widget_components.py b/openpype/tools/standalonepublish/widgets/widget_components.py similarity index 99% rename from pype/tools/standalonepublish/widgets/widget_components.py rename to openpype/tools/standalonepublish/widgets/widget_components.py index d09c12f0ab..e6682d97aa 100644 --- a/pype/tools/standalonepublish/widgets/widget_components.py +++ b/openpype/tools/standalonepublish/widgets/widget_components.py @@ -8,8 +8,8 @@ from Qt import QtWidgets, QtCore from . import DropDataFrame from .constants import HOST_NAME from avalon import io -from pype.api import execute, Logger -from pype.lib import ( +from openpype.api import execute, Logger +from openpype.lib import ( get_pype_execute_args, apply_project_environments_value ) diff --git a/pype/tools/standalonepublish/widgets/widget_components_list.py b/openpype/tools/standalonepublish/widgets/widget_components_list.py similarity index 100% rename from pype/tools/standalonepublish/widgets/widget_components_list.py rename to openpype/tools/standalonepublish/widgets/widget_components_list.py diff --git a/pype/tools/standalonepublish/widgets/widget_drop_empty.py b/openpype/tools/standalonepublish/widgets/widget_drop_empty.py similarity index 100% rename from pype/tools/standalonepublish/widgets/widget_drop_empty.py rename to openpype/tools/standalonepublish/widgets/widget_drop_empty.py diff --git a/pype/tools/standalonepublish/widgets/widget_drop_frame.py b/openpype/tools/standalonepublish/widgets/widget_drop_frame.py similarity index 99% rename from pype/tools/standalonepublish/widgets/widget_drop_frame.py rename to openpype/tools/standalonepublish/widgets/widget_drop_frame.py index 339093cf73..63dcb82e83 100644 --- a/pype/tools/standalonepublish/widgets/widget_drop_frame.py +++ b/openpype/tools/standalonepublish/widgets/widget_drop_frame.py @@ -3,7 +3,7 @@ import re import json import clique import subprocess -import pype.lib +import openpype.lib from Qt import QtWidgets, QtCore from . import DropEmpty, ComponentsList, ComponentItem @@ -264,7 +264,7 @@ class DropDataFrame(QtWidgets.QFrame): self._process_data(data) def load_data_with_probe(self, filepath): - ffprobe_path = pype.lib.get_ffmpeg_tool_path("ffprobe") + ffprobe_path = openpype.lib.get_ffmpeg_tool_path("ffprobe") args = [ "\"{}\"".format(ffprobe_path), '-v', 'quiet', diff --git a/pype/tools/standalonepublish/widgets/widget_family.py b/openpype/tools/standalonepublish/widgets/widget_family.py similarity index 99% rename from pype/tools/standalonepublish/widgets/widget_family.py rename to openpype/tools/standalonepublish/widgets/widget_family.py index 3b590d3f97..50335e3109 100644 --- a/pype/tools/standalonepublish/widgets/widget_family.py +++ b/openpype/tools/standalonepublish/widgets/widget_family.py @@ -5,11 +5,11 @@ from Qt import QtWidgets, QtCore from . import HelpRole, FamilyRole, ExistsRole, PluginRole, PluginKeyRole from . import FamilyDescriptionWidget -from pype.api import ( +from openpype.api import ( get_project_settings, Creator ) -from pype.lib import TaskNotSetError +from openpype.lib import TaskNotSetError from avalon.tools.creator.app import SubsetAllowedSymbols diff --git a/pype/tools/standalonepublish/widgets/widget_family_desc.py b/openpype/tools/standalonepublish/widgets/widget_family_desc.py similarity index 100% rename from pype/tools/standalonepublish/widgets/widget_family_desc.py rename to openpype/tools/standalonepublish/widgets/widget_family_desc.py diff --git a/pype/tools/standalonepublish/widgets/widget_shadow.py b/openpype/tools/standalonepublish/widgets/widget_shadow.py similarity index 100% rename from pype/tools/standalonepublish/widgets/widget_shadow.py rename to openpype/tools/standalonepublish/widgets/widget_shadow.py diff --git a/pype/tools/texture_copy/app.py b/openpype/tools/texture_copy/app.py similarity index 98% rename from pype/tools/texture_copy/app.py rename to openpype/tools/texture_copy/app.py index ad8f239d2f..ceca98a082 100644 --- a/pype/tools/texture_copy/app.py +++ b/openpype/tools/texture_copy/app.py @@ -4,8 +4,8 @@ import click from avalon import io, api from pprint import pprint -from pype.lib import Terminal -from pype.api import Anatomy +from openpype.lib import Terminal +from openpype.api import Anatomy import shutil import speedcopy diff --git a/pype/tools/tray/__init__.py b/openpype/tools/tray/__init__.py similarity index 100% rename from pype/tools/tray/__init__.py rename to openpype/tools/tray/__init__.py diff --git a/pype/tools/tray/__main__.py b/openpype/tools/tray/__main__.py similarity index 100% rename from pype/tools/tray/__main__.py rename to openpype/tools/tray/__main__.py diff --git a/pype/tools/tray/pype_info_widget.py b/openpype/tools/tray/pype_info_widget.py similarity index 99% rename from pype/tools/tray/pype_info_widget.py rename to openpype/tools/tray/pype_info_widget.py index a4c52eb1d0..f5a66e6c78 100644 --- a/pype/tools/tray/pype_info_widget.py +++ b/openpype/tools/tray/pype_info_widget.py @@ -4,9 +4,9 @@ import collections from avalon import style from Qt import QtCore, QtGui, QtWidgets -from pype.api import resources -from pype.settings.lib import get_local_settings -from pype.lib.pype_info import ( +from openpype.api import resources +from openpype.settings.lib import get_local_settings +from openpype.lib.pype_info import ( get_all_current_info, get_pype_info, get_workstation_info, diff --git a/pype/tools/tray/pype_tray.py b/openpype/tools/tray/pype_tray.py similarity index 96% rename from pype/tools/tray/pype_tray.py rename to openpype/tools/tray/pype_tray.py index 0d3f729870..534c99bd90 100644 --- a/pype/tools/tray/pype_tray.py +++ b/openpype/tools/tray/pype_tray.py @@ -4,10 +4,10 @@ import sys import platform from avalon import style from Qt import QtCore, QtGui, QtWidgets -from pype.api import Logger, resources -from pype.modules import TrayModulesManager, ITrayService -from pype.settings.lib import get_system_settings -import pype.version +from openpype.api import Logger, resources +from openpype.modules import TrayModulesManager, ITrayService +from openpype.settings.lib import get_system_settings +import openpype.version from .pype_info_widget import PypeInfoWidget @@ -80,7 +80,7 @@ class TrayManager: subversion = os.environ.get("OPENPYPE_SUBVERSION") client_name = os.environ.get("OPENPYPE_CLIENT") - version_string = pype.version.__version__ + version_string = openpype.version.__version__ if subversion: version_string += " ({})".format(subversion) diff --git a/pype/tools/workfiles/README.md b/openpype/tools/workfiles/README.md similarity index 100% rename from pype/tools/workfiles/README.md rename to openpype/tools/workfiles/README.md diff --git a/pype/tools/workfiles/__init__.py b/openpype/tools/workfiles/__init__.py similarity index 100% rename from pype/tools/workfiles/__init__.py rename to openpype/tools/workfiles/__init__.py diff --git a/pype/tools/workfiles/app.py b/openpype/tools/workfiles/app.py similarity index 99% rename from pype/tools/workfiles/app.py rename to openpype/tools/workfiles/app.py index d058841462..c08f06066e 100644 --- a/pype/tools/workfiles/app.py +++ b/openpype/tools/workfiles/app.py @@ -18,7 +18,7 @@ from avalon.tools.delegates import PrettyTimeDelegate from .model import FilesModel from .view import FilesView -from pype.lib import ( +from openpype.lib import ( Anatomy, get_workdir, get_workfile_doc, diff --git a/pype/tools/workfiles/model.py b/openpype/tools/workfiles/model.py similarity index 100% rename from pype/tools/workfiles/model.py rename to openpype/tools/workfiles/model.py diff --git a/pype/tools/workfiles/view.py b/openpype/tools/workfiles/view.py similarity index 100% rename from pype/tools/workfiles/view.py rename to openpype/tools/workfiles/view.py diff --git a/pype/vendor/OpenHarmony/.gitattributes b/openpype/vendor/OpenHarmony/.gitattributes similarity index 100% rename from pype/vendor/OpenHarmony/.gitattributes rename to openpype/vendor/OpenHarmony/.gitattributes diff --git a/pype/vendor/OpenHarmony/.gitignore b/openpype/vendor/OpenHarmony/.gitignore similarity index 100% rename from pype/vendor/OpenHarmony/.gitignore rename to openpype/vendor/OpenHarmony/.gitignore diff --git a/pype/vendor/OpenHarmony/Install.bat b/openpype/vendor/OpenHarmony/Install.bat similarity index 100% rename from pype/vendor/OpenHarmony/Install.bat rename to openpype/vendor/OpenHarmony/Install.bat diff --git a/pype/vendor/OpenHarmony/LICENSE b/openpype/vendor/OpenHarmony/LICENSE similarity index 100% rename from pype/vendor/OpenHarmony/LICENSE rename to openpype/vendor/OpenHarmony/LICENSE diff --git a/pype/vendor/OpenHarmony/README.md b/openpype/vendor/OpenHarmony/README.md similarity index 100% rename from pype/vendor/OpenHarmony/README.md rename to openpype/vendor/OpenHarmony/README.md diff --git a/pype/vendor/OpenHarmony/build_doc.bat b/openpype/vendor/OpenHarmony/build_doc.bat similarity index 100% rename from pype/vendor/OpenHarmony/build_doc.bat rename to openpype/vendor/OpenHarmony/build_doc.bat diff --git a/pype/vendor/OpenHarmony/docs/$.html b/openpype/vendor/OpenHarmony/docs/$.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.html rename to openpype/vendor/OpenHarmony/docs/$.html diff --git a/pype/vendor/OpenHarmony/docs/$.oApp.html b/openpype/vendor/OpenHarmony/docs/$.oApp.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oApp.html rename to openpype/vendor/OpenHarmony/docs/$.oApp.html diff --git a/pype/vendor/OpenHarmony/docs/$.oArtLayer.html b/openpype/vendor/OpenHarmony/docs/$.oArtLayer.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oArtLayer.html rename to openpype/vendor/OpenHarmony/docs/$.oArtLayer.html diff --git a/pype/vendor/OpenHarmony/docs/$.oAttribute.html b/openpype/vendor/OpenHarmony/docs/$.oAttribute.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oAttribute.html rename to openpype/vendor/OpenHarmony/docs/$.oAttribute.html diff --git a/pype/vendor/OpenHarmony/docs/$.oBackdrop.html b/openpype/vendor/OpenHarmony/docs/$.oBackdrop.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oBackdrop.html rename to openpype/vendor/OpenHarmony/docs/$.oBackdrop.html diff --git a/pype/vendor/OpenHarmony/docs/$.oBox.html b/openpype/vendor/OpenHarmony/docs/$.oBox.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oBox.html rename to openpype/vendor/OpenHarmony/docs/$.oBox.html diff --git a/pype/vendor/OpenHarmony/docs/$.oColor.html b/openpype/vendor/OpenHarmony/docs/$.oColor.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oColor.html rename to openpype/vendor/OpenHarmony/docs/$.oColor.html diff --git a/pype/vendor/OpenHarmony/docs/$.oColorValue.html b/openpype/vendor/OpenHarmony/docs/$.oColorValue.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oColorValue.html rename to openpype/vendor/OpenHarmony/docs/$.oColorValue.html diff --git a/pype/vendor/OpenHarmony/docs/$.oColumn.html b/openpype/vendor/OpenHarmony/docs/$.oColumn.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oColumn.html rename to openpype/vendor/OpenHarmony/docs/$.oColumn.html diff --git a/pype/vendor/OpenHarmony/docs/$.oDatabase.html b/openpype/vendor/OpenHarmony/docs/$.oDatabase.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oDatabase.html rename to openpype/vendor/OpenHarmony/docs/$.oDatabase.html diff --git a/pype/vendor/OpenHarmony/docs/$.oDialog.Progress.html b/openpype/vendor/OpenHarmony/docs/$.oDialog.Progress.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oDialog.Progress.html rename to openpype/vendor/OpenHarmony/docs/$.oDialog.Progress.html diff --git a/pype/vendor/OpenHarmony/docs/$.oDialog.html b/openpype/vendor/OpenHarmony/docs/$.oDialog.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oDialog.html rename to openpype/vendor/OpenHarmony/docs/$.oDialog.html diff --git a/pype/vendor/OpenHarmony/docs/$.oDrawing.html b/openpype/vendor/OpenHarmony/docs/$.oDrawing.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oDrawing.html rename to openpype/vendor/OpenHarmony/docs/$.oDrawing.html diff --git a/pype/vendor/OpenHarmony/docs/$.oDrawingColumn.html b/openpype/vendor/OpenHarmony/docs/$.oDrawingColumn.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oDrawingColumn.html rename to openpype/vendor/OpenHarmony/docs/$.oDrawingColumn.html diff --git a/pype/vendor/OpenHarmony/docs/$.oDrawingNode.html b/openpype/vendor/OpenHarmony/docs/$.oDrawingNode.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oDrawingNode.html rename to openpype/vendor/OpenHarmony/docs/$.oDrawingNode.html diff --git a/pype/vendor/OpenHarmony/docs/$.oDynList.html b/openpype/vendor/OpenHarmony/docs/$.oDynList.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oDynList.html rename to openpype/vendor/OpenHarmony/docs/$.oDynList.html diff --git a/pype/vendor/OpenHarmony/docs/$.oElement.html b/openpype/vendor/OpenHarmony/docs/$.oElement.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oElement.html rename to openpype/vendor/OpenHarmony/docs/$.oElement.html diff --git a/pype/vendor/OpenHarmony/docs/$.oFile.html b/openpype/vendor/OpenHarmony/docs/$.oFile.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oFile.html rename to openpype/vendor/OpenHarmony/docs/$.oFile.html diff --git a/pype/vendor/OpenHarmony/docs/$.oFolder.html b/openpype/vendor/OpenHarmony/docs/$.oFolder.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oFolder.html rename to openpype/vendor/OpenHarmony/docs/$.oFolder.html diff --git a/pype/vendor/OpenHarmony/docs/$.oFrame.html b/openpype/vendor/OpenHarmony/docs/$.oFrame.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oFrame.html rename to openpype/vendor/OpenHarmony/docs/$.oFrame.html diff --git a/pype/vendor/OpenHarmony/docs/$.oGroupNode.html b/openpype/vendor/OpenHarmony/docs/$.oGroupNode.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oGroupNode.html rename to openpype/vendor/OpenHarmony/docs/$.oGroupNode.html diff --git a/pype/vendor/OpenHarmony/docs/$.oLink.html b/openpype/vendor/OpenHarmony/docs/$.oLink.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oLink.html rename to openpype/vendor/OpenHarmony/docs/$.oLink.html diff --git a/pype/vendor/OpenHarmony/docs/$.oLinkPath.html b/openpype/vendor/OpenHarmony/docs/$.oLinkPath.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oLinkPath.html rename to openpype/vendor/OpenHarmony/docs/$.oLinkPath.html diff --git a/pype/vendor/OpenHarmony/docs/$.oList.html b/openpype/vendor/OpenHarmony/docs/$.oList.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oList.html rename to openpype/vendor/OpenHarmony/docs/$.oList.html diff --git a/pype/vendor/OpenHarmony/docs/$.oMetadata.html b/openpype/vendor/OpenHarmony/docs/$.oMetadata.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oMetadata.html rename to openpype/vendor/OpenHarmony/docs/$.oMetadata.html diff --git a/pype/vendor/OpenHarmony/docs/$.oNetwork.html b/openpype/vendor/OpenHarmony/docs/$.oNetwork.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oNetwork.html rename to openpype/vendor/OpenHarmony/docs/$.oNetwork.html diff --git a/pype/vendor/OpenHarmony/docs/$.oNode.html b/openpype/vendor/OpenHarmony/docs/$.oNode.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oNode.html rename to openpype/vendor/OpenHarmony/docs/$.oNode.html diff --git a/pype/vendor/OpenHarmony/docs/$.oNodeLink.html b/openpype/vendor/OpenHarmony/docs/$.oNodeLink.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oNodeLink.html rename to openpype/vendor/OpenHarmony/docs/$.oNodeLink.html diff --git a/pype/vendor/OpenHarmony/docs/$.oPalette.html b/openpype/vendor/OpenHarmony/docs/$.oPalette.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oPalette.html rename to openpype/vendor/OpenHarmony/docs/$.oPalette.html diff --git a/pype/vendor/OpenHarmony/docs/$.oPathPoint.html b/openpype/vendor/OpenHarmony/docs/$.oPathPoint.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oPathPoint.html rename to openpype/vendor/OpenHarmony/docs/$.oPathPoint.html diff --git a/pype/vendor/OpenHarmony/docs/$.oPegNode.html b/openpype/vendor/OpenHarmony/docs/$.oPegNode.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oPegNode.html rename to openpype/vendor/OpenHarmony/docs/$.oPegNode.html diff --git a/pype/vendor/OpenHarmony/docs/$.oPieMenu.html b/openpype/vendor/OpenHarmony/docs/$.oPieMenu.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oPieMenu.html rename to openpype/vendor/OpenHarmony/docs/$.oPieMenu.html diff --git a/pype/vendor/OpenHarmony/docs/$.oPieSubMenu.html b/openpype/vendor/OpenHarmony/docs/$.oPieSubMenu.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oPieSubMenu.html rename to openpype/vendor/OpenHarmony/docs/$.oPieSubMenu.html diff --git a/pype/vendor/OpenHarmony/docs/$.oPoint.html b/openpype/vendor/OpenHarmony/docs/$.oPoint.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oPoint.html rename to openpype/vendor/OpenHarmony/docs/$.oPoint.html diff --git a/pype/vendor/OpenHarmony/docs/$.oPreference.html b/openpype/vendor/OpenHarmony/docs/$.oPreference.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oPreference.html rename to openpype/vendor/OpenHarmony/docs/$.oPreference.html diff --git a/pype/vendor/OpenHarmony/docs/$.oPreferences.html b/openpype/vendor/OpenHarmony/docs/$.oPreferences.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oPreferences.html rename to openpype/vendor/OpenHarmony/docs/$.oPreferences.html diff --git a/pype/vendor/OpenHarmony/docs/$.oProcess.html b/openpype/vendor/OpenHarmony/docs/$.oProcess.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oProcess.html rename to openpype/vendor/OpenHarmony/docs/$.oProcess.html diff --git a/pype/vendor/OpenHarmony/docs/$.oProgressDialog.html b/openpype/vendor/OpenHarmony/docs/$.oProgressDialog.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oProgressDialog.html rename to openpype/vendor/OpenHarmony/docs/$.oProgressDialog.html diff --git a/pype/vendor/OpenHarmony/docs/$.oScene.html b/openpype/vendor/OpenHarmony/docs/$.oScene.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oScene.html rename to openpype/vendor/OpenHarmony/docs/$.oScene.html diff --git a/pype/vendor/OpenHarmony/docs/$.oScriptButton.html b/openpype/vendor/OpenHarmony/docs/$.oScriptButton.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oScriptButton.html rename to openpype/vendor/OpenHarmony/docs/$.oScriptButton.html diff --git a/pype/vendor/OpenHarmony/docs/$.oShape.html b/openpype/vendor/OpenHarmony/docs/$.oShape.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oShape.html rename to openpype/vendor/OpenHarmony/docs/$.oShape.html diff --git a/pype/vendor/OpenHarmony/docs/$.oStencil.html b/openpype/vendor/OpenHarmony/docs/$.oStencil.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oStencil.html rename to openpype/vendor/OpenHarmony/docs/$.oStencil.html diff --git a/pype/vendor/OpenHarmony/docs/$.oThread.html b/openpype/vendor/OpenHarmony/docs/$.oThread.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oThread.html rename to openpype/vendor/OpenHarmony/docs/$.oThread.html diff --git a/pype/vendor/OpenHarmony/docs/$.oTimeline.html b/openpype/vendor/OpenHarmony/docs/$.oTimeline.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oTimeline.html rename to openpype/vendor/OpenHarmony/docs/$.oTimeline.html diff --git a/pype/vendor/OpenHarmony/docs/$.oTimelineLayer.html b/openpype/vendor/OpenHarmony/docs/$.oTimelineLayer.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oTimelineLayer.html rename to openpype/vendor/OpenHarmony/docs/$.oTimelineLayer.html diff --git a/pype/vendor/OpenHarmony/docs/$.oTool.html b/openpype/vendor/OpenHarmony/docs/$.oTool.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oTool.html rename to openpype/vendor/OpenHarmony/docs/$.oTool.html diff --git a/pype/vendor/OpenHarmony/docs/$.oToolbar.html b/openpype/vendor/OpenHarmony/docs/$.oToolbar.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oToolbar.html rename to openpype/vendor/OpenHarmony/docs/$.oToolbar.html diff --git a/pype/vendor/OpenHarmony/docs/$.oUtils.html b/openpype/vendor/OpenHarmony/docs/$.oUtils.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oUtils.html rename to openpype/vendor/OpenHarmony/docs/$.oUtils.html diff --git a/pype/vendor/OpenHarmony/docs/$.oXml.html b/openpype/vendor/OpenHarmony/docs/$.oXml.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/$.oXml.html rename to openpype/vendor/OpenHarmony/docs/$.oXml.html diff --git a/pype/vendor/OpenHarmony/docs/404.md b/openpype/vendor/OpenHarmony/docs/404.md similarity index 100% rename from pype/vendor/OpenHarmony/docs/404.md rename to openpype/vendor/OpenHarmony/docs/404.md diff --git a/pype/vendor/OpenHarmony/docs/NodeTypes.html b/openpype/vendor/OpenHarmony/docs/NodeTypes.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/NodeTypes.html rename to openpype/vendor/OpenHarmony/docs/NodeTypes.html diff --git a/pype/vendor/OpenHarmony/docs/actions.html b/openpype/vendor/OpenHarmony/docs/actions.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/actions.html rename to openpype/vendor/OpenHarmony/docs/actions.html diff --git a/pype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.eot b/openpype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from pype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.eot rename to openpype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.eot diff --git a/pype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.svg b/openpype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from pype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.svg rename to openpype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.svg diff --git a/pype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.ttf b/openpype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from pype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.ttf rename to openpype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.ttf diff --git a/pype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.woff b/openpype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from pype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.woff rename to openpype/vendor/OpenHarmony/docs/fonts/glyphicons-halflings-regular.woff diff --git a/pype/vendor/OpenHarmony/docs/global.html b/openpype/vendor/OpenHarmony/docs/global.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/global.html rename to openpype/vendor/OpenHarmony/docs/global.html diff --git a/pype/vendor/OpenHarmony/docs/index.html b/openpype/vendor/OpenHarmony/docs/index.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/index.html rename to openpype/vendor/OpenHarmony/docs/index.html diff --git a/pype/vendor/OpenHarmony/docs/preferences.html b/openpype/vendor/OpenHarmony/docs/preferences.html similarity index 100% rename from pype/vendor/OpenHarmony/docs/preferences.html rename to openpype/vendor/OpenHarmony/docs/preferences.html diff --git a/pype/vendor/OpenHarmony/docs/scripts/bootstrap.min.js b/openpype/vendor/OpenHarmony/docs/scripts/bootstrap.min.js similarity index 100% rename from pype/vendor/OpenHarmony/docs/scripts/bootstrap.min.js rename to openpype/vendor/OpenHarmony/docs/scripts/bootstrap.min.js diff --git a/pype/vendor/OpenHarmony/docs/scripts/jaguar.js b/openpype/vendor/OpenHarmony/docs/scripts/jaguar.js similarity index 100% rename from pype/vendor/OpenHarmony/docs/scripts/jaguar.js rename to openpype/vendor/OpenHarmony/docs/scripts/jaguar.js diff --git a/pype/vendor/OpenHarmony/docs/scripts/jquery.min.js b/openpype/vendor/OpenHarmony/docs/scripts/jquery.min.js similarity index 100% rename from pype/vendor/OpenHarmony/docs/scripts/jquery.min.js rename to openpype/vendor/OpenHarmony/docs/scripts/jquery.min.js diff --git a/pype/vendor/OpenHarmony/docs/scripts/jquery.min.map b/openpype/vendor/OpenHarmony/docs/scripts/jquery.min.map similarity index 100% rename from pype/vendor/OpenHarmony/docs/scripts/jquery.min.map rename to openpype/vendor/OpenHarmony/docs/scripts/jquery.min.map diff --git a/pype/vendor/OpenHarmony/docs/scripts/prettify/Apache-License-2.0.txt b/openpype/vendor/OpenHarmony/docs/scripts/prettify/Apache-License-2.0.txt similarity index 100% rename from pype/vendor/OpenHarmony/docs/scripts/prettify/Apache-License-2.0.txt rename to openpype/vendor/OpenHarmony/docs/scripts/prettify/Apache-License-2.0.txt diff --git a/pype/vendor/OpenHarmony/docs/scripts/prettify/lang-css.js b/openpype/vendor/OpenHarmony/docs/scripts/prettify/lang-css.js similarity index 100% rename from pype/vendor/OpenHarmony/docs/scripts/prettify/lang-css.js rename to openpype/vendor/OpenHarmony/docs/scripts/prettify/lang-css.js diff --git a/pype/vendor/OpenHarmony/docs/scripts/prettify/prettify.js b/openpype/vendor/OpenHarmony/docs/scripts/prettify/prettify.js similarity index 100% rename from pype/vendor/OpenHarmony/docs/scripts/prettify/prettify.js rename to openpype/vendor/OpenHarmony/docs/scripts/prettify/prettify.js diff --git a/pype/vendor/OpenHarmony/docs/scripts/underscore-min.js b/openpype/vendor/OpenHarmony/docs/scripts/underscore-min.js similarity index 100% rename from pype/vendor/OpenHarmony/docs/scripts/underscore-min.js rename to openpype/vendor/OpenHarmony/docs/scripts/underscore-min.js diff --git a/pype/vendor/OpenHarmony/docs/scripts/underscore-min.map b/openpype/vendor/OpenHarmony/docs/scripts/underscore-min.map similarity index 100% rename from pype/vendor/OpenHarmony/docs/scripts/underscore-min.map rename to openpype/vendor/OpenHarmony/docs/scripts/underscore-min.map diff --git a/pype/vendor/OpenHarmony/docs/styles/bootstrap.min.css b/openpype/vendor/OpenHarmony/docs/styles/bootstrap.min.css similarity index 100% rename from pype/vendor/OpenHarmony/docs/styles/bootstrap.min.css rename to openpype/vendor/OpenHarmony/docs/styles/bootstrap.min.css diff --git a/pype/vendor/OpenHarmony/docs/styles/jaguar.css b/openpype/vendor/OpenHarmony/docs/styles/jaguar.css similarity index 100% rename from pype/vendor/OpenHarmony/docs/styles/jaguar.css rename to openpype/vendor/OpenHarmony/docs/styles/jaguar.css diff --git a/pype/vendor/OpenHarmony/docs/styles/prettify-jsdoc.css b/openpype/vendor/OpenHarmony/docs/styles/prettify-jsdoc.css similarity index 100% rename from pype/vendor/OpenHarmony/docs/styles/prettify-jsdoc.css rename to openpype/vendor/OpenHarmony/docs/styles/prettify-jsdoc.css diff --git a/pype/vendor/OpenHarmony/docs/styles/prettify-tomorrow.css b/openpype/vendor/OpenHarmony/docs/styles/prettify-tomorrow.css similarity index 100% rename from pype/vendor/OpenHarmony/docs/styles/prettify-tomorrow.css rename to openpype/vendor/OpenHarmony/docs/styles/prettify-tomorrow.css diff --git a/pype/vendor/OpenHarmony/documentation.json b/openpype/vendor/OpenHarmony/documentation.json similarity index 100% rename from pype/vendor/OpenHarmony/documentation.json rename to openpype/vendor/OpenHarmony/documentation.json diff --git a/pype/vendor/OpenHarmony/install.sh b/openpype/vendor/OpenHarmony/install.sh similarity index 100% rename from pype/vendor/OpenHarmony/install.sh rename to openpype/vendor/OpenHarmony/install.sh diff --git a/pype/vendor/OpenHarmony/oH_DOM.jpg b/openpype/vendor/OpenHarmony/oH_DOM.jpg similarity index 100% rename from pype/vendor/OpenHarmony/oH_DOM.jpg rename to openpype/vendor/OpenHarmony/oH_DOM.jpg diff --git a/pype/vendor/OpenHarmony/openHarmony.js b/openpype/vendor/OpenHarmony/openHarmony.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony.js rename to openpype/vendor/OpenHarmony/openHarmony.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_actions.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_actions.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_actions.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_actions.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_application.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_application.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_application.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_application.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_attribute.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_attribute.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_attribute.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_attribute.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_backdrop.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_backdrop.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_backdrop.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_backdrop.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_color.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_color.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_color.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_color.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_column.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_column.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_column.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_column.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_database.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_database.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_database.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_database.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_dialog.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_dialog.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_dialog.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_dialog.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_drawing.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_drawing.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_drawing.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_drawing.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_element.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_element.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_element.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_element.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_file.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_file.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_file.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_file.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_frame.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_frame.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_frame.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_frame.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_list.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_list.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_list.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_list.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_math.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_math.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_math.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_math.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_metadata.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_metadata.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_metadata.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_metadata.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_misc.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_misc.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_misc.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_misc.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_network.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_network.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_network.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_network.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_node.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_node.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_node.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_node.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_nodeAttributes.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_nodeAttributes.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_nodeAttributes.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_nodeAttributes.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_nodeLink.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_nodeLink.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_nodeLink.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_nodeLink.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_palette.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_palette.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_palette.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_palette.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_path.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_path.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_path.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_path.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_preferencedoc.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_preferencedoc.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_preferencedoc.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_preferencedoc.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_preferences.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_preferences.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_preferences.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_preferences.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_scene.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_scene.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_scene.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_scene.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_threading.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_threading.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_threading.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_threading.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_timeline.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_timeline.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_timeline.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_timeline.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_tool.js b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_tool.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_tool.js rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_tool.js diff --git a/pype/vendor/OpenHarmony/openHarmony/openHarmony_toolInstall.ui b/openpype/vendor/OpenHarmony/openHarmony/openHarmony_toolInstall.ui similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony/openHarmony_toolInstall.ui rename to openpype/vendor/OpenHarmony/openHarmony/openHarmony_toolInstall.ui diff --git a/pype/vendor/OpenHarmony/openHarmony_install.js b/openpype/vendor/OpenHarmony/openHarmony_install.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony_install.js rename to openpype/vendor/OpenHarmony/openHarmony_install.js diff --git a/pype/vendor/OpenHarmony/openHarmony_tools.js b/openpype/vendor/OpenHarmony/openHarmony_tools.js similarity index 100% rename from pype/vendor/OpenHarmony/openHarmony_tools.js rename to openpype/vendor/OpenHarmony/openHarmony_tools.js diff --git a/pype/vendor/OpenHarmony/package.json b/openpype/vendor/OpenHarmony/package.json similarity index 100% rename from pype/vendor/OpenHarmony/package.json rename to openpype/vendor/OpenHarmony/package.json diff --git a/pype/vendor/OpenHarmony/reference/Reference_view_currentToolManager().txt b/openpype/vendor/OpenHarmony/reference/Reference_view_currentToolManager().txt similarity index 100% rename from pype/vendor/OpenHarmony/reference/Reference_view_currentToolManager().txt rename to openpype/vendor/OpenHarmony/reference/Reference_view_currentToolManager().txt diff --git a/pype/vendor/OpenHarmony/tbpackage.json b/openpype/vendor/OpenHarmony/tbpackage.json similarity index 100% rename from pype/vendor/OpenHarmony/tbpackage.json rename to openpype/vendor/OpenHarmony/tbpackage.json diff --git a/pype/vendor/OpenHarmony/tools/OpenHarmony_basic/INSTALL b/openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/INSTALL similarity index 100% rename from pype/vendor/OpenHarmony/tools/OpenHarmony_basic/INSTALL rename to openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/INSTALL diff --git a/pype/vendor/OpenHarmony/tools/OpenHarmony_basic/README b/openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/README similarity index 100% rename from pype/vendor/OpenHarmony/tools/OpenHarmony_basic/README rename to openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/README diff --git a/pype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_anim_tools.js b/openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_anim_tools.js similarity index 100% rename from pype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_anim_tools.js rename to openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_anim_tools.js diff --git a/pype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_basic_backdropPicker.ui b/openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_basic_backdropPicker.ui similarity index 100% rename from pype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_basic_backdropPicker.ui rename to openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_basic_backdropPicker.ui diff --git a/pype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_rigging_tools.js b/openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_rigging_tools.js similarity index 100% rename from pype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_rigging_tools.js rename to openpype/vendor/OpenHarmony/tools/OpenHarmony_basic/openHarmony_rigging_tools.js diff --git a/pype/vendor/__init__.py b/openpype/vendor/__init__.py similarity index 100% rename from pype/vendor/__init__.py rename to openpype/vendor/__init__.py diff --git a/pype/vendor/python/common/README.md b/openpype/vendor/python/common/README.md similarity index 100% rename from pype/vendor/python/common/README.md rename to openpype/vendor/python/common/README.md diff --git a/pype/vendor/python/common/capture.py b/openpype/vendor/python/common/capture.py similarity index 100% rename from pype/vendor/python/common/capture.py rename to openpype/vendor/python/common/capture.py diff --git a/pype/vendor/python/common/capture_gui/__init__.py b/openpype/vendor/python/common/capture_gui/__init__.py similarity index 100% rename from pype/vendor/python/common/capture_gui/__init__.py rename to openpype/vendor/python/common/capture_gui/__init__.py diff --git a/pype/vendor/python/common/capture_gui/accordion.py b/openpype/vendor/python/common/capture_gui/accordion.py similarity index 100% rename from pype/vendor/python/common/capture_gui/accordion.py rename to openpype/vendor/python/common/capture_gui/accordion.py diff --git a/pype/vendor/python/common/capture_gui/app.py b/openpype/vendor/python/common/capture_gui/app.py similarity index 100% rename from pype/vendor/python/common/capture_gui/app.py rename to openpype/vendor/python/common/capture_gui/app.py diff --git a/pype/vendor/python/common/capture_gui/colorpicker.py b/openpype/vendor/python/common/capture_gui/colorpicker.py similarity index 100% rename from pype/vendor/python/common/capture_gui/colorpicker.py rename to openpype/vendor/python/common/capture_gui/colorpicker.py diff --git a/pype/vendor/python/common/capture_gui/lib.py b/openpype/vendor/python/common/capture_gui/lib.py similarity index 100% rename from pype/vendor/python/common/capture_gui/lib.py rename to openpype/vendor/python/common/capture_gui/lib.py diff --git a/pype/vendor/python/common/capture_gui/plugin.py b/openpype/vendor/python/common/capture_gui/plugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugin.py rename to openpype/vendor/python/common/capture_gui/plugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/cameraplugin.py b/openpype/vendor/python/common/capture_gui/plugins/cameraplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/cameraplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/cameraplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/codecplugin.py b/openpype/vendor/python/common/capture_gui/plugins/codecplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/codecplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/codecplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/defaultoptionsplugin.py b/openpype/vendor/python/common/capture_gui/plugins/defaultoptionsplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/defaultoptionsplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/defaultoptionsplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/displayplugin.py b/openpype/vendor/python/common/capture_gui/plugins/displayplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/displayplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/displayplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/genericplugin.py b/openpype/vendor/python/common/capture_gui/plugins/genericplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/genericplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/genericplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/ioplugin.py b/openpype/vendor/python/common/capture_gui/plugins/ioplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/ioplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/ioplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/panzoomplugin.py b/openpype/vendor/python/common/capture_gui/plugins/panzoomplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/panzoomplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/panzoomplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/rendererplugin.py b/openpype/vendor/python/common/capture_gui/plugins/rendererplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/rendererplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/rendererplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/resolutionplugin.py b/openpype/vendor/python/common/capture_gui/plugins/resolutionplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/resolutionplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/resolutionplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/timeplugin.py b/openpype/vendor/python/common/capture_gui/plugins/timeplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/timeplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/timeplugin.py diff --git a/pype/vendor/python/common/capture_gui/plugins/viewportplugin.py b/openpype/vendor/python/common/capture_gui/plugins/viewportplugin.py similarity index 100% rename from pype/vendor/python/common/capture_gui/plugins/viewportplugin.py rename to openpype/vendor/python/common/capture_gui/plugins/viewportplugin.py diff --git a/pype/vendor/python/common/capture_gui/presets.py b/openpype/vendor/python/common/capture_gui/presets.py similarity index 100% rename from pype/vendor/python/common/capture_gui/presets.py rename to openpype/vendor/python/common/capture_gui/presets.py diff --git a/pype/vendor/python/common/capture_gui/resources/config.png b/openpype/vendor/python/common/capture_gui/resources/config.png similarity index 100% rename from pype/vendor/python/common/capture_gui/resources/config.png rename to openpype/vendor/python/common/capture_gui/resources/config.png diff --git a/pype/vendor/python/common/capture_gui/resources/import.png b/openpype/vendor/python/common/capture_gui/resources/import.png similarity index 100% rename from pype/vendor/python/common/capture_gui/resources/import.png rename to openpype/vendor/python/common/capture_gui/resources/import.png diff --git a/pype/vendor/python/common/capture_gui/resources/reset.png b/openpype/vendor/python/common/capture_gui/resources/reset.png similarity index 100% rename from pype/vendor/python/common/capture_gui/resources/reset.png rename to openpype/vendor/python/common/capture_gui/resources/reset.png diff --git a/pype/vendor/python/common/capture_gui/resources/save.png b/openpype/vendor/python/common/capture_gui/resources/save.png similarity index 100% rename from pype/vendor/python/common/capture_gui/resources/save.png rename to openpype/vendor/python/common/capture_gui/resources/save.png diff --git a/pype/vendor/python/common/capture_gui/tokens.py b/openpype/vendor/python/common/capture_gui/tokens.py similarity index 100% rename from pype/vendor/python/common/capture_gui/tokens.py rename to openpype/vendor/python/common/capture_gui/tokens.py diff --git a/pype/vendor/python/common/capture_gui/vendor/Qt.py b/openpype/vendor/python/common/capture_gui/vendor/Qt.py similarity index 100% rename from pype/vendor/python/common/capture_gui/vendor/Qt.py rename to openpype/vendor/python/common/capture_gui/vendor/Qt.py diff --git a/pype/vendor/python/common/capture_gui/vendor/__init__.py b/openpype/vendor/python/common/capture_gui/vendor/__init__.py similarity index 100% rename from pype/vendor/python/common/capture_gui/vendor/__init__.py rename to openpype/vendor/python/common/capture_gui/vendor/__init__.py diff --git a/pype/vendor/python/common/capture_gui/version.py b/openpype/vendor/python/common/capture_gui/version.py similarity index 100% rename from pype/vendor/python/common/capture_gui/version.py rename to openpype/vendor/python/common/capture_gui/version.py diff --git a/pype/vendor/python/common/pysync.py b/openpype/vendor/python/common/pysync.py similarity index 100% rename from pype/vendor/python/common/pysync.py rename to openpype/vendor/python/common/pysync.py diff --git a/pype/vendor/python/python_2/README.md b/openpype/vendor/python/python_2/README.md similarity index 100% rename from pype/vendor/python/python_2/README.md rename to openpype/vendor/python/python_2/README.md diff --git a/pype/vendor/python/python_2/opentimelineio/__init__.py b/openpype/vendor/python/python_2/opentimelineio/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/__init__.py rename to openpype/vendor/python/python_2/opentimelineio/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio/adapters/__init__.py b/openpype/vendor/python/python_2/opentimelineio/adapters/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/adapters/__init__.py rename to openpype/vendor/python/python_2/opentimelineio/adapters/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio/adapters/adapter.py b/openpype/vendor/python/python_2/opentimelineio/adapters/adapter.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/adapters/adapter.py rename to openpype/vendor/python/python_2/opentimelineio/adapters/adapter.py diff --git a/pype/vendor/python/python_2/opentimelineio/adapters/builtin_adapters.plugin_manifest.json b/openpype/vendor/python/python_2/opentimelineio/adapters/builtin_adapters.plugin_manifest.json similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/adapters/builtin_adapters.plugin_manifest.json rename to openpype/vendor/python/python_2/opentimelineio/adapters/builtin_adapters.plugin_manifest.json diff --git a/pype/vendor/python/python_2/opentimelineio/adapters/cmx_3600.py b/openpype/vendor/python/python_2/opentimelineio/adapters/cmx_3600.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/adapters/cmx_3600.py rename to openpype/vendor/python/python_2/opentimelineio/adapters/cmx_3600.py diff --git a/pype/vendor/python/python_2/opentimelineio/adapters/fcp_xml.py b/openpype/vendor/python/python_2/opentimelineio/adapters/fcp_xml.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/adapters/fcp_xml.py rename to openpype/vendor/python/python_2/opentimelineio/adapters/fcp_xml.py diff --git a/pype/vendor/python/python_2/opentimelineio/adapters/otio_json.py b/openpype/vendor/python/python_2/opentimelineio/adapters/otio_json.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/adapters/otio_json.py rename to openpype/vendor/python/python_2/opentimelineio/adapters/otio_json.py diff --git a/pype/vendor/python/python_2/opentimelineio/algorithms/__init__.py b/openpype/vendor/python/python_2/opentimelineio/algorithms/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/algorithms/__init__.py rename to openpype/vendor/python/python_2/opentimelineio/algorithms/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio/algorithms/filter.py b/openpype/vendor/python/python_2/opentimelineio/algorithms/filter.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/algorithms/filter.py rename to openpype/vendor/python/python_2/opentimelineio/algorithms/filter.py diff --git a/pype/vendor/python/python_2/opentimelineio/algorithms/stack_algo.py b/openpype/vendor/python/python_2/opentimelineio/algorithms/stack_algo.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/algorithms/stack_algo.py rename to openpype/vendor/python/python_2/opentimelineio/algorithms/stack_algo.py diff --git a/pype/vendor/python/python_2/opentimelineio/algorithms/timeline_algo.py b/openpype/vendor/python/python_2/opentimelineio/algorithms/timeline_algo.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/algorithms/timeline_algo.py rename to openpype/vendor/python/python_2/opentimelineio/algorithms/timeline_algo.py diff --git a/pype/vendor/python/python_2/opentimelineio/algorithms/track_algo.py b/openpype/vendor/python/python_2/opentimelineio/algorithms/track_algo.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/algorithms/track_algo.py rename to openpype/vendor/python/python_2/opentimelineio/algorithms/track_algo.py diff --git a/pype/vendor/python/python_2/opentimelineio/console/__init__.py b/openpype/vendor/python/python_2/opentimelineio/console/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/console/__init__.py rename to openpype/vendor/python/python_2/opentimelineio/console/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio/console/autogen_serialized_datamodel.py b/openpype/vendor/python/python_2/opentimelineio/console/autogen_serialized_datamodel.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/console/autogen_serialized_datamodel.py rename to openpype/vendor/python/python_2/opentimelineio/console/autogen_serialized_datamodel.py diff --git a/pype/vendor/python/python_2/opentimelineio/console/console_utils.py b/openpype/vendor/python/python_2/opentimelineio/console/console_utils.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/console/console_utils.py rename to openpype/vendor/python/python_2/opentimelineio/console/console_utils.py diff --git a/pype/vendor/python/python_2/opentimelineio/console/otiocat.py b/openpype/vendor/python/python_2/opentimelineio/console/otiocat.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/console/otiocat.py rename to openpype/vendor/python/python_2/opentimelineio/console/otiocat.py diff --git a/pype/vendor/python/python_2/opentimelineio/console/otioconvert.py b/openpype/vendor/python/python_2/opentimelineio/console/otioconvert.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/console/otioconvert.py rename to openpype/vendor/python/python_2/opentimelineio/console/otioconvert.py diff --git a/pype/vendor/python/python_2/opentimelineio/console/otiostat.py b/openpype/vendor/python/python_2/opentimelineio/console/otiostat.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/console/otiostat.py rename to openpype/vendor/python/python_2/opentimelineio/console/otiostat.py diff --git a/pype/vendor/python/python_2/opentimelineio/core/__init__.py b/openpype/vendor/python/python_2/opentimelineio/core/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/core/__init__.py rename to openpype/vendor/python/python_2/opentimelineio/core/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio/core/composable.py b/openpype/vendor/python/python_2/opentimelineio/core/composable.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/core/composable.py rename to openpype/vendor/python/python_2/opentimelineio/core/composable.py diff --git a/pype/vendor/python/python_2/opentimelineio/core/composition.py b/openpype/vendor/python/python_2/opentimelineio/core/composition.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/core/composition.py rename to openpype/vendor/python/python_2/opentimelineio/core/composition.py diff --git a/pype/vendor/python/python_2/opentimelineio/core/item.py b/openpype/vendor/python/python_2/opentimelineio/core/item.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/core/item.py rename to openpype/vendor/python/python_2/opentimelineio/core/item.py diff --git a/pype/vendor/python/python_2/opentimelineio/core/json_serializer.py b/openpype/vendor/python/python_2/opentimelineio/core/json_serializer.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/core/json_serializer.py rename to openpype/vendor/python/python_2/opentimelineio/core/json_serializer.py diff --git a/pype/vendor/python/python_2/opentimelineio/core/media_reference.py b/openpype/vendor/python/python_2/opentimelineio/core/media_reference.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/core/media_reference.py rename to openpype/vendor/python/python_2/opentimelineio/core/media_reference.py diff --git a/pype/vendor/python/python_2/opentimelineio/core/serializable_object.py b/openpype/vendor/python/python_2/opentimelineio/core/serializable_object.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/core/serializable_object.py rename to openpype/vendor/python/python_2/opentimelineio/core/serializable_object.py diff --git a/pype/vendor/python/python_2/opentimelineio/core/type_registry.py b/openpype/vendor/python/python_2/opentimelineio/core/type_registry.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/core/type_registry.py rename to openpype/vendor/python/python_2/opentimelineio/core/type_registry.py diff --git a/pype/vendor/python/python_2/opentimelineio/core/unknown_schema.py b/openpype/vendor/python/python_2/opentimelineio/core/unknown_schema.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/core/unknown_schema.py rename to openpype/vendor/python/python_2/opentimelineio/core/unknown_schema.py diff --git a/pype/vendor/python/python_2/opentimelineio/exceptions.py b/openpype/vendor/python/python_2/opentimelineio/exceptions.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/exceptions.py rename to openpype/vendor/python/python_2/opentimelineio/exceptions.py diff --git a/pype/vendor/python/python_2/opentimelineio/hooks.py b/openpype/vendor/python/python_2/opentimelineio/hooks.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/hooks.py rename to openpype/vendor/python/python_2/opentimelineio/hooks.py diff --git a/pype/vendor/python/python_2/opentimelineio/media_linker.py b/openpype/vendor/python/python_2/opentimelineio/media_linker.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/media_linker.py rename to openpype/vendor/python/python_2/opentimelineio/media_linker.py diff --git a/pype/vendor/python/python_2/opentimelineio/opentime.py b/openpype/vendor/python/python_2/opentimelineio/opentime.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/opentime.py rename to openpype/vendor/python/python_2/opentimelineio/opentime.py diff --git a/pype/vendor/python/python_2/opentimelineio/plugins/__init__.py b/openpype/vendor/python/python_2/opentimelineio/plugins/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/plugins/__init__.py rename to openpype/vendor/python/python_2/opentimelineio/plugins/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio/plugins/manifest.py b/openpype/vendor/python/python_2/opentimelineio/plugins/manifest.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/plugins/manifest.py rename to openpype/vendor/python/python_2/opentimelineio/plugins/manifest.py diff --git a/pype/vendor/python/python_2/opentimelineio/plugins/python_plugin.py b/openpype/vendor/python/python_2/opentimelineio/plugins/python_plugin.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/plugins/python_plugin.py rename to openpype/vendor/python/python_2/opentimelineio/plugins/python_plugin.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/__init__.py b/openpype/vendor/python/python_2/opentimelineio/schema/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/__init__.py rename to openpype/vendor/python/python_2/opentimelineio/schema/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/clip.py b/openpype/vendor/python/python_2/opentimelineio/schema/clip.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/clip.py rename to openpype/vendor/python/python_2/opentimelineio/schema/clip.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/effect.py b/openpype/vendor/python/python_2/opentimelineio/schema/effect.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/effect.py rename to openpype/vendor/python/python_2/opentimelineio/schema/effect.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/external_reference.py b/openpype/vendor/python/python_2/opentimelineio/schema/external_reference.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/external_reference.py rename to openpype/vendor/python/python_2/opentimelineio/schema/external_reference.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/gap.py b/openpype/vendor/python/python_2/opentimelineio/schema/gap.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/gap.py rename to openpype/vendor/python/python_2/opentimelineio/schema/gap.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/generator_reference.py b/openpype/vendor/python/python_2/opentimelineio/schema/generator_reference.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/generator_reference.py rename to openpype/vendor/python/python_2/opentimelineio/schema/generator_reference.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/marker.py b/openpype/vendor/python/python_2/opentimelineio/schema/marker.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/marker.py rename to openpype/vendor/python/python_2/opentimelineio/schema/marker.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/missing_reference.py b/openpype/vendor/python/python_2/opentimelineio/schema/missing_reference.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/missing_reference.py rename to openpype/vendor/python/python_2/opentimelineio/schema/missing_reference.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/schemadef.py b/openpype/vendor/python/python_2/opentimelineio/schema/schemadef.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/schemadef.py rename to openpype/vendor/python/python_2/opentimelineio/schema/schemadef.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/serializable_collection.py b/openpype/vendor/python/python_2/opentimelineio/schema/serializable_collection.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/serializable_collection.py rename to openpype/vendor/python/python_2/opentimelineio/schema/serializable_collection.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/stack.py b/openpype/vendor/python/python_2/opentimelineio/schema/stack.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/stack.py rename to openpype/vendor/python/python_2/opentimelineio/schema/stack.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/timeline.py b/openpype/vendor/python/python_2/opentimelineio/schema/timeline.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/timeline.py rename to openpype/vendor/python/python_2/opentimelineio/schema/timeline.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/track.py b/openpype/vendor/python/python_2/opentimelineio/schema/track.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/track.py rename to openpype/vendor/python/python_2/opentimelineio/schema/track.py diff --git a/pype/vendor/python/python_2/opentimelineio/schema/transition.py b/openpype/vendor/python/python_2/opentimelineio/schema/transition.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schema/transition.py rename to openpype/vendor/python/python_2/opentimelineio/schema/transition.py diff --git a/pype/vendor/python/python_2/opentimelineio/schemadef/__init__.py b/openpype/vendor/python/python_2/opentimelineio/schemadef/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/schemadef/__init__.py rename to openpype/vendor/python/python_2/opentimelineio/schemadef/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio/test_utils.py b/openpype/vendor/python/python_2/opentimelineio/test_utils.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio/test_utils.py rename to openpype/vendor/python/python_2/opentimelineio/test_utils.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/__init__.py b/openpype/vendor/python/python_2/opentimelineio_contrib/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/__init__.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/__init__.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/__init__.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/aaf_adapter/__init__.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/aaf_adapter/__init__.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/aaf_adapter/__init__.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/aaf_adapter/__init__.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/advanced_authoring_format.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/advanced_authoring_format.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/advanced_authoring_format.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/advanced_authoring_format.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/ale.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/ale.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/ale.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/ale.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/burnins.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/burnins.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/burnins.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/burnins.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/contrib_adapters.plugin_manifest.json b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/contrib_adapters.plugin_manifest.json similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/contrib_adapters.plugin_manifest.json rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/contrib_adapters.plugin_manifest.json diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/extern_maya_sequencer.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/extern_maya_sequencer.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/extern_maya_sequencer.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/extern_maya_sequencer.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/extern_rv.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/extern_rv.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/extern_rv.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/extern_rv.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/fcpx_xml.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/fcpx_xml.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/fcpx_xml.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/fcpx_xml.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/ffmpeg_burnins.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/ffmpeg_burnins.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/ffmpeg_burnins.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/ffmpeg_burnins.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/hls_playlist.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/hls_playlist.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/hls_playlist.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/hls_playlist.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/maya_sequencer.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/maya_sequencer.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/maya_sequencer.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/maya_sequencer.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/rv.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/rv.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/rv.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/rv.py diff --git a/pype/vendor/python/python_2/opentimelineio_contrib/adapters/xges.py b/openpype/vendor/python/python_2/opentimelineio_contrib/adapters/xges.py similarity index 100% rename from pype/vendor/python/python_2/opentimelineio_contrib/adapters/xges.py rename to openpype/vendor/python/python_2/opentimelineio_contrib/adapters/xges.py diff --git a/pype/vendor/python/python_2/pkg_resources/__init__.py b/openpype/vendor/python/python_2/pkg_resources/__init__.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/__init__.py rename to openpype/vendor/python/python_2/pkg_resources/__init__.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/__init__.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/__init__.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/__init__.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/__init__.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/appdirs.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/appdirs.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/appdirs.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/appdirs.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/packaging/__about__.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/__about__.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/packaging/__about__.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/__about__.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/packaging/__init__.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/__init__.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/packaging/__init__.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/__init__.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/packaging/_compat.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/_compat.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/packaging/_compat.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/_compat.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/packaging/_structures.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/_structures.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/packaging/_structures.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/_structures.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/packaging/markers.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/markers.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/packaging/markers.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/markers.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/packaging/requirements.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/requirements.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/packaging/requirements.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/requirements.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/packaging/specifiers.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/specifiers.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/packaging/specifiers.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/specifiers.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/packaging/utils.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/utils.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/packaging/utils.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/utils.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/packaging/version.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/version.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/packaging/version.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/packaging/version.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/pyparsing.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/pyparsing.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/pyparsing.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/pyparsing.py diff --git a/pype/vendor/python/python_2/pkg_resources/_vendor/six.py b/openpype/vendor/python/python_2/pkg_resources/_vendor/six.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/_vendor/six.py rename to openpype/vendor/python/python_2/pkg_resources/_vendor/six.py diff --git a/pype/vendor/python/python_2/pkg_resources/extern/__init__.py b/openpype/vendor/python/python_2/pkg_resources/extern/__init__.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/extern/__init__.py rename to openpype/vendor/python/python_2/pkg_resources/extern/__init__.py diff --git a/pype/vendor/python/python_2/pkg_resources/py2_warn.py b/openpype/vendor/python/python_2/pkg_resources/py2_warn.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/py2_warn.py rename to openpype/vendor/python/python_2/pkg_resources/py2_warn.py diff --git a/pype/vendor/python/python_2/pkg_resources/py31compat.py b/openpype/vendor/python/python_2/pkg_resources/py31compat.py similarity index 100% rename from pype/vendor/python/python_2/pkg_resources/py31compat.py rename to openpype/vendor/python/python_2/pkg_resources/py31compat.py diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/INSTALLER b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/INSTALLER similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/INSTALLER rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/INSTALLER diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/LICENSE b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/LICENSE similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/LICENSE rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/LICENSE diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/METADATA b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/METADATA similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/METADATA rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/METADATA diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/RECORD b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/RECORD similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/RECORD rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/RECORD diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/REQUESTED b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/REQUESTED similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/REQUESTED rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/REQUESTED diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/WHEEL b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/WHEEL similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/WHEEL rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/WHEEL diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/dependency_links.txt b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/dependency_links.txt similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/dependency_links.txt rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/dependency_links.txt diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/entry_points.txt b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/entry_points.txt similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/entry_points.txt rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/entry_points.txt diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/top_level.txt b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/top_level.txt similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/top_level.txt rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/top_level.txt diff --git a/pype/vendor/python/python_2/setuptools-45.0.0.dist-info/zip-safe b/openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/zip-safe similarity index 100% rename from pype/vendor/python/python_2/setuptools-45.0.0.dist-info/zip-safe rename to openpype/vendor/python/python_2/setuptools-45.0.0.dist-info/zip-safe diff --git a/pype/vendor/python/python_2/setuptools/__init__.py b/openpype/vendor/python/python_2/setuptools/__init__.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/__init__.py rename to openpype/vendor/python/python_2/setuptools/__init__.py diff --git a/pype/vendor/python/python_2/setuptools/_deprecation_warning.py b/openpype/vendor/python/python_2/setuptools/_deprecation_warning.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_deprecation_warning.py rename to openpype/vendor/python/python_2/setuptools/_deprecation_warning.py diff --git a/pype/vendor/python/python_2/setuptools/_imp.py b/openpype/vendor/python/python_2/setuptools/_imp.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_imp.py rename to openpype/vendor/python/python_2/setuptools/_imp.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/__init__.py b/openpype/vendor/python/python_2/setuptools/_vendor/__init__.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/__init__.py rename to openpype/vendor/python/python_2/setuptools/_vendor/__init__.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/ordered_set.py b/openpype/vendor/python/python_2/setuptools/_vendor/ordered_set.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/ordered_set.py rename to openpype/vendor/python/python_2/setuptools/_vendor/ordered_set.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/__about__.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/__about__.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/__about__.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/__about__.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/__init__.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/__init__.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/__init__.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/__init__.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/_compat.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/_compat.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/_compat.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/_compat.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/_structures.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/_structures.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/_structures.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/_structures.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/markers.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/markers.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/markers.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/markers.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/requirements.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/requirements.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/requirements.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/requirements.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/specifiers.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/specifiers.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/specifiers.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/specifiers.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/tags.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/tags.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/tags.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/tags.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/utils.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/utils.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/utils.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/utils.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/packaging/version.py b/openpype/vendor/python/python_2/setuptools/_vendor/packaging/version.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/packaging/version.py rename to openpype/vendor/python/python_2/setuptools/_vendor/packaging/version.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/pyparsing.py b/openpype/vendor/python/python_2/setuptools/_vendor/pyparsing.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/pyparsing.py rename to openpype/vendor/python/python_2/setuptools/_vendor/pyparsing.py diff --git a/pype/vendor/python/python_2/setuptools/_vendor/six.py b/openpype/vendor/python/python_2/setuptools/_vendor/six.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/_vendor/six.py rename to openpype/vendor/python/python_2/setuptools/_vendor/six.py diff --git a/pype/vendor/python/python_2/setuptools/archive_util.py b/openpype/vendor/python/python_2/setuptools/archive_util.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/archive_util.py rename to openpype/vendor/python/python_2/setuptools/archive_util.py diff --git a/pype/vendor/python/python_2/setuptools/build_meta.py b/openpype/vendor/python/python_2/setuptools/build_meta.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/build_meta.py rename to openpype/vendor/python/python_2/setuptools/build_meta.py diff --git a/pype/vendor/python/python_2/setuptools/cli-32.exe b/openpype/vendor/python/python_2/setuptools/cli-32.exe similarity index 100% rename from pype/vendor/python/python_2/setuptools/cli-32.exe rename to openpype/vendor/python/python_2/setuptools/cli-32.exe diff --git a/pype/vendor/python/python_2/setuptools/cli-64.exe b/openpype/vendor/python/python_2/setuptools/cli-64.exe similarity index 100% rename from pype/vendor/python/python_2/setuptools/cli-64.exe rename to openpype/vendor/python/python_2/setuptools/cli-64.exe diff --git a/pype/vendor/python/python_2/setuptools/cli.exe b/openpype/vendor/python/python_2/setuptools/cli.exe similarity index 100% rename from pype/vendor/python/python_2/setuptools/cli.exe rename to openpype/vendor/python/python_2/setuptools/cli.exe diff --git a/pype/vendor/python/python_2/setuptools/command/__init__.py b/openpype/vendor/python/python_2/setuptools/command/__init__.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/__init__.py rename to openpype/vendor/python/python_2/setuptools/command/__init__.py diff --git a/pype/vendor/python/python_2/setuptools/command/alias.py b/openpype/vendor/python/python_2/setuptools/command/alias.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/alias.py rename to openpype/vendor/python/python_2/setuptools/command/alias.py diff --git a/pype/vendor/python/python_2/setuptools/command/bdist_egg.py b/openpype/vendor/python/python_2/setuptools/command/bdist_egg.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/bdist_egg.py rename to openpype/vendor/python/python_2/setuptools/command/bdist_egg.py diff --git a/pype/vendor/python/python_2/setuptools/command/bdist_rpm.py b/openpype/vendor/python/python_2/setuptools/command/bdist_rpm.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/bdist_rpm.py rename to openpype/vendor/python/python_2/setuptools/command/bdist_rpm.py diff --git a/pype/vendor/python/python_2/setuptools/command/bdist_wininst.py b/openpype/vendor/python/python_2/setuptools/command/bdist_wininst.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/bdist_wininst.py rename to openpype/vendor/python/python_2/setuptools/command/bdist_wininst.py diff --git a/pype/vendor/python/python_2/setuptools/command/build_clib.py b/openpype/vendor/python/python_2/setuptools/command/build_clib.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/build_clib.py rename to openpype/vendor/python/python_2/setuptools/command/build_clib.py diff --git a/pype/vendor/python/python_2/setuptools/command/build_ext.py b/openpype/vendor/python/python_2/setuptools/command/build_ext.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/build_ext.py rename to openpype/vendor/python/python_2/setuptools/command/build_ext.py diff --git a/pype/vendor/python/python_2/setuptools/command/build_py.py b/openpype/vendor/python/python_2/setuptools/command/build_py.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/build_py.py rename to openpype/vendor/python/python_2/setuptools/command/build_py.py diff --git a/pype/vendor/python/python_2/setuptools/command/develop.py b/openpype/vendor/python/python_2/setuptools/command/develop.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/develop.py rename to openpype/vendor/python/python_2/setuptools/command/develop.py diff --git a/pype/vendor/python/python_2/setuptools/command/dist_info.py b/openpype/vendor/python/python_2/setuptools/command/dist_info.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/dist_info.py rename to openpype/vendor/python/python_2/setuptools/command/dist_info.py diff --git a/pype/vendor/python/python_2/setuptools/command/easy_install.py b/openpype/vendor/python/python_2/setuptools/command/easy_install.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/easy_install.py rename to openpype/vendor/python/python_2/setuptools/command/easy_install.py diff --git a/pype/vendor/python/python_2/setuptools/command/egg_info.py b/openpype/vendor/python/python_2/setuptools/command/egg_info.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/egg_info.py rename to openpype/vendor/python/python_2/setuptools/command/egg_info.py diff --git a/pype/vendor/python/python_2/setuptools/command/install.py b/openpype/vendor/python/python_2/setuptools/command/install.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/install.py rename to openpype/vendor/python/python_2/setuptools/command/install.py diff --git a/pype/vendor/python/python_2/setuptools/command/install_egg_info.py b/openpype/vendor/python/python_2/setuptools/command/install_egg_info.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/install_egg_info.py rename to openpype/vendor/python/python_2/setuptools/command/install_egg_info.py diff --git a/pype/vendor/python/python_2/setuptools/command/install_lib.py b/openpype/vendor/python/python_2/setuptools/command/install_lib.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/install_lib.py rename to openpype/vendor/python/python_2/setuptools/command/install_lib.py diff --git a/pype/vendor/python/python_2/setuptools/command/install_scripts.py b/openpype/vendor/python/python_2/setuptools/command/install_scripts.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/install_scripts.py rename to openpype/vendor/python/python_2/setuptools/command/install_scripts.py diff --git a/pype/vendor/python/python_2/setuptools/command/launcher manifest.xml b/openpype/vendor/python/python_2/setuptools/command/launcher manifest.xml similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/launcher manifest.xml rename to openpype/vendor/python/python_2/setuptools/command/launcher manifest.xml diff --git a/pype/vendor/python/python_2/setuptools/command/py36compat.py b/openpype/vendor/python/python_2/setuptools/command/py36compat.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/py36compat.py rename to openpype/vendor/python/python_2/setuptools/command/py36compat.py diff --git a/pype/vendor/python/python_2/setuptools/command/register.py b/openpype/vendor/python/python_2/setuptools/command/register.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/register.py rename to openpype/vendor/python/python_2/setuptools/command/register.py diff --git a/pype/vendor/python/python_2/setuptools/command/rotate.py b/openpype/vendor/python/python_2/setuptools/command/rotate.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/rotate.py rename to openpype/vendor/python/python_2/setuptools/command/rotate.py diff --git a/pype/vendor/python/python_2/setuptools/command/saveopts.py b/openpype/vendor/python/python_2/setuptools/command/saveopts.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/saveopts.py rename to openpype/vendor/python/python_2/setuptools/command/saveopts.py diff --git a/pype/vendor/python/python_2/setuptools/command/sdist.py b/openpype/vendor/python/python_2/setuptools/command/sdist.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/sdist.py rename to openpype/vendor/python/python_2/setuptools/command/sdist.py diff --git a/pype/vendor/python/python_2/setuptools/command/setopt.py b/openpype/vendor/python/python_2/setuptools/command/setopt.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/setopt.py rename to openpype/vendor/python/python_2/setuptools/command/setopt.py diff --git a/pype/vendor/python/python_2/setuptools/command/test.py b/openpype/vendor/python/python_2/setuptools/command/test.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/test.py rename to openpype/vendor/python/python_2/setuptools/command/test.py diff --git a/pype/vendor/python/python_2/setuptools/command/upload.py b/openpype/vendor/python/python_2/setuptools/command/upload.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/upload.py rename to openpype/vendor/python/python_2/setuptools/command/upload.py diff --git a/pype/vendor/python/python_2/setuptools/command/upload_docs.py b/openpype/vendor/python/python_2/setuptools/command/upload_docs.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/command/upload_docs.py rename to openpype/vendor/python/python_2/setuptools/command/upload_docs.py diff --git a/pype/vendor/python/python_2/setuptools/config.py b/openpype/vendor/python/python_2/setuptools/config.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/config.py rename to openpype/vendor/python/python_2/setuptools/config.py diff --git a/pype/vendor/python/python_2/setuptools/dep_util.py b/openpype/vendor/python/python_2/setuptools/dep_util.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/dep_util.py rename to openpype/vendor/python/python_2/setuptools/dep_util.py diff --git a/pype/vendor/python/python_2/setuptools/depends.py b/openpype/vendor/python/python_2/setuptools/depends.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/depends.py rename to openpype/vendor/python/python_2/setuptools/depends.py diff --git a/pype/vendor/python/python_2/setuptools/dist.py b/openpype/vendor/python/python_2/setuptools/dist.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/dist.py rename to openpype/vendor/python/python_2/setuptools/dist.py diff --git a/pype/vendor/python/python_2/setuptools/errors.py b/openpype/vendor/python/python_2/setuptools/errors.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/errors.py rename to openpype/vendor/python/python_2/setuptools/errors.py diff --git a/pype/vendor/python/python_2/setuptools/extension.py b/openpype/vendor/python/python_2/setuptools/extension.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/extension.py rename to openpype/vendor/python/python_2/setuptools/extension.py diff --git a/pype/vendor/python/python_2/setuptools/extern/__init__.py b/openpype/vendor/python/python_2/setuptools/extern/__init__.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/extern/__init__.py rename to openpype/vendor/python/python_2/setuptools/extern/__init__.py diff --git a/pype/vendor/python/python_2/setuptools/glob.py b/openpype/vendor/python/python_2/setuptools/glob.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/glob.py rename to openpype/vendor/python/python_2/setuptools/glob.py diff --git a/pype/vendor/python/python_2/setuptools/gui-32.exe b/openpype/vendor/python/python_2/setuptools/gui-32.exe similarity index 100% rename from pype/vendor/python/python_2/setuptools/gui-32.exe rename to openpype/vendor/python/python_2/setuptools/gui-32.exe diff --git a/pype/vendor/python/python_2/setuptools/gui-64.exe b/openpype/vendor/python/python_2/setuptools/gui-64.exe similarity index 100% rename from pype/vendor/python/python_2/setuptools/gui-64.exe rename to openpype/vendor/python/python_2/setuptools/gui-64.exe diff --git a/pype/vendor/python/python_2/setuptools/gui.exe b/openpype/vendor/python/python_2/setuptools/gui.exe similarity index 100% rename from pype/vendor/python/python_2/setuptools/gui.exe rename to openpype/vendor/python/python_2/setuptools/gui.exe diff --git a/pype/vendor/python/python_2/setuptools/installer.py b/openpype/vendor/python/python_2/setuptools/installer.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/installer.py rename to openpype/vendor/python/python_2/setuptools/installer.py diff --git a/pype/vendor/python/python_2/setuptools/launch.py b/openpype/vendor/python/python_2/setuptools/launch.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/launch.py rename to openpype/vendor/python/python_2/setuptools/launch.py diff --git a/pype/vendor/python/python_2/setuptools/lib2to3_ex.py b/openpype/vendor/python/python_2/setuptools/lib2to3_ex.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/lib2to3_ex.py rename to openpype/vendor/python/python_2/setuptools/lib2to3_ex.py diff --git a/pype/vendor/python/python_2/setuptools/monkey.py b/openpype/vendor/python/python_2/setuptools/monkey.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/monkey.py rename to openpype/vendor/python/python_2/setuptools/monkey.py diff --git a/pype/vendor/python/python_2/setuptools/msvc.py b/openpype/vendor/python/python_2/setuptools/msvc.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/msvc.py rename to openpype/vendor/python/python_2/setuptools/msvc.py diff --git a/pype/vendor/python/python_2/setuptools/namespaces.py b/openpype/vendor/python/python_2/setuptools/namespaces.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/namespaces.py rename to openpype/vendor/python/python_2/setuptools/namespaces.py diff --git a/pype/vendor/python/python_2/setuptools/package_index.py b/openpype/vendor/python/python_2/setuptools/package_index.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/package_index.py rename to openpype/vendor/python/python_2/setuptools/package_index.py diff --git a/pype/vendor/python/python_2/setuptools/py27compat.py b/openpype/vendor/python/python_2/setuptools/py27compat.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/py27compat.py rename to openpype/vendor/python/python_2/setuptools/py27compat.py diff --git a/pype/vendor/python/python_2/setuptools/py31compat.py b/openpype/vendor/python/python_2/setuptools/py31compat.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/py31compat.py rename to openpype/vendor/python/python_2/setuptools/py31compat.py diff --git a/pype/vendor/python/python_2/setuptools/py33compat.py b/openpype/vendor/python/python_2/setuptools/py33compat.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/py33compat.py rename to openpype/vendor/python/python_2/setuptools/py33compat.py diff --git a/pype/vendor/python/python_2/setuptools/py34compat.py b/openpype/vendor/python/python_2/setuptools/py34compat.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/py34compat.py rename to openpype/vendor/python/python_2/setuptools/py34compat.py diff --git a/pype/vendor/python/python_2/setuptools/sandbox.py b/openpype/vendor/python/python_2/setuptools/sandbox.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/sandbox.py rename to openpype/vendor/python/python_2/setuptools/sandbox.py diff --git a/pype/vendor/python/python_2/setuptools/script (dev).tmpl b/openpype/vendor/python/python_2/setuptools/script (dev).tmpl similarity index 100% rename from pype/vendor/python/python_2/setuptools/script (dev).tmpl rename to openpype/vendor/python/python_2/setuptools/script (dev).tmpl diff --git a/pype/vendor/python/python_2/setuptools/script.tmpl b/openpype/vendor/python/python_2/setuptools/script.tmpl similarity index 100% rename from pype/vendor/python/python_2/setuptools/script.tmpl rename to openpype/vendor/python/python_2/setuptools/script.tmpl diff --git a/pype/vendor/python/python_2/setuptools/site-patch.py b/openpype/vendor/python/python_2/setuptools/site-patch.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/site-patch.py rename to openpype/vendor/python/python_2/setuptools/site-patch.py diff --git a/pype/vendor/python/python_2/setuptools/ssl_support.py b/openpype/vendor/python/python_2/setuptools/ssl_support.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/ssl_support.py rename to openpype/vendor/python/python_2/setuptools/ssl_support.py diff --git a/pype/vendor/python/python_2/setuptools/unicode_utils.py b/openpype/vendor/python/python_2/setuptools/unicode_utils.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/unicode_utils.py rename to openpype/vendor/python/python_2/setuptools/unicode_utils.py diff --git a/pype/vendor/python/python_2/setuptools/version.py b/openpype/vendor/python/python_2/setuptools/version.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/version.py rename to openpype/vendor/python/python_2/setuptools/version.py diff --git a/pype/vendor/python/python_2/setuptools/wheel.py b/openpype/vendor/python/python_2/setuptools/wheel.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/wheel.py rename to openpype/vendor/python/python_2/setuptools/wheel.py diff --git a/pype/vendor/python/python_2/setuptools/windows_support.py b/openpype/vendor/python/python_2/setuptools/windows_support.py similarity index 100% rename from pype/vendor/python/python_2/setuptools/windows_support.py rename to openpype/vendor/python/python_2/setuptools/windows_support.py diff --git a/pype/vendor/python/python_3/README.md b/openpype/vendor/python/python_3/README.md similarity index 100% rename from pype/vendor/python/python_3/README.md rename to openpype/vendor/python/python_3/README.md diff --git a/pype/version.py b/openpype/version.py similarity index 100% rename from pype/version.py rename to openpype/version.py diff --git a/pype/widgets/__init__.py b/openpype/widgets/__init__.py similarity index 100% rename from pype/widgets/__init__.py rename to openpype/widgets/__init__.py diff --git a/pype/widgets/message_window.py b/openpype/widgets/message_window.py similarity index 100% rename from pype/widgets/message_window.py rename to openpype/widgets/message_window.py diff --git a/pype/widgets/popup.py b/openpype/widgets/popup.py similarity index 100% rename from pype/widgets/popup.py rename to openpype/widgets/popup.py diff --git a/pype/widgets/project_settings.py b/openpype/widgets/project_settings.py similarity index 100% rename from pype/widgets/project_settings.py rename to openpype/widgets/project_settings.py diff --git a/pype/hosts/blender/startup/init.py b/pype/hosts/blender/startup/init.py deleted file mode 100644 index 75fe4d30f7..0000000000 --- a/pype/hosts/blender/startup/init.py +++ /dev/null @@ -1,3 +0,0 @@ -from pype.hosts.blender import api - -api.install() diff --git a/pype/tests/test_lib_restructuralization.py b/pype/tests/test_lib_restructuralization.py deleted file mode 100644 index 840baff5e6..0000000000 --- a/pype/tests/test_lib_restructuralization.py +++ /dev/null @@ -1,35 +0,0 @@ -# Test for backward compatibility of restructure of lib.py into lib library -# Contains simple imports that should still work - - -def test_backward_compatibility(printer): - printer("Test if imports still work") - try: - from pype.lib import filter_pyblish_plugins - from pype.lib import execute_hook - from pype.lib import PypeHook - - from pype.lib import get_latest_version - from pype.lib import ApplicationLaunchFailed - - from pype.lib import get_ffmpeg_tool_path - from pype.lib import get_last_version_from_path - from pype.lib import get_paths_from_environ - from pype.lib import get_version_from_path - from pype.lib import version_up - - from pype.lib import is_latest - from pype.lib import any_outdated - from pype.lib import get_asset - from pype.lib import get_hierarchy - from pype.lib import get_linked_assets - from pype.lib import get_latest_version - from pype.lib import ffprobe_streams - - from pype.hosts.fusion.lib import switch_item - - from pype.lib import source_hash - from pype.lib import run_subprocess - - except ImportError as e: - raise