Skip to content

Commit

Permalink
[Refactor]Deprecate the support for python setup.py test (#60)
Browse files Browse the repository at this point in the history
* Deprecate the support for ``python setup.py test``

* Update requirements
  • Loading branch information
HIT-cwh committed Jan 27, 2022
1 parent 64ccbc0 commit 0dd407a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements/optional.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
albumentations>=0.3.2 --no-binary imgaug,albumentations
albumentations>=0.3.2
mmdet
mmsegmentation
timm
13 changes: 9 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,7 @@ def add_mim_extension():
description='OpenMMLab Model Compression Toolbox and Benchmark',
long_description=readme(),
long_description_content_type='text/markdown',
author='MMRazor Contributors',
author_email='openmmlab@gmail.com',
keywords='computer vision, model compression',
url='https://github.com/open-mmlab/mmrazor',
packages=find_packages(exclude=('configs', 'tools', 'demo')),
include_package_data=True,
classifiers=[
Expand All @@ -179,8 +176,16 @@ def add_mim_extension():
'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/mmrazor',
author='MMRazor 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)

0 comments on commit 0dd407a

Please sign in to comment.