From fd71893ea9662c5254f6edc52aae255d9160b6e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Wed, 2 Mar 2022 18:00:29 +0100 Subject: [PATCH] Add missing deps for CI tests --- .compute | 16 ---------------- .github/workflows/text_tests.yml | 2 ++ .github/workflows/tts_tests.yml | 2 ++ setup.py | 6 ++---- 4 files changed, 6 insertions(+), 20 deletions(-) delete mode 100644 .compute diff --git a/.compute b/.compute deleted file mode 100644 index 9786a689..00000000 --- a/.compute +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -yes | apt-get install sox -yes | apt-get install ffmpeg -yes | apt-get install tmux -yes | apt-get install zsh -sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" -pip3 install https://download.pytorch.org/whl/cu100/torch-1.3.0%2Bcu100-cp36-cp36m-linux_x86_64.whl -sudo sh install.sh -# pip install pytorch==1.7.0+cu100 -# python3 setup.py develop -# python3 distribute.py --config_path config.json --data_path /data/ro/shared/data/keithito/LJSpeech-1.1/ -# cp -R ${USER_DIR}/Mozilla_22050 ../tmp/ -# python3 distribute.py --config_path config_tacotron_gst.json --data_path ../tmp/Mozilla_22050/ -# python3 distribute.py --config_path config.json --data_path /data/rw/home/LibriTTS/train-clean-360 -# python3 distribute.py --config_path config.json -while true; do sleep 1000000; done diff --git a/.github/workflows/text_tests.yml b/.github/workflows/text_tests.yml index 6056cf6b..e06a25ad 100644 --- a/.github/workflows/text_tests.yml +++ b/.github/workflows/text_tests.yml @@ -35,6 +35,8 @@ jobs: run: | sudo apt-get update sudo apt-get install -y --no-install-recommends git make gcc + sudo apt-get install espeak + sudo apt-get install espeak-ng make system-deps - name: Install/upgrade Python setup deps run: python3 -m pip install --upgrade pip setuptools wheel diff --git a/.github/workflows/tts_tests.yml b/.github/workflows/tts_tests.yml index e352a117..0a5891ee 100644 --- a/.github/workflows/tts_tests.yml +++ b/.github/workflows/tts_tests.yml @@ -35,6 +35,8 @@ jobs: run: | sudo apt-get update sudo apt-get install -y --no-install-recommends git make gcc + sudo apt-get install espeak + sudo apt-get install espeak-ng make system-deps - name: Install/upgrade Python setup deps run: python3 -m pip install --upgrade pip setuptools wheel diff --git a/setup.py b/setup.py index 1d4dbf1c..96173fec 100644 --- a/setup.py +++ b/setup.py @@ -9,8 +9,8 @@ # ,+++*. . .*++, ,++*. .*+++* # *+, .,*++**. .**++**. ,+* # .+* *+, -# *+. .+* -# *+* +++ +++ *+* +# *+. Coqui .+* +# *+* +++ TTS +++ *+* # .+++*. . . *+++. # ,+* *+++*... ...*+++* *+, # .++. .""""+++++++****+++++++"""". ++. @@ -35,8 +35,6 @@ if LooseVersion(sys.version) < LooseVersion("3.6") or LooseVersion(sys.version) raise RuntimeError("TTS requires python >= 3.6 and <=3.10 " "but your Python version is {}".format(sys.version)) -cwd = os.path.dirname(os.path.abspath(__file__)) - cwd = os.path.dirname(os.path.abspath(__file__)) with open(os.path.join(cwd, "TTS", "VERSION")) as fin: version = fin.read().strip()