Merge branch 'feature/new_publisher_core' of github.com:pypeclub/pype into feature/new_publisher_core

This commit is contained in:
iLLiCiTiT 2021-10-20 10:22:57 +02:00
commit eacee0e015
132 changed files with 2782 additions and 1262 deletions

View file

@ -1,5 +1,4 @@
import pyblish.api
from avalon import io
from openpype.pipeline import (
OpenPypePyblishPluginMixin,

View file

@ -1,6 +1,6 @@
import os
import sys
openpype_dir = ""
mongo_url = ""
project_name = ""
asset_name = ""
@ -9,9 +9,6 @@ ftrack_url = ""
ftrack_username = ""
ftrack_api_key = ""
host_name = "testhost"
current_file = os.path.abspath(__file__)
def multi_dirname(path, times=1):
for _ in range(times):
@ -19,8 +16,12 @@ def multi_dirname(path, times=1):
return path
host_name = "testhost"
current_file = os.path.abspath(__file__)
openpype_dir = multi_dirname(current_file, 4)
os.environ["OPENPYPE_MONGO"] = mongo_url
os.environ["OPENPYPE_ROOT"] = multi_dirname(current_file, 4)
os.environ["OPENPYPE_ROOT"] = openpype_dir
os.environ["AVALON_MONGO"] = mongo_url
os.environ["AVALON_PROJECT"] = project_name
os.environ["AVALON_ASSET"] = asset_name
@ -42,7 +43,7 @@ for path in [
from Qt import QtWidgets, QtCore
from openpype.tools.new_publisher.window import PublisherWindow
from openpype.tools.publisher.window import PublisherWindow
def main():