mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
12 lines
No EOL
414 B
Text
12 lines
No EOL
414 B
Text
-- OpenPype Init Script
|
|
(
|
|
local sysPath = dotNetClass "System.IO.Path"
|
|
local sysDir = dotNetClass "System.IO.Directory"
|
|
local localScript = getThisScriptFilename()
|
|
local startup = sysPath.Combine (sysPath.GetDirectoryName localScript) "startup.py"
|
|
|
|
local pythonpath = systemTools.getEnvVariable "MAX_PYTHONPATH"
|
|
systemTools.setEnvVariable "PYTHONPATH" pythonpath
|
|
|
|
python.ExecuteFile startup
|
|
) |