mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
module relative path
This commit is contained in:
parent
306eddd549
commit
11b3d2cbaf
1 changed files with 2 additions and 1 deletions
|
|
@ -1,11 +1,12 @@
|
|||
import os
|
||||
import openpype.hosts
|
||||
|
||||
|
||||
def add_implementation_envs(env, _app):
|
||||
"""Modify environments to contain all required for implementation."""
|
||||
# Set OPENPYPE_UNREAL_PLUGIN required for Unreal implementation
|
||||
unreal_plugin_path = os.path.join(
|
||||
os.environ["OPENPYPE_ROOT"], "openpype", "hosts",
|
||||
os.path.dirname(os.path.abspath(openpype.hosts.__file__)),
|
||||
"unreal", "integration"
|
||||
)
|
||||
env["OPENPYPE_UNREAL_PLUGIN"] = unreal_plugin_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue