diff --git a/install.sh b/install.sh index 03f1a5d..777d5cb 100644 --- a/install.sh +++ b/install.sh @@ -13,19 +13,15 @@ echo "Removing old installation if they exist" rm -rf $INSTALL_DIR/simple-tts rm $EXECUTABLE_BIN/tts -echo "Installing to: $INSTALL_DIR" - echo "Downloading simple-tts.tgz" curl --fail --show-error --location --progress-bar \ -o $TEMP_DIR/simple-tts.tgz "$DOWNLOAD_URL" - tar -xzf $TEMP_DIR/simple-tts.tgz -C "$INSTALL_DIR" -python3 -m venv $INSTALL_DIR/simple-tts/.venv - # activate environment +echo "Installing to: $INSTALL_DIR/simple-tts" +python3 -m venv $INSTALL_DIR/simple-tts/.venv . $INSTALL_DIR/simple-tts/.venv/bin/activate - python -m pip install -r $INSTALL_DIR/simple-tts/requirements.txt # deactivate environment