diff --git a/requirements.txt b/requirements.txt index 5f83ee6..9d20fd7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,4 +9,5 @@ rich;python_version>='3.6' six srt>=3.0.0 tqdm -webrtcvad +webrtcvad;platform_system!='Windows' +webrtcvad-wheels;platform_system=='Windows' diff --git a/setup.py b/setup.py index 23365d9..da158ee 100644 --- a/setup.py +++ b/setup.py @@ -21,9 +21,6 @@ def read_file(fname): history = read_file('HISTORY.rst') requirements = read_file('requirements.txt').strip().split() -if platform.system() == 'Windows': - requirements.remove('webrtcvad') - requirements.append('webrtcvad-wheels') setup( name=pkg_name, version=__version__,