[Refactor] Deprecate the support for "python setup.py test" (#646)

* Deprecate the support for "python setup.py test"

* Update requirements
pull/671/head
Ma Zerun 2022-01-25 12:15:12 +08:00 committed by GitHub
parent d56170a734
commit a865d64208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View File

@ -1,2 +1,2 @@
albumentations>=0.3.2 --no-binary imgaug,albumentations
albumentations>=0.3.2
requests

View File

@ -163,10 +163,7 @@ if __name__ == '__main__':
description='OpenMMLab Image Classification Toolbox and Benchmark',
long_description=readme(),
long_description_content_type='text/markdown',
author='MMClassification Contributors',
author_email='openmmlab@gmail.com',
keywords='computer vision, image classification',
url='https://github.com/open-mmlab/mmclassification',
packages=find_packages(exclude=('configs', 'tools', 'demo')),
include_package_data=True,
classifiers=[
@ -179,8 +176,16 @@ if __name__ == '__main__':
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
url='https://github.com/open-mmlab/mmclassification',
author='MMClassification Contributors',
author_email='openmmlab@gmail.com',
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'),
'optional': parse_requirements('requirements/optional.txt'),
},
zip_safe=False)