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