From b5f607c059f3317c53510b75feb37847c08db8df Mon Sep 17 00:00:00 2001 From: fangyixiao18 Date: Wed, 12 Jan 2022 16:59:12 +0800 Subject: [PATCH] [Fix] Deprecate the support for "python setup.py test" --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3b800a28c..e5c2531fe 100644 --- a/setup.py +++ b/setup.py @@ -183,6 +183,9 @@ def add_mim_extension(): 'Programming Language :: Python :: 3.9', ], license='Apache License 2.0', - tests_require=parse_requirements('requirements/tests.txt'), install_requires=parse_requirements('requirements/runtime.txt'), + extras_require={ + 'all': parse_requirements('requirements.txt'), + 'tests': parse_requirements('requirements/tests.txt'), + }, zip_safe=False)