summarylogtreecommitdiffstats
path: root/wine-python.sh
blob: 83601211eb50fbca08b4f899f3b80288b3ea8f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

export PYTHONHOME=/usr/@TRIPLE@

if test -z "${PYTHONPATH}"
then
  export PYTHONPATH=/usr/@TRIPLE@/lib/python@PYVER@
else
  export PYTHONPATH="${PYTHONPATH};/usr/@TRIPLE@/lib/python@PYVER@"
fi

@TRIPLE@-wine /usr/@TRIPLE@/bin/python@PYVER@.exe "$@"