add openpype_root to pythonpath

This commit is contained in:
Milan Kolar 2021-04-07 15:31:59 +02:00
parent 16d4e9f0c7
commit d1a55e3923

View file

@ -326,6 +326,7 @@ def _initialize_environment(openpype_version: OpenPypeVersion) -> None:
# TODO move additional paths to `boot` part when OPENPYPE_ROOT will point
# to same hierarchy from code and from frozen OpenPype
additional_paths = [
os.environ["OPENPYPE_ROOT"],
# add OpenPype tools
os.path.join(os.environ["OPENPYPE_ROOT"], "openpype", "tools"),
# add common OpenPype vendor