diff --git a/README.md b/README.md index 7745f91..6515e3a 100644 --- a/README.md +++ b/README.md @@ -18,24 +18,13 @@ A scriptable stream downloader for Qobuz, Tidal, Deezer and SoundCloud. ## Installation -First, ensure [pip](https://pip.pypa.io/en/stable/installing/) is installed. Then run the following in the command line: - - - -macOS/Linux: +First, ensure [Python](https://www.python.org/downloads/) and [pip](https://pip.pypa.io/en/stable/installing/) are installed. Then run the following in the command line: ```bash -pip3 install streamrip simple-term-menu --upgrade +pip3 install streamrip --upgrade ``` -Windows: - -```bash -pip3 install streamrip windows-curses --upgrade -``` - - -If you would like to use `streamrip`'s conversion capabilities, download TIDAL videos, or download music from SoundCloud, install [ffmpeg](https://ffmpeg.org/download.html). +If you would like to use `streamrip`'s conversion capabilities, download TIDAL videos, or download music from SoundCloud, install [ffmpeg](https://ffmpeg.org/download.html). To download music from YouTube, install [youtube-dl](https://github.com/ytdl-org/youtube-dl#installation). ## Example Usage diff --git a/requirements.txt b/requirements.txt index 55ddf35..b69ee73 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,3 @@ pathvalidate requests mutagen tqdm -pycryptodome -pick -colorama diff --git a/setup.py b/setup.py index 6444eec..6ca589e 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,15 @@ def read_file(fname): requirements = read_file("requirements.txt").strip().split() +requirements.append("simple-term-menu; platform_system == 'Linux'") +requirements.append("simple-term-menu; platform_system == 'Darwin'") +requirements.append("pick; platform_system == 'Windows'") +# Needed for pick to work +requirements.append("windows-curses; platform_system == 'Windows'") +# required for click colors +# can be removed when click v8.0 is released +requirements.append("colorama; platform_system == 'Windows'") # https://github.com/pypa/sampleproject/blob/main/setup.py setup(