feat: install script
This commit is contained in:
parent
489a78257a
commit
3c59d5c840
3 changed files with 17 additions and 4 deletions
16
install.sh
Normal file
16
install.sh
Normal file
|
|
@ -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
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
echo "Installing..."
|
|
||||||
2
tts.py
2
tts.py
|
|
@ -1,4 +1,4 @@
|
||||||
#! /home/ayo/Projects/simple-tts/.venv/bin/python
|
#! $HOME/.local/bin/simple-tts/.venv/bin/python
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
# - [ ] lower resolution output by default so bluetooth headsets do not struggle
|
# - [ ] lower resolution output by default so bluetooth headsets do not struggle
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue