Skip to content

Commit cab2897

Browse files
package require gid_cross_platform
1 parent 4c7f4a6 commit cab2897

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kratos.gid/scripts/Launch.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
proc Kratos::InstallAllPythonDependencies { } {
3+
package require gid_cross_platform
34

45
if { $::tcl_platform(platform) == "windows" } { set os win } {set os unix}
56
set dir [lindex [Kratos::GetLaunchConfigurationFile] 0]
@@ -8,7 +9,6 @@ proc Kratos::InstallAllPythonDependencies { } {
89
set python_version [pythonVersion $py]
910
if { $python_version <= 0 || [GidUtils::TwoVersionsCmp $python_version "3.9.0"] <0 } {
1011
::GidUtils::SetWarnLine "Installing python"
11-
package require gid_cross_platform
1212
if {$os eq "win"} {
1313
gid_cross_platform::run_as_administrator [file join $::Kratos::kratos_private(Path) exec install_python_and_dependencies.win.bat ] $dir
1414
} {

0 commit comments

Comments
 (0)