Skip to content

Commit

Permalink
use webrtcvad-wheels for windows via environment marker in requiremen…
Browse files Browse the repository at this point in the history
…ts.txt
  • Loading branch information
smacke committed Sep 23, 2020
1 parent ce46d91 commit b557afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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'
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__,
Expand Down

0 comments on commit b557afc

Please sign in to comment.