mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-12-22 15:24:40 +01:00
Handle windows-curses dependency on Windows
This commit is contained in:
parent
227253e208
commit
ab2bd94ddc
5
setup.py
5
setup.py
@ -1,4 +1,5 @@
|
||||
from setuptools import setup, find_packages
|
||||
import sys
|
||||
import os
|
||||
|
||||
pkg_name = "qobuz-dl"
|
||||
@ -10,12 +11,12 @@ def read_file(fname):
|
||||
|
||||
|
||||
requirements = read_file("requirements.txt").strip().split()
|
||||
if os.name == "nt":
|
||||
if os.name == "nt" or "win" in sys.platform:
|
||||
requirements.append("windows-curses")
|
||||
|
||||
setup(
|
||||
name=pkg_name,
|
||||
version="0.5.2",
|
||||
version="0.5.3",
|
||||
author="Vitiko",
|
||||
author_email="vhnz98@gmail.com",
|
||||
description="The complete Lossless and Hi-Res music downloader for Qobuz",
|
||||
|
Loading…
Reference in New Issue
Block a user