diff --git a/pype/plugins/global/publish/extract_burnin.py b/pype/plugins/global/publish/extract_burnin.py index c14dfba50a..8d1b9c81e3 100644 --- a/pype/plugins/global/publish/extract_burnin.py +++ b/pype/plugins/global/publish/extract_burnin.py @@ -814,9 +814,9 @@ class ExtractBurnin(pype.api.Extractor): """Return path to python script for burnin processing.""" # TODO maybe convert to Plugin's attribute # Get script path. - module_path = os.environ["PYPE_MODULE_ROOT"] + module_path = os.environ["PYPE_ROOT"] - # There can be multiple paths in PYPE_MODULE_ROOT, in which case + # There can be multiple paths in PYPE_ROOT, in which case # we just take first one. if os.pathsep in module_path: module_path = module_path.split(os.pathsep)[0] diff --git a/pype/settings/defaults/system_settings/applications.json b/pype/settings/defaults/system_settings/applications.json index bb0ae7f468..5ad20291cd 100644 --- a/pype/settings/defaults/system_settings/applications.json +++ b/pype/settings/defaults/system_settings/applications.json @@ -138,8 +138,8 @@ ] }, "PYTHONPATH": [ - "{PYPE_MODULE_ROOT}/repos/avalon-core/setup/maya", - "{PYPE_MODULE_ROOT}/repos/maya-look-assigner", + "{PYPE_REPOS_ROOT}/avalon-core/setup/maya", + "{PYPE_REPOS_ROOT}/maya-look-assigner", "{PYTHON_ENV}/python2/Lib/site-packages", "{PYTHONPATH}" ], diff --git a/start.py b/start.py index 53384ff4ef..ad863481ff 100644 --- a/start.py +++ b/start.py @@ -501,14 +501,6 @@ def boot(): # or to `pype` or `pype_console` in case of frozen code os.environ["PYPE_EXECUTABLE"] = sys.executable - # TODO: DEPRECATE remove when `pype-config` dissolves into Pype for good. - # PYPE_MODULE_ROOT should be changed to PYPE_REPOS_ROOT - # This needs to replace environment building in hosts - - # .-=-----------------------=-=. ^ .=-=--------------------------=-. - os.environ["PYPE_MODULE_ROOT"] = os.environ["PYPE_ROOT"] - # -=------------------------=-=. v .=-=--------------------------=-. - if getattr(sys, 'frozen', False): os.environ["PYPE_REPOS_ROOT"] = os.environ["PYPE_ROOT"] else: