Skip to content

Commit aabbc22

Browse files
committed
Add tests/0-pythonscript-init
1 parent 9f9353b commit aabbc22

File tree

7 files changed

+46
-1
lines changed

7 files changed

+46
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
res://pythonscript.gdextension
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extends Node
2+
3+
func _ready():
4+
# Exit godot
5+
self.get_tree().quit()
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[gd_scene load_steps=2 format=3 uid="uid://2mikyvxkygni"]
2+
3+
[ext_resource type="Script" path="res://main.gd" id="1_2fqr4"]
4+
5+
[node name="Node" type="Node"]
6+
script = ExtResource( "1_2fqr4" )
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
; Engine configuration file.
2+
; It's best edited using the editor UI and not directly,
3+
; since the parameters that go here are not all obvious.
4+
;
5+
; Format:
6+
; [section] ; section goes between []
7+
; param=value ; assign values to parameters
8+
9+
config_version=5
10+
11+
[application]
12+
13+
run/main_scene="res://main.tscn"
14+
config/features=PackedStringArray("4.0")
15+
name="TestProject"
16+
main_scene="res://main.tscn"
17+
18+
[python_script]
19+
20+
io_streams_capture=false
21+
verbose=true
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[configuration]
2+
3+
entry_symbol = "pythonscript_init"
4+
5+
[libraries]
6+
7+
linux.64="res://addons/pythonscript/linux-x86_64/libpythonscript.so"
8+
linux.32="res://addons/pythonscript/linux-x86/libpythonscript.so"
9+
windows.64="res://addons/pythonscript/windows-x86_64/pythonscript.dll"
10+
windows.32="res://addons/pythonscript/windows-x86/pythonscript.dll"
11+
macos.64="res://addons/pythonscript/macos-x86_64/libpythonscript.dylib"

β€Žtests/1-cython-access-gdextension/project.godotβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ config_version=5
1212

1313
run/main_scene="res://main.tscn"
1414
config/features=PackedStringArray("4.0")
15-
name="1-gdextension"
15+
name="TestProject"
1616
main_scene="res://main.tscn"
1717

1818
[python_script]

0 commit comments

Comments
Β (0)