mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
remove PYPE_MODULE_ROOT traces
This commit is contained in:
parent
ba2eaf31ab
commit
21dd9cbf56
3 changed files with 4 additions and 12 deletions
|
|
@ -814,9 +814,9 @@ class ExtractBurnin(pype.api.Extractor):
|
||||||
"""Return path to python script for burnin processing."""
|
"""Return path to python script for burnin processing."""
|
||||||
# TODO maybe convert to Plugin's attribute
|
# TODO maybe convert to Plugin's attribute
|
||||||
# Get script path.
|
# 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.
|
# we just take first one.
|
||||||
if os.pathsep in module_path:
|
if os.pathsep in module_path:
|
||||||
module_path = module_path.split(os.pathsep)[0]
|
module_path = module_path.split(os.pathsep)[0]
|
||||||
|
|
|
||||||
|
|
@ -138,8 +138,8 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"PYTHONPATH": [
|
"PYTHONPATH": [
|
||||||
"{PYPE_MODULE_ROOT}/repos/avalon-core/setup/maya",
|
"{PYPE_REPOS_ROOT}/avalon-core/setup/maya",
|
||||||
"{PYPE_MODULE_ROOT}/repos/maya-look-assigner",
|
"{PYPE_REPOS_ROOT}/maya-look-assigner",
|
||||||
"{PYTHON_ENV}/python2/Lib/site-packages",
|
"{PYTHON_ENV}/python2/Lib/site-packages",
|
||||||
"{PYTHONPATH}"
|
"{PYTHONPATH}"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
8
start.py
8
start.py
|
|
@ -501,14 +501,6 @@ def boot():
|
||||||
# or to `pype` or `pype_console` in case of frozen code
|
# or to `pype` or `pype_console` in case of frozen code
|
||||||
os.environ["PYPE_EXECUTABLE"] = sys.executable
|
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):
|
if getattr(sys, 'frozen', False):
|
||||||
os.environ["PYPE_REPOS_ROOT"] = os.environ["PYPE_ROOT"]
|
os.environ["PYPE_REPOS_ROOT"] = os.environ["PYPE_ROOT"]
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue