aboutsummaryrefslogtreecommitdiff
path: root/community/godot/files/pythonpath
diff options
context:
space:
mode:
Diffstat (limited to 'community/godot/files/pythonpath')
-rwxr-xr-xcommunity/godot/files/pythonpath6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/godot/files/pythonpath b/community/godot/files/pythonpath
new file mode 100755
index 00000000..f3718ca7
--- /dev/null
+++ b/community/godot/files/pythonpath
@@ -0,0 +1,6 @@
+#!/usr/bin/python3
+import os
+import sys
+
+print("%s/scons/dist/usr/lib/python%d.%d/site-packages:%s"
+ % (os.getcwd(), sys.version_info.major, sys.version_info.minor, ':'.join(sys.path)))