From 1a4e4f64e2c2fd1067da1f72bc8049684459e08b Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Thu, 16 Mar 2023 00:44:54 -0400 Subject: [PATCH] Use requirements.txt in setup.py --- setup.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py index a789286..51a6508 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,10 @@ with open(path.join(here, "CHANGELOG.md")) as f: history = f.read() +# Get list of deps from the requirements file +with open(path.join(here, "requirements.txt")) as f: + requirements = f.read().strip().replace("\r", "").split("\n") + setup( name="ffmpeg-normalize", version=version, @@ -32,17 +36,12 @@ package_data={ "ffmpeg_normalize": ["py.typed"], }, - install_requires=[ - "tqdm>=4.64.1", - "colorama>=0.4.6", - "ffmpeg-progress-yield>=0.5.0", - "colorlog==6.7.0", - ], + install_requires=requirements, license="MIT", zip_safe=False, keywords="ffmpeg, normalize, audio", classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Sound/Audio :: Analysis",