mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 11:05:25 +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
|
from setuptools import setup, find_packages
|
||||||
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
pkg_name = "qobuz-dl"
|
pkg_name = "qobuz-dl"
|
||||||
@ -10,12 +11,12 @@ def read_file(fname):
|
|||||||
|
|
||||||
|
|
||||||
requirements = read_file("requirements.txt").strip().split()
|
requirements = read_file("requirements.txt").strip().split()
|
||||||
if os.name == "nt":
|
if os.name == "nt" or "win" in sys.platform:
|
||||||
requirements.append("windows-curses")
|
requirements.append("windows-curses")
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=pkg_name,
|
name=pkg_name,
|
||||||
version="0.5.2",
|
version="0.5.3",
|
||||||
author="Vitiko",
|
author="Vitiko",
|
||||||
author_email="vhnz98@gmail.com",
|
author_email="vhnz98@gmail.com",
|
||||||
description="The complete Lossless and Hi-Res music downloader for Qobuz",
|
description="The complete Lossless and Hi-Res music downloader for Qobuz",
|
||||||
|
Loading…
Reference in New Issue
Block a user