mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add vendor directory to sys.path in start.py
This commit is contained in:
parent
25a18e1bc1
commit
64a1839c9d
1 changed files with 4 additions and 0 deletions
4
start.py
4
start.py
|
|
@ -124,6 +124,10 @@ else:
|
|||
paths.append(frozen_libs)
|
||||
os.environ["PYTHONPATH"] = os.pathsep.join(paths)
|
||||
|
||||
# Vendored python modules that must not be in PYTHONPATH environment but
|
||||
# are required for OpenPype processes
|
||||
vendor_python_path = os.path.join(OPENPYPE_ROOT, "vendor", "python")
|
||||
sys.path.insert(0, vendor_python_path)
|
||||
|
||||
import blessed # noqa: E402
|
||||
import certifi # noqa: E402
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue