diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..b9edbfe --- /dev/null +++ b/install.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +INSTALL_DIR=$HOME/.local/lib/simple-tts + +echo "Installing to: $INSTALL_DIR" + +git clone https://git.ayo.run/ayo/simple-tts $INSTALL_DIR +python3 -m venv $INSTALL_DIR/.venv + +# activate environment +. $INSTALL_DIR/.venv/bin/activate + +python -m pip install -r $INSTALL_DIR/requirements.txt + +# deactivate environment +deactivate diff --git a/scripts/install.sh b/scripts/install.sh deleted file mode 100644 index 64ff595..0000000 --- a/scripts/install.sh +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh - -echo "Installing..." diff --git a/tts.py b/tts.py index 039bf6d..00f0a0c 100755 --- a/tts.py +++ b/tts.py @@ -1,4 +1,4 @@ -#! /home/ayo/Projects/simple-tts/.venv/bin/python +#! $HOME/.local/bin/simple-tts/.venv/bin/python ## TODO # - [ ] lower resolution output by default so bluetooth headsets do not struggle