summarylogtreecommitdiffstats
path: root/wine-python.sh
diff options
context:
space:
mode:
authorMichel Zou2018-07-16 18:53:42 +0200
committerMichel Zou2018-07-16 18:53:42 +0200
commit4432c1ce44445238515afb86d7b272a3465dbcc2 (patch)
tree775e25ee905eabcafd373febf7954eb9c5225a20 /wine-python.sh
parent0fc2365b2c35a05ffeab95f4d345ee61506d8b91 (diff)
downloadaur-4432c1ce44445238515afb86d7b272a3465dbcc2.tar.gz
wine wrapper
Diffstat (limited to 'wine-python.sh')
-rw-r--r--wine-python.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/wine-python.sh b/wine-python.sh
new file mode 100644
index 000000000000..19bb168e7b95
--- /dev/null
+++ b/wine-python.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+export PYTHONHOME=/usr/@TRIPLE@
+export PYTHONPATH=/usr/@TRIPLE@/lib/python@PYVER@
+
+@TRIPLE@-wine /usr/@TRIPLE@/bin/python@PYVER@.exe "$@"