|
1 | | -from setuptools import find_packages |
2 | 1 | from setuptools import setup |
3 | | - |
4 | | -with open('README.md') as f: |
5 | | - long_description = f.read() |
6 | | - |
7 | | -setup( |
8 | | - name='pre_commit', |
9 | | - description=( |
10 | | - 'A framework for managing and maintaining multi-language pre-commit ' |
11 | | - 'hooks.' |
12 | | - ), |
13 | | - long_description=long_description, |
14 | | - long_description_content_type='text/markdown', |
15 | | - url='https://github.com/pre-commit/pre-commit', |
16 | | - version='1.14.4', |
17 | | - author='Anthony Sottile', |
18 | | - |
19 | | - classifiers=[ |
20 | | - 'License :: OSI Approved :: MIT License', |
21 | | - 'Programming Language :: Python :: 2', |
22 | | - 'Programming Language :: Python :: 2.7', |
23 | | - 'Programming Language :: Python :: 3', |
24 | | - 'Programming Language :: Python :: 3.6', |
25 | | - 'Programming Language :: Python :: 3.7', |
26 | | - 'Programming Language :: Python :: Implementation :: CPython', |
27 | | - 'Programming Language :: Python :: Implementation :: PyPy', |
28 | | - ], |
29 | | - packages=find_packages(exclude=('tests*', 'testing*')), |
30 | | - package_data={ |
31 | | - 'pre_commit.resources': [ |
32 | | - '*.tar.gz', |
33 | | - 'empty_template_*', |
34 | | - 'hook-tmpl', |
35 | | - ], |
36 | | - }, |
37 | | - install_requires=[ |
38 | | - 'aspy.yaml', |
39 | | - 'cfgv>=1.4.0', |
40 | | - 'identify>=1.0.0', |
41 | | - # if this makes it into python3.8 move to extras_require |
42 | | - 'importlib-metadata', |
43 | | - 'nodeenv>=0.11.1', |
44 | | - 'pyyaml', |
45 | | - 'six', |
46 | | - 'toml', |
47 | | - 'virtualenv>=15.2', |
48 | | - ], |
49 | | - extras_require={ |
50 | | - ':python_version<"3.2"': ['futures'], |
51 | | - ':python_version<"3.7"': ['importlib-resources'], |
52 | | - }, |
53 | | - entry_points={ |
54 | | - 'console_scripts': [ |
55 | | - 'pre-commit = pre_commit.main:main', |
56 | | - 'pre-commit-validate-config = pre_commit.clientlib:validate_config_main', # noqa |
57 | | - 'pre-commit-validate-manifest = pre_commit.clientlib:validate_manifest_main', # noqa |
58 | | - ], |
59 | | - }, |
60 | | -) |
| 2 | +setup() |
0 commit comments