Skip to content

Commit

Permalink
add basic launcher script for keyboard client
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicFrog authored and hanyazou committed Sep 22, 2018
1 parent e304514 commit 2813d91
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/keyboard_and_video.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# n.b requires pygame
# ports 9000, 9617, 6038 -- 6038 is used for video stream, not sure about others

PYTHON="${PYTHON:=python3}"
#mkdir -p ~/Pictures/
PYSITE="$("$PYTHON" -m site --user-site)"
mkdir -p "$PYSITE"
cd "$(dirname "$(readlink -f $0)")"
ln -sf "$(pwd)/tellopy" "$PYSITE/"
python3 tellopy/examples/keyboard_and_video.py

0 comments on commit 2813d91

Please sign in to comment.