mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 04:20:28 -06:00
47 lines
1.3 KiB
Python
47 lines
1.3 KiB
Python
from setuptools import find_packages
|
|
from setuptools import setup
|
|
|
|
|
|
setup(
|
|
name='pre_commit',
|
|
description='A framework for managing and maintaining multi-language pre-commit hooks.',
|
|
url='https://github.com/pre-commit/pre-commit',
|
|
version='0.0.0',
|
|
|
|
author='Anthony Sottile',
|
|
author_email='asottile@umich.edu',
|
|
|
|
platforms='linux',
|
|
classifiers=[
|
|
'License :: Public Domain',
|
|
'Programming Language :: Python :: 2.6',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3.3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: Implementation :: PyPy',
|
|
],
|
|
|
|
packages=find_packages('.', exclude=('tests*', 'testing*')),
|
|
package_data={
|
|
'pre_commit': [
|
|
'resources/pre-commit.sh'
|
|
]
|
|
},
|
|
install_requires=[
|
|
'argparse',
|
|
'asottile.ordereddict',
|
|
'asottile.yaml',
|
|
'jsonschema',
|
|
'plumbum',
|
|
'pyyaml',
|
|
'simplejson',
|
|
],
|
|
entry_points={
|
|
'console_scripts': [
|
|
'pre-commit = pre_commit.run:run',
|
|
'validate-config = pre_commit.clientlib.validate_config:run',
|
|
'validate-manifest = pre_commit.clientlib.validate_manifest:run',
|
|
],
|
|
},
|
|
)
|