Fill paths from PYTHONPATH env variable to sys.path.
Additional info
Values from PYTHONPATH are not automatically propagated to sys.path. The paths are appended. All paths that are required by AYON launcher are always inserted to beginning of the list so the change should not cause any issues,
Testing notes:
At first place it does not break any AYON launcher process like tray etc.
It should be possible to run script with custom module available only via PYTHONPATH (ayon_console.exe --skip-bootstrap /path/to/script.py).
Changelog Description
Fill paths from
PYTHONPATH
env variable tosys.path
.Additional info
Values from
PYTHONPATH
are not automatically propagated tosys.path
. The paths are appended. All paths that are required by AYON launcher are always inserted to beginning of the list so the change should not cause any issues,Testing notes:
ayon_console.exe --skip-bootstrap /path/to/script.py
).