-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (27 loc) · 1.02 KB
/
setup.py
File metadata and controls
31 lines (27 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from setuptools import find_packages, setup # type: ignore
def readme():
with open('./README.md', encoding='utf-8') as f:
content = f.read()
return content
setup(
name='pre_commit_hooks',
version='0.4.1',
description='A pre-commit hook for OpenMMLab projects',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/open-mmlab/pre-commit-hooks',
author='OpenMMLab Authors',
author_email='openmmlab@gmail.com',
packages=find_packages(),
python_requires='>=3.6',
install_requires=['PyYAML'],
entry_points={
'console_scripts': [
'say-hello=pre_commit_hooks.say_hello:main',
'check-algo-readme=pre_commit_hooks.check_algo_readme:main',
'check-copyright=pre_commit_hooks.check_copyright:main',
'check-ecosystem-validity=pre_commit_hooks.check_ecosystem_validity:main', # noqa: E501
'remove-eol-characters=pre_commit_hooks.remove_eol_characters:main'
],
},
)