From 45f439ad32fdfa8182056da49c748e34f4d18a36 Mon Sep 17 00:00:00 2001 From: zxcd <228587199@qq.com> Date: Mon, 3 Mar 2025 15:29:50 +0800 Subject: [PATCH] mv audiotools requirement to setup.py (#3999) --- paddlespeech/audiotools/requirements.txt | 5 ----- setup.py | 5 +++++ tests/unit/ci.sh | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 paddlespeech/audiotools/requirements.txt diff --git a/paddlespeech/audiotools/requirements.txt b/paddlespeech/audiotools/requirements.txt deleted file mode 100644 index 0a018002e..000000000 --- a/paddlespeech/audiotools/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -ffmpeg-python -ffmpy -flatten_dict -pyloudnorm -rich \ No newline at end of file diff --git a/setup.py b/setup.py index 8039d9245..47e543ce4 100644 --- a/setup.py +++ b/setup.py @@ -123,6 +123,11 @@ base = [ "scikit-learn", "pathos", "kaldiio", + "ffmpeg-python", + "ffmpy", + "flatten_dict", + "pyloudnorm", + "rich", ] server = ["pattern_singleton", "websockets"] diff --git a/tests/unit/ci.sh b/tests/unit/ci.sh index 567af2210..c298e3ae8 100644 --- a/tests/unit/ci.sh +++ b/tests/unit/ci.sh @@ -1,7 +1,6 @@ function main(){ set -ex speech_ci_path=`pwd` - python -m pip install -r ../../paddlespeech/audiotools/requirements.txt echo "Start asr" cd ${speech_ci_path}/asr