don't look for repos directory in add_paths_from_directory

This commit is contained in:
Jakub Trllo 2022-04-22 11:30:40 +02:00
parent db10343a29
commit 38d93c1b46
2 changed files with 2 additions and 17 deletions

View file

@ -824,6 +824,7 @@ def _bootstrap_from_code(use_version, use_staging):
os.environ["OPENPYPE_REPOS_ROOT"] = _openpype_root
# add self to sys.path of current process
# NOTE: this seems to be duplicate of 'add_paths_from_directory'
sys.path.insert(0, _openpype_root)
# add venv 'site-packages' to PYTHONPATH
python_path = os.getenv("PYTHONPATH", "")