File: run-local.sh

package info (click to toggle)
guake 3.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,712 kB
  • sloc: python: 6,968; xml: 695; makefile: 501; sh: 271
file content (22 lines) | stat: -rwxr-xr-x 362 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

echo "execute Guake GTK3 for developer."

if test "$1" == "-v"; then
	VERBOSE="-v";
fi

VIRTUALENV_PATH=$(pipenv --venv)

source $VIRTUALENV_PATH/bin/activate

bash <<EOF
python 2>/dev/null <<EOC
import gi
EOC
if [ \$? -eq 1 ]; then
    pew toggleglobalsitepackages
fi
PYTHONPATH=. python3 guake/main.py --no-startup-script $VERBOSE
echo "Done"
EOF