mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Bring the PATH setting back
This commit is contained in:
parent
cd7b1d92f8
commit
8b6feb38ab
1 changed files with 9 additions and 0 deletions
|
|
@ -84,6 +84,15 @@ class ResolvePrelaunch(PreLaunchHook):
|
|||
|
||||
self.log.debug(f"PYTHONPATH: {self.launch_context.env['PYTHONPATH']}")
|
||||
|
||||
# add to the python path to PATH
|
||||
env_path = self.launch_context.env["PATH"]
|
||||
self.log.info(f"Adding `{python3_home_str}` to the PATH variable")
|
||||
self.launch_context.env[
|
||||
"PATH"
|
||||
] = f"{python3_home_str}{os.pathsep}{env_path}"
|
||||
|
||||
self.log.debug(f"PATH: {self.launch_context.env['PATH']}")
|
||||
|
||||
resolve_utility_scripts_dirs = {
|
||||
"windows": (
|
||||
f"{programdata}/Blackmagic Design"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue