From fcdfdef695f849faacf99231fda8add3697e5e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Prpi=C4=8D?= Date: Wed, 20 Apr 2022 20:11:20 -0400 Subject: [PATCH] Replace deprecated test_requires with extras_require List all dependencies needed to run all stages in tox.ini. --- setup.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c70a024..f890113 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,19 @@ "requests>=2.24.0", ] -test_requires = ["pytest"] +extras_require = { + "dev": [ + "black", + "click-man", + "flake8", + "isort", + "mypy", + "pytest", + "tox", + "types-click", + "types-requests", + ] +} with open("README.md") as f: readme = f.read() @@ -42,7 +54,7 @@ include_package_data=True, packages=["cvelib"], install_requires=requires, - tests_require=test_requires, + extras_require=extras_require, entry_points={ "console_scripts": [ "cve = cvelib.cli:cli",