mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fixed imports
This commit is contained in:
parent
4996c18480
commit
3cb36982ce
27 changed files with 34 additions and 34 deletions
|
|
@ -128,7 +128,7 @@ class CollectInstances(pyblish.api.ContextPlugin):
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from ayon_core.pipeline import publish
|
from ayon_core.pipeline import publish
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class ExtractImage(publish.Extractor):
|
class ExtractImage(publish.Extractor):
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ workfile or others.
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop.api.lib import main as host_main
|
from ayon_photoshop.api.lib import main as host_main
|
||||||
|
|
||||||
# Get current file to locate start point of sys.argv
|
# Get current file to locate start point of sys.argv
|
||||||
CURRENT_FILE = os.path.abspath(__file__)
|
CURRENT_FILE = os.path.abspath(__file__)
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ def safe_excepthook(*args):
|
||||||
|
|
||||||
|
|
||||||
def main(*subprocess_args):
|
def main(*subprocess_args):
|
||||||
from ayon_core.hosts.photoshop.api import PhotoshopHost
|
from ayon_photoshop.api import PhotoshopHost
|
||||||
|
|
||||||
host = PhotoshopHost()
|
host = PhotoshopHost()
|
||||||
install_host(host)
|
install_host(host)
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@ from ayon_core.host import (
|
||||||
)
|
)
|
||||||
|
|
||||||
from ayon_core.pipeline.load import any_outdated_containers
|
from ayon_core.pipeline.load import any_outdated_containers
|
||||||
from ayon_core.hosts.photoshop import PHOTOSHOP_ADDON_ROOT
|
|
||||||
from ayon_core.tools.utils import get_ayon_qt_app
|
from ayon_core.tools.utils import get_ayon_qt_app
|
||||||
|
from ayon_photoshop import PHOTOSHOP_ADDON_ROOT
|
||||||
|
|
||||||
from . import lib
|
from . import lib
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@ import re
|
||||||
|
|
||||||
import ayon_api
|
import ayon_api
|
||||||
|
|
||||||
import ayon_core.hosts.photoshop.api as api
|
|
||||||
from ayon_core.lib import prepare_template_data
|
from ayon_core.lib import prepare_template_data
|
||||||
from ayon_core.pipeline import (
|
from ayon_core.pipeline import (
|
||||||
AutoCreator,
|
AutoCreator,
|
||||||
CreatedInstance
|
CreatedInstance
|
||||||
)
|
)
|
||||||
from ayon_core.hosts.photoshop.api.pipeline import cache_and_get_instances
|
from ayon_photoshop import api
|
||||||
|
from ayon_photoshop.api.pipeline import cache_and_get_instances
|
||||||
|
|
||||||
|
|
||||||
class PSAutoCreator(AutoCreator):
|
class PSAutoCreator(AutoCreator):
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import ayon_api
|
import ayon_api
|
||||||
|
|
||||||
import ayon_core.hosts.photoshop.api as api
|
from ayon_photoshop import api
|
||||||
from ayon_core.hosts.photoshop.lib import PSAutoCreator, clean_product_name
|
from ayon_photoshop.lib import PSAutoCreator, clean_product_name
|
||||||
from ayon_core.lib import BoolDef, prepare_template_data
|
from ayon_core.lib import BoolDef, prepare_template_data
|
||||||
from ayon_core.pipeline.create import get_product_name, CreatedInstance
|
from ayon_core.pipeline.create import get_product_name, CreatedInstance
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api
|
|
||||||
from ayon_core.lib import BoolDef
|
from ayon_core.lib import BoolDef
|
||||||
from ayon_core.pipeline import (
|
from ayon_core.pipeline import (
|
||||||
Creator,
|
Creator,
|
||||||
|
|
@ -9,8 +8,9 @@ from ayon_core.pipeline import (
|
||||||
)
|
)
|
||||||
from ayon_core.lib import prepare_template_data
|
from ayon_core.lib import prepare_template_data
|
||||||
from ayon_core.pipeline.create import PRODUCT_NAME_ALLOWED_SYMBOLS
|
from ayon_core.pipeline.create import PRODUCT_NAME_ALLOWED_SYMBOLS
|
||||||
from ayon_core.hosts.photoshop.api.pipeline import cache_and_get_instances
|
from ayon_photoshop import api
|
||||||
from ayon_core.hosts.photoshop.lib import clean_product_name
|
from ayon_photoshop.api.pipeline import cache_and_get_instances
|
||||||
|
from ayon_photoshop.lib import clean_product_name
|
||||||
|
|
||||||
|
|
||||||
class ImageCreator(Creator):
|
class ImageCreator(Creator):
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
from ayon_core.hosts.photoshop.lib import PSAutoCreator
|
from ayon_photoshop.lib import PSAutoCreator
|
||||||
|
|
||||||
|
|
||||||
class ReviewCreator(PSAutoCreator):
|
class ReviewCreator(PSAutoCreator):
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
from ayon_core.hosts.photoshop.lib import PSAutoCreator
|
from ayon_photoshop.lib import PSAutoCreator
|
||||||
|
|
||||||
|
|
||||||
class WorkfileCreator(PSAutoCreator):
|
class WorkfileCreator(PSAutoCreator):
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from ayon_core.pipeline import get_representation_path
|
from ayon_core.pipeline import get_representation_path
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
from ayon_core.hosts.photoshop.api import get_unique_layer_name
|
from ayon_photoshop.api import get_unique_layer_name
|
||||||
|
|
||||||
|
|
||||||
class ImageLoader(photoshop.PhotoshopLoader):
|
class ImageLoader(photoshop.PhotoshopLoader):
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@ import os
|
||||||
|
|
||||||
import qargparse
|
import qargparse
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
from ayon_core.hosts.photoshop.api import get_unique_layer_name
|
from ayon_photoshop.api import get_unique_layer_name
|
||||||
|
|
||||||
|
|
||||||
class ImageFromSequenceLoader(photoshop.PhotoshopLoader):
|
class ImageFromSequenceLoader(photoshop.PhotoshopLoader):
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from ayon_core.pipeline import get_representation_path
|
from ayon_core.pipeline import get_representation_path
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
from ayon_core.hosts.photoshop.api import get_unique_layer_name
|
from ayon_photoshop.api import get_unique_layer_name
|
||||||
|
|
||||||
|
|
||||||
class ReferenceLoader(photoshop.PhotoshopLoader):
|
class ReferenceLoader(photoshop.PhotoshopLoader):
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"""Close PS after publish. For Webpublishing only."""
|
"""Close PS after publish. For Webpublishing only."""
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class ClosePS(pyblish.api.ContextPlugin):
|
class ClosePS(pyblish.api.ContextPlugin):
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
from ayon_core.pipeline.create import get_product_name
|
from ayon_core.pipeline.create import get_product_name
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class CollectAutoImageRefresh(pyblish.api.ContextPlugin):
|
class CollectAutoImageRefresh(pyblish.api.ContextPlugin):
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ Provides:
|
||||||
"""
|
"""
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
from ayon_core.pipeline.create import get_product_name
|
from ayon_core.pipeline.create import get_product_name
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
from ayon_core.pipeline.create import get_product_name
|
from ayon_core.pipeline.create import get_product_name
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import re
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.lib import prepare_template_data, is_in_tests
|
from ayon_core.lib import prepare_template_data, is_in_tests
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
|
||||||
from ayon_core.settings import get_project_settings
|
from ayon_core.settings import get_project_settings
|
||||||
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class CollectColorCodedInstances(pyblish.api.ContextPlugin):
|
class CollectColorCodedInstances(pyblish.api.ContextPlugin):
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import os
|
||||||
|
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class CollectCurrentFile(pyblish.api.ContextPlugin):
|
class CollectCurrentFile(pyblish.api.ContextPlugin):
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import os
|
||||||
import re
|
import re
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class CollectExtensionVersion(pyblish.api.ContextPlugin):
|
class CollectExtensionVersion(pyblish.api.ContextPlugin):
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api
|
from ayon_photoshop import api
|
||||||
|
|
||||||
|
|
||||||
class CollectImage(pyblish.api.InstancePlugin):
|
class CollectImage(pyblish.api.InstancePlugin):
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import os
|
||||||
|
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
from ayon_core.pipeline import publish
|
from ayon_core.pipeline import publish
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class ExtractImage(pyblish.api.ContextPlugin):
|
class ExtractImage(pyblish.api.ContextPlugin):
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ from ayon_core.lib import (
|
||||||
get_ffmpeg_tool_args,
|
get_ffmpeg_tool_args,
|
||||||
)
|
)
|
||||||
from ayon_core.pipeline import publish
|
from ayon_core.pipeline import publish
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class ExtractReview(publish.Extractor):
|
class ExtractReview(publish.Extractor):
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
from ayon_core.pipeline import publish
|
from ayon_core.pipeline import publish
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class ExtractSaveScene(publish.Extractor):
|
class ExtractSaveScene(publish.Extractor):
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import pyblish.api
|
||||||
from ayon_core.pipeline.publish import get_errored_plugins_from_context
|
from ayon_core.pipeline.publish import get_errored_plugins_from_context
|
||||||
from ayon_core.lib import version_up
|
from ayon_core.lib import version_up
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class IncrementWorkfile(pyblish.api.InstancePlugin):
|
class IncrementWorkfile(pyblish.api.InstancePlugin):
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ from ayon_core.pipeline.publish import (
|
||||||
PublishXmlValidationError,
|
PublishXmlValidationError,
|
||||||
OptionalPyblishPluginMixin
|
OptionalPyblishPluginMixin
|
||||||
)
|
)
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
|
|
||||||
|
|
||||||
class ValidateInstanceFolderRepair(pyblish.api.Action):
|
class ValidateInstanceFolderRepair(pyblish.api.Action):
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import re
|
||||||
|
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
|
|
||||||
from ayon_core.hosts.photoshop import api as photoshop
|
from ayon_photoshop import api as photoshop
|
||||||
from ayon_core.pipeline.create import PRODUCT_NAME_ALLOWED_SYMBOLS
|
from ayon_core.pipeline.create import PRODUCT_NAME_ALLOWED_SYMBOLS
|
||||||
from ayon_core.pipeline.publish import (
|
from ayon_core.pipeline.publish import (
|
||||||
ValidateContentsOrder,
|
ValidateContentsOrder,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue