mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
replaced OPENPYPE_ROOT with OPENPYPE_REPOS_ROOT in code
This commit is contained in:
parent
8d82fd8aa1
commit
95a82eeaf8
4 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ class PrePython2Vendor(PreLaunchHook):
|
|||
def execute(self):
|
||||
# Prepare vendor dir path
|
||||
self.log.info("adding global python 2 vendor")
|
||||
pype_root = os.getenv("OPENPYPE_ROOT")
|
||||
pype_root = os.getenv("OPENPYPE_REPOS_ROOT")
|
||||
python_2_vendor = os.path.join(
|
||||
pype_root,
|
||||
"openpype",
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import site
|
|||
# add Python version specific vendor folder
|
||||
site.addsitedir(
|
||||
os.path.join(
|
||||
os.getenv("OPENPYPE_ROOT", ""),
|
||||
os.getenv("OPENPYPE_REPOS_ROOT", ""),
|
||||
"vendor", "python", "python_{}".format(sys.version[0])))
|
||||
|
||||
from .terminal import Terminal
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ log = Logger().get_logger(__name__)
|
|||
|
||||
def discover_host_vendor_module(module_name):
|
||||
host = os.environ["AVALON_APP"]
|
||||
pype_root = os.environ["OPENPYPE_ROOT"]
|
||||
pype_root = os.environ["OPENPYPE_REPOS_ROOT"]
|
||||
main_module = module_name.split(".")[0]
|
||||
module_path = os.path.join(
|
||||
pype_root, "hosts", host, "vendor", main_module)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ def get_pype_info():
|
|||
"version": get_pype_version(),
|
||||
"version_type": version_type,
|
||||
"executable": executable_args[-1],
|
||||
"pype_root": os.environ["OPENPYPE_ROOT"],
|
||||
"pype_root": os.environ["OPENPYPE_REPOS_ROOT"],
|
||||
"mongo_url": os.environ["OPENPYPE_MONGO"]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue