forked from pre-commit/pre-commit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
58 lines (56 loc) · 1.84 KB
/
setup.py
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
from setuptools import find_packages
from setuptools import setup
with open('README.md') as f:
long_description = f.read()
setup(
name='pre_commit',
description=(
'A framework for managing and maintaining multi-language pre-commit '
'hooks.'
),
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/pre-commit/pre-commit',
version='1.12.0',
author='Anthony Sottile',
author_email='asottile@umich.edu',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
packages=find_packages(exclude=('tests*', 'testing*')),
package_data={
'pre_commit.resources': [
'*.tar.gz',
'empty_template_*',
'hook-tmpl',
],
},
install_requires=[
'aspy.yaml',
'cached-property',
'cfgv>=1.0.0',
'identify>=1.0.0',
# if this makes it into python3.8 move to extras_require
'importlib-metadata',
'nodeenv>=0.11.1',
'pyyaml',
'six',
'toml',
'virtualenv',
],
extras_require={':python_version<"3.7"': ['importlib-resources']},
entry_points={
'console_scripts': [
'pre-commit = pre_commit.main:main',
'pre-commit-validate-config = pre_commit.clientlib:validate_config_main', # noqa
'pre-commit-validate-manifest = pre_commit.clientlib:validate_manifest_main', # noqa
],
},
)