mirror of
https://github.com/pre-commit/pre-commit.git
synced 2025-12-31 14:00:06 -06:00
28 lines
707 B
Python
28 lines
707 B
Python
from setuptools import find_packages
|
|
from setuptools import setup
|
|
|
|
setup(
|
|
name='pre_commit',
|
|
version='0.0.0',
|
|
packages=find_packages('.', exclude=('tests*', 'testing*')),
|
|
package_data={
|
|
'pre_commit': [
|
|
'resources/pre-commit.sh'
|
|
]
|
|
},
|
|
install_requires=[
|
|
'argparse',
|
|
'jsonschema',
|
|
'plumbum',
|
|
'pyyaml',
|
|
'simplejson',
|
|
],
|
|
entry_points={
|
|
'console_scripts': [
|
|
'pre-commit = pre_commit.entry_points:pre_commit_func',
|
|
'validate-config = pre_commit.entry_points:validate_config_func',
|
|
'validate-manifest = pre_commit.entry_points:validate_manifest_func',
|
|
],
|
|
}
|
|
)
|