22 lines
482 B
GDScript3
22 lines
482 B
GDScript3
|
extends Node
|
||
|
|
||
|
func _ready():
|
||
|
var bw : KiriPythonBuildWrangler = KiriPythonBuildWrangler.new()
|
||
|
|
||
|
bw._unpack_python()
|
||
|
|
||
|
##_unpack_python()
|
||
|
#print(_get_runtime_python_executable_godot_path())
|
||
|
#print(ProjectSettings.globalize_path(_get_runtime_python_executable_godot_path()))
|
||
|
#
|
||
|
var out = []
|
||
|
var ret = OS.execute(
|
||
|
ProjectSettings.globalize_path(bw._get_runtime_python_executable_godot_path()),
|
||
|
["--version"], out, true)
|
||
|
|
||
|
print("Ret: ", ret)
|
||
|
print("Out: ", out)
|
||
|
|
||
|
pass
|
||
|
|