You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c1392fb
Browse filesBrowse the repository at this point in the historyBrowse files
ikrima
committed
Ryan changes to make Python plugin independent of system installation
System.Console.WriteLine("WARNING: Unable to copy python dlls, they are probably in use...");
186
+
}
174
187
}
175
188
elseif(Target.Platform==UnrealTargetPlatform.Mac)
176
189
{
@@ -217,6 +230,15 @@ public UnrealEnginePython(TargetInfo Target)
217
230
218
231
}
219
232
233
+
privateboolIsPathRelative(stringPath)
234
+
{
235
+
boolIsRooted=Path.StartsWith("\\",System.StringComparison.Ordinal)||// Root of the current directory on Windows. Also covers "\\" for UNC or "network" paths.
236
+
Path.StartsWith("/",System.StringComparison.Ordinal)||// Root of the current directory on Windows, root on UNIX-likes.
237
+
// Also covers "\\", considering normalization replaces "\\" with "//".
238
+
(Path.Length>=2&&char.IsLetter(Path[0])&&Path[1]==':');// Starts with "<DriveLetter>:"
System.Console.WriteLine("[WARNING] Your Python installation is not in the system PATH environment variable, very probably the plugin will fail to load");
359
+
System.Console.WriteLine("[WARNING] Your Python installation is not in the system PATH environment variable.");
360
+
System.Console.WriteLine("[WARNING] Ensure your python paths are set in GlobalConfig (DefaultEngine.ini) so the path can be corrected at runtime.");
0 commit comments