[Docs] Add `CITATION.cff` (#428)

* Add CITATION.cff

* Fix typo in setup.py

* Change author in setup.py
pull/433/head
Ma Zerun 2021-09-01 17:07:27 +08:00 committed by GitHub
parent 0d0b1f5f92
commit 729c6c1192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

9
CITATION.cff 100644
View File

@ -0,0 +1,9 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "OpenMMLab's Image Classification Toolbox and Benchmark"
authors:
- name: "MMClassification Contributors"
version: 0.15.0
date-released: 2020-07-09
repository-code: "https://github.com/open-mmlab/mmclassification"
license: Apache-2.0

View File

@ -95,7 +95,7 @@ def parse_requirements(fname='requirements.txt', with_version=True):
return packages
def add_mim_extention():
def add_mim_extension():
"""Add extra files that are required to support MIM into the package.
These files will be added by creating a symlink to the originals if the
@ -144,14 +144,14 @@ def add_mim_extention():
if __name__ == '__main__':
add_mim_extention()
add_mim_extension()
setup(
name='mmcls',
version=get_version(),
description='OpenMMLab Image Classification Toolbox and Benchmark',
long_description=readme(),
long_description_content_type='text/markdown',
author='OpenMMLab',
author='MMClassification Contributors',
author_email='openmmlab@gmail.com',
keywords='computer vision, image classification',
url='https://github.com/open-mmlab/mmclassification',